📋 TGCLIP
Instantly send clipboard content or text from your computer to Telegram.
A lightweight CLI that moves text, code, links, and commands from your desktop straight to Telegram — built for developers, students, and anyone who lives between a laptop and a phone.
website: tgclip
Table of Contents
- Features
- Installation
- Prerequisites
- Quick Start
- Commands
- Use Cases
- Privacy
- Troubleshooting
- Requirements
- Issues
- License
⚡ Features
| 🚀 | Simple one-time setup |
| 📋 | Send clipboard content instantly |
| ✍️ | Send custom text directly from the terminal |
| 👀 | Clipboard watch mode |
| 💻 | Interactive shell mode |
| ⚙️ | Easy configuration management |
| 🩺 | Built-in diagnostics with doctor |
| 🔄 | Reset configuration anytime |
| 🎨 | Clean, colorful terminal UI powered by Rich |
📦 Installation
Using uv (Recommended)
uv tool install tgclip
Using pip
pip install tgclip
Verify it worked:
tgclip
✅ Prerequisites
| Requirement | Details |
|---|---|
| Telegram account | Any personal account |
| Telegram Bot | Created via @BotFather |
🚀 Quick Start
tgclip init
You'll be prompted for:
① Your name
② Telegram Bot Token
💾 Configuration is stored locally on your machine — nothing is uploaded anywhere else.
🛠 Commands
tgclip init — Initialize
Configure TGCLIP for first-time use.
tgclip send — Send
Send the current clipboard content to Telegram.
tgclip watch — Watch
Continuously monitor the clipboard and auto-send anything newly copied.
Stop with Ctrl + C.
tgclip shell — Shell
Launch an interactive shell for sending multiple messages without restarting the command.
Exit with /exit or Ctrl + C.
tgclip config — Configuration
Display your current configuration.
tgclip doctor — Doctor
Runs a full health check:
- ☑ Configuration
- ☑ Clipboard access
- ☑ Internet connectivity
- ☑ Telegram API access
- ☑ Bot token
- ☑ Chat ID
tgclip reset — Reset
Wipes the current configuration so you can start fresh.
💡 Use Cases
- 🧩 Send code snippets to your phone
- 🔗 Transfer commands between devices
- 📝 Save temporary notes
- 🌐 Share links instantly
- 📤 Move terminal output
- 🔄 Continue work from mobile
🔒 Privacy
TGCLIP talks directly to the Telegram Bot API — nothing else is in the loop.
- ✔ Configuration stays on your local machine
- ✔ No external servers, no telemetry, no middleman
🧰 Troubleshooting
| Problem | Fix |
|---|---|
| Something's not working | tgclip doctor |
| Need to start over | tgclip reset → tgclip init |
| Forgot a command | tgclip --help |
📋 Requirements
- Python 3.10+
- A Telegram Bot
- An internet connection
🐞 Issues
Found a bug or have a feature request? Please open an issue on Github.
📄 License
Released under the MIT License.
Developed by CyberLeafy
TGCLIP — Fast. Simple. Clipboard to Telegram. 📋➡️📱
Metadata
Release files for tgclip 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| tgclip-0.1.1.tar.gz | 10.6 kB | Without provenance | Details for tgclip-0.1.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| tgclip-0.1.1-py3-none-any.whl | Python 3 | none | any | Details for tgclip-0.1.1-py3-none-any.whl |
Total release size: 20.8 kB
Release files / tgclip-0.1.1.tar.gz
| Download URL | tgclip-0.1.1.tar.gz |
|---|---|
| Size | 10.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2f979ff25bef07c85e5117272464f2c6bf09ff16b02b18b6b343ab989bb092f6
|
|
BLAKE2b-256 checksum How to use checksums |
02e3a5fe47e7f2c13692ffa3927135e7782cdb0b426ad56193aad33abcdffea9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.11.19 {"installer":{"name":"uv","version":"0.11.19","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Fedora Linux","version":"44","id":"","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Release files / tgclip-0.1.1-py3-none-any.whl
| Download URL | tgclip-0.1.1-py3-none-any.whl |
|---|---|
| Size | 10.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
94463932cdc10d1ea21386ef0d1abb67d9515bbb1c229c959e85687536740b53
|
|
BLAKE2b-256 checksum How to use checksums |
cc10e440e29c8aca43116f4954296fa2a3f77ec66d107a12a681ac4e259bab7a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.11.19 {"installer":{"name":"uv","version":"0.11.19","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Fedora Linux","version":"44","id":"","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Security for tgclip 0.1.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.