Skip to content

janlely/rcap

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

remote copy and paste

tool to share clipboard remotely by http

src/rcap-server.js

written by express

two interfaces /paste and /copy

  • /paste

set clipboard with request.body

  • /copy

send clipboard to response

rcap-cli.sh

-h remote ip

-p remot port

-r receive, get clipboard content from remote host

-s send, send clipboard content to remote host

working with systemctl

[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

About

share clipboard remotely

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published