A simple command-line tool for uploading text and files to termbin.com. Returns a shareable URL after each upload.
- Paste raw text directly from stdin
- Upload a local
.txtfile - Capture and upload an entire terminal session
- Returns a termbin URL for every upload
- Python 3.6+
- No third-party dependencies (uses stdlib only)
- Linux / macOS recommended (
scriptcommand required for terminal capture)
git clone https://github.com/yourusername/PyTermbin.git
cd PyTermbin
python3 -m venv venv
source venv/bin/activate
pip install -r requirements.txtpython3 Pytermbin.pySelect from the menu:
1. Paste text - Type or pipe text, press CTRL+D to submit
2. Paste txt file - Provide a path to a local .txt file
3. Paste entire terminal - Records a terminal session and uploads it
4. Exit
A termbin URL is printed after each successful upload.
- Terminal capture (option 3) uses the
scriptcommand, available on most Unix systems - Uploads are sent to
termbin.comon port9999over a raw TCP socket - No API key required
MIT License. See LICENSE for details.