Post to Telegram channels and groups directly from your terminal — fast, secure, and developer friendly.
Terminal → Telegram Post in Seconds
Developed by Amit Das
PostOrbit is a lightweight Python CLI tool designed for developers, bot owners, and automation users who want to post messages, images, GIFs, or documents to Telegram channels and groups directly from the terminal.
It supports inline buttons, media uploads, HTML formatting, and admin preview confirmation for safe publishing.
No complex frameworks required — simple, fast, and reliable.
- Post to Telegram channels and groups
- Send text, photo, GIF, or document
- Inline button support (JSON config)
- HTML caption formatting
- Admin preview before posting
- Confirmation prompt for safety
- Supports username, URL, or chat ID
- Lightweight and fast
- No database required
- Python 3.7+
- requests library
Install dependency:
pip install requestsgit clone https://github.com/AmitDas4321/PostOrbit.git
cd PostOrbitBOT_TOKEN = "YOUR_BOT_TOKEN"
ADMIN_ID = YOUR_TELEGRAM_CHAT_USER_IDExample:
📢 <b>Official Announcement</b>
PostOrbit is now live.
Click the button below to view the repository.
Thank you 💙Example:
{
"photo_enable": true,
"photo": "5348285704398963795.png",
"parse_mode": "HTML",
"has_spoiler": false,
"protect_content": false,
"buttons_enable": true,
"button_count": 2,
"buttons": [
{ "text": "View Repository 💻", "style": "success", "url": "https://github.com/AmitDas4321/PostOrbit" },
{ "text": "Join Channel 📢", "style": "primary", "url": "https://t.me/BlueOrbitDevs" }
]
}PostOrbit supports optional button colors using the style field.
Available styles:
| Style | Color | Example |
|---|---|---|
primary |
🔵 Blue | Main action |
success |
🟢 Green | Confirm / Positive action |
danger |
🔴 Red | Warning / Delete |
Example with colors:
{
"buttons": [
{ "text": "View Repository 💻", "style": "success", "url": "https://github.com/AmitDas4321/PostOrbit" },
{ "text": "Join Channel 📢", "style": "primary", "url": "https://t.me/BlueOrbitDevs" }
]
}If you don't want colored buttons, set the style value to an empty string:
{ "text": "View Repository 💻", "style": "", "url": "https://github.com/AmitDas4321/PostOrbit" },
{ "text": "Join Channel 📢", "style": "", "url": "https://t.me/BlueOrbitDevs" }which will show the default Telegram button.
styleis optional- If not specified, Telegram shows default button
- Invalid style values will be ignored
Run the script:
python main.pyEnter target:
@your_channel_username
Preview will be sent to admin. Type:
Y
To confirm posting.
You can use:
@channelusername
t.me/channelusername
https://t.me/channelusername
-100xxxxxxxxxx
Post updates instantly from terminal.
Integrate posting into scripts or pipelines.
Quickly publish announcements or media.
Use as backend publishing utility.
- No data storage
- No external tracking
- Uses official Telegram Bot API
- Runs locally on your machine
Bot must be admin in channel with permission:
- ✅ Post Messages
MIT License © 2026 Amit Das
Made with ❤️ by Amit Das
☕ Support development: PayPal.me/AmitDas4321
