Skip to content

leafo/gonetclip

Repository files navigation

gonetclip

gonetclip is a single-binary clipboard relay written in Go.

Run it on one machine, then any device on your local network can open the URL, paste clipboard content, and see a shared in-memory feed.

Install

go install github.com/leafo/gonetclip@latest

Run

gonetclip

Default listen address is 0.0.0.0:42817.

Flags:

  • -listen listen address (default 0.0.0.0:42817)
  • -max-request-bytes max request size in bytes (0 means unlimited)
  • -password enable HTTP Basic auth with the provided password

Example:

gonetclip -listen 0.0.0.0:55123

Enable password protection:

gonetclip -password "your-secret"

Features

  • Single binary with embedded web assets (go:embed)
  • Supports pasted plain text, images, and arbitrary files
  • Non-image files are shared as downloadable attachments
  • Live updates over WebSocket
  • In-memory only: everything is deleted when the process exits

Notes

  • This is intentionally open to anyone who can reach the host on your network.
  • Do not expose this service directly to the public internet.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors