open source · python cli

Send Clipboard to Telegram Instantly

A fast, lightweight, cross-platform Python CLI that delivers your clipboard directly to Telegram.

features

Everything you need, nothing you don't

tgclip is built to disappear into your workflow — one command, zero friction.

One command, instant delivery

Copy something, run tgclip send, and it's in your Telegram chat in under a second.

Cross-platform support

Runs the same on Linux, macOS, and Windows — no platform-specific setup.

Secure local configuration

Your bot token and chat ID stay on your machine, stored locally — never uploaded anywhere.

Beautiful terminal experience

Rich colors, clear feedback, and helpful errors make every run pleasant to watch.

Lightweight by design

A minimal footprint and near-instant startup — it feels like part of your shell.

Open source, MIT licensed

Free to use, fork, and modify. Built in public, improved by its community.

Rich CLI interface

Sensible subcommands, helpful --help text, and clear exit codes throughout.

Simple setup

Run tgclip init, paste your bot token, and you're sending clips in under a minute.

installation

Install in one line

Pick whichever tool manages your Python packages.

recommended uv
$ uv tool install tgclip
pip
$ pip install tgclip
quick start

Three commands to your first clip

Set up tgclip once, launch the dashboard, and explore ecery command with ease.

~/CyberLeafy — bash
1$ tgclip init
→ enter your name & paste your bot token, tgclip stores them locally
2$ tgclip
→ open the interactive tgclip dashboard
3$ tgclip --help
reference

Command reference

Everything tgclip can do, in one table.

tgclip command reference
Command Description
init Set up tgclip — connect your Telegram bot token.
tgclip Launches the tgclip interactive dashboard.
send Send the current clipboard content to Telegram right now.
watch Monitor the clipboard continuously and send new content as it's copied.
shell start an intractive shell to send multiple messages.
doctor Diagnose your setup — checks config, connectivity, and clipboard access.
reset Clear your saved configuration and start fresh.
--help Show usage, available commands, and flags.
how it works

From your clipboard to your chat

Four steps, no server in between.

Clipboard

you copy text

tgclip

reads & forwards

Bot API

Telegram delivers it

Telegram Chat

message arrives

in action

What it looks like

A calm, readable terminal — even when things go wrong.

tgclip init
$ tgclip init
Bot token: ••••••••••••••••••••
✓ Token verify successfully
✓ Configuration saved successfully
tgclip send
$ tgclip send
Reading clipboard… 128 chars
✓ Send
tgclip doctor
$ tgclip doctor
✓ Config found
✓ Bot token valid
✓ Chat ID valid
✓ Clipboard access OK