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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file clipbox-0.2.0.tar.gz.
File metadata
- Download URL: clipbox-0.2.0.tar.gz
- Upload date:
- Size: 21.1 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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d50095948d73108f03424e721420d3bcc8f084c58b8d277868d856ab15c3f385
|
|
| MD5 |
c81eb0cf1515b63a475e16dc7949942f
|
|
| BLAKE2b-256 |
355b9121560b490e41b2d7157c4b860594f74705a83cf495c4661cdb1f852e3f
|
File details
Details for the file clipbox-0.2.0-py3-none-any.whl.
File metadata
- Download URL: clipbox-0.2.0-py3-none-any.whl
- Upload date:
- Size: 8.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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
67b894ea7575c96653a1c4b79accf11d674a10dba9e37ffae45aae6e4196c915
|
|
| MD5 |
a7a0a9a0aedfa7638e1b3eae9af96160
|
|
| BLAKE2b-256 |
1b2348a3a95a7ca803c2519b6d05350f91404317076380b6770a1786e1e99d09
|