Skip to main content

Shared clipboard across devices

Project description

clipbox

A self-hosted shared clipboard for copying text between devices on your local network.

Features

  • Named buffers -- create multiple independent text buffers
  • Auto-save -- changes save automatically as you type, with a status indicator
  • Copy button -- one-tap copy on both desktop and mobile
  • curl-friendly -- read, write, and delete buffers from the terminal
  • Mobile-friendly -- responsive UI that works on phones and tablets, installable as a PWA
  • SQLite storage -- persistent, zero-config database stored in the platform-appropriate data directory

Install

Requires Python 3.14+ and uv.

git clone <repo-url> && cd clipbox
uv sync

Usage

clipbox

This starts the server on http://0.0.0.0:8080. Open it in a browser from any device on your network.

Options

clipbox --host 0.0.0.0 --port 8080
Flag Default Description
--host 0.0.0.0 Bind address
-p, --port 8080 Port number

curl

Read a buffer:

curl http://host:8080/my-buffer

Write to a buffer:

curl -X PUT -d 'some text' http://host:8080/my-buffer

Delete a buffer:

curl -X DELETE http://host:8080/my-buffer

Environment variables

Variable Default Description
CLIPBOX_DB (see below) Path to the SQLite database file

Data storage

The database is stored in the platform-appropriate data directory by default:

Platform Path
Linux ~/.local/share/clipbox/clipbox.db
macOS ~/Library/Application Support/clipbox/clipbox.db
Windows %LOCALAPPDATA%\clipbox\clipbox.db

Override with the CLIPBOX_DB environment variable.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

clipbox-0.1.0.tar.gz (20.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

clipbox-0.1.0-py3-none-any.whl (7.4 kB view details)

Uploaded Python 3

File details

Details for the file clipbox-0.1.0.tar.gz.

File metadata

  • Download URL: clipbox-0.1.0.tar.gz
  • Upload date:
  • Size: 20.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.1 {"installer":{"name":"uv","version":"0.11.1","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Bazzite","version":"43","id":"Kinoite","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for clipbox-0.1.0.tar.gz
Algorithm Hash digest
SHA256 858f46f219e8029ff0c753df67ea81874b5ff8b07ced43e889b1b4c6b108b4c6
MD5 f09c781c7ca3b3183cadfe8e55c851a4
BLAKE2b-256 f79c5d61238db10d36a8756f619246475bba6c4909f7547f386142f9cf6f16e9

See more details on using hashes here.

File details

Details for the file clipbox-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: clipbox-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 7.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.1 {"installer":{"name":"uv","version":"0.11.1","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Bazzite","version":"43","id":"Kinoite","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for clipbox-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 26b436519ed260f0a0f1e2ecd406893812387727fbac727ec40388d162348268
MD5 5e9452698a533a1eddd3375b1f047ad6
BLAKE2b-256 83d4c16ccba564ab86f12f92841284e33b99a1f150d0313f43e33f1d886339ae

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page