New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

github.com/trueaniki/shared-clipboard

Package Overview
Dependencies
Alerts
File Explorer
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/trueaniki/shared-clipboard

  • v0.0.0-20240325103155-9769afc74fd8
  • Source
  • Go
  • Socket score

Version published
Created
Source

Shared Clipboard

A CLI tool to share clipboard between devices in local area network

Start the application on multiple devices sharing the same network. Press the combination (by default: CTRL+SHIFT+S) to share the clipboard. Press the combination (by default: CTRL+SHIFT+A) on other device to adopt the clipboard.

Usage

sharedclipboard -n 192.168.0.0/24

Will run the application in foreground mode.

Daemon mode

sharedclipboard start -n 192.168.0.0/24

Will start the application in daemon mode.

sharedclipboard stop

Will stop the application running in daemon mode.

Options

  • --network or -n --- Network to scan for peers running shared clipboard in CIDR format.
  • --conf or -c --- Path to hotkeys config file.

Configuring hotkeys

To set custom hotkeys, create a textfile with contents like folowing:

Share=ctrl+s
Adopt=ctrl+a

Pass the file path to the application using --conf flag:

sharedclipboard start -n 192.168.0.0/24 -c ~/.sharedclipboard.conf

When writing hotkeys, follow the rules of github.com/trueaniki/go-parse-hotkeys. Separator is +.

Init command

Use init command to generate config file at ~/.shared-clipboard.conf:

sharedclipboard init

This will generate file with the following contents:

# Share=Ctrl+Shift+S
# Adopt=Ctrl+Shift+A

You can uncomment the lines and set hotkeys to whatever you want according to github.com/trueaniki/go-parse-hotkeys using + separator.

If you have ~/.shared-clipboard.conf file set up, no need to pass it exteranlly using --conf flag, it will be handled automatically.

FAQs

Package last updated on 25 Mar 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc