Skip to content

ArchooD2/posthaste

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GitHub commit activity GitHub contributors GitHub last commit PyPI - License PyPI - Downloads


posthaste – Hastebin uploads, lightning fast

Based on ylmcc/AutoHasteBin

posthaste is a super-lightweight Python CLI tool for quickly uploading text or files to any Hastebin-compatible server — straight from your terminal.

Perfect for sharing code snippets, logs, notes, and more — without needing to open a browser. Pipe it, upload it, share it — done.


✨ Features

  • Upload directly from stdin or from one or more files
  • Save tokens to your environment for later use
  • Choose your own Hastebin server
  • No dependencies beyond requests and my in-house argparse sub-in
  • Blazing fast and easy to use

📦 Quick Start

echo "hello world" | posthaste
  • or upload a file:
posthaste mylogfile.txt
  • or upload multiple files:
posthaste file1.txt file2.txt
  • save your API token (only needed if the server requires it):
posthaste --token YOUR_TOKEN_HERE

🔧 Example

$ echo "my example code" | posthaste
Uploading to: https://hastebin.com/documents
https://hastebin.com/share/abcd1234
$ posthaste error_log.txt
Uploading file: error_log.txt
https://hastebin.com/share/efgh5678

📄 License

This project is licensed under the GPL v3.0 License.
See the LICENSE file for full details.

About

posthaste is a super-lightweight Python CLI tool for quickly uploading text or files to any Hastebin-compatible server — straight from your terminal.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages