Send clipboard content to Telegram instantly.
Project description
๐ 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.
Table of Contents
- Features
- Installation
- Prerequisites
- Quick Start
- Commands
- Workflow
- 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
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.
๐ Workflow
flowchart LR
A[๐ Copy text] --> B[tgclip send]
B --> C[โ๏ธ Telegram]
C --> D[๐ฑ Open on phone]
๐ก 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. ๐โก๏ธ๐ฑ
Project details
Release history Release notifications | RSS feed
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 tgclip-0.1.0.tar.gz.
File metadata
- Download URL: tgclip-0.1.0.tar.gz
- Upload date:
- Size: 10.2 kB
- Tags: Source
- Uploaded using 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}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c10bf5031e40c006136e87dedc9ae50442f961fa92150997635a3b7eb8ce31f6
|
|
| MD5 |
e743f6f71d93a7104780275245a4d8c6
|
|
| BLAKE2b-256 |
2c4a480f2e2d318aa9e4bd665bff17d5ba4b663ee3077bfe26c99215e601bc56
|
File details
Details for the file tgclip-0.1.0-py3-none-any.whl.
File metadata
- Download URL: tgclip-0.1.0-py3-none-any.whl
- Upload date:
- Size: 10.0 kB
- Tags: Python 3
- Uploaded using 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}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7ae26c8ec9a3d579165c0b613e14bbace5394b6ec54b93cd6b3a3ba67112cac7
|
|
| MD5 |
1c4958b3fbd71d92de9a32a8e46783c4
|
|
| BLAKE2b-256 |
1de1a92447666f22af65eb6d6b952e9e7fdbc7e7c7491b057d44b841ebeb17a4
|