Skip to content

OSINTCabal/PyTermBin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PyTermbin

A simple command-line tool for uploading text and files to termbin.com. Returns a shareable URL after each upload.


Features

  • Paste raw text directly from stdin
  • Upload a local .txt file
  • Capture and upload an entire terminal session
  • Returns a termbin URL for every upload

Requirements

  • Python 3.6+
  • No third-party dependencies (uses stdlib only)
  • Linux / macOS recommended (script command required for terminal capture)

Installation

git clone https://github.com/yourusername/PyTermbin.git
cd PyTermbin
python3 -m venv venv
source venv/bin/activate
pip install -r requirements.txt

Usage

python3 Pytermbin.py

Select 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.


Notes

  • Terminal capture (option 3) uses the script command, available on most Unix systems
  • Uploads are sent to termbin.com on port 9999 over a raw TCP socket
  • No API key required

License

MIT License. See LICENSE for details.

About

A basic python wrapper that allows users to quickly post terminal text to Termbin. Includes option to paste entire terminal text, individual pasted text, or specific text files.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages