tool to share clipboard remotely by http
written by express
two interfaces /paste and /copy
- /paste
set clipboard with request.body
- /copy
send clipboard to response
-h remote ip
-p remot port
-r receive, get clipboard content from remote host
-s send, send clipboard content to remote host
[Unit]
Description=rcap-server
After=network-online.target
Wants=network-online.target
[Service]
Type=simple
User=jay
WorkingDirectory=/home/jay/git/rcap
ExecStart=/home/jay/.nvm/versions/node/v8.11.3/bin/node dist/rcap-server.js
Environment=DISPLAY=:0 #important
StandardOutput=journal
StandardError=journal
[Install]
WantedBy=multi-user.target
Alias=rcap-server.service