A CLI tool to upload text to a hastebin server quickly and cleanly.
Project description
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
requestsand my in-houseargparsesub-in - Blazing fast and easy to use
📦 Quick Start
-
then upload text:
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file posthaste_cli-0.1.1.tar.gz.
File metadata
- Download URL: posthaste_cli-0.1.1.tar.gz
- Upload date:
- Size: 17.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1c3656f65334c7fd472e930e69f4ce5d3c24e09b564c2d6a1bfea05018d34b61
|
|
| MD5 |
1febae1040ddbfce9989f1f7d277a82a
|
|
| BLAKE2b-256 |
018319a141e3c161811f1dc63c5e2f9d87345b4ce03ce443278d3ac9530cc077
|
Provenance
The following attestation bundles were made for posthaste_cli-0.1.1.tar.gz:
Publisher:
python-publish.yml on ArchooD2/posthaste
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
posthaste_cli-0.1.1.tar.gz -
Subject digest:
1c3656f65334c7fd472e930e69f4ce5d3c24e09b564c2d6a1bfea05018d34b61 - Sigstore transparency entry: 203385406
- Sigstore integration time:
-
Permalink:
ArchooD2/posthaste@538cd786934f0588f84df16ba6bed892398a0af2 -
Branch / Tag:
refs/tags/v0.1.2 - Owner: https://github.com/ArchooD2
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@538cd786934f0588f84df16ba6bed892398a0af2 -
Trigger Event:
release
-
Statement type:
File details
Details for the file posthaste_cli-0.1.1-py3-none-any.whl.
File metadata
- Download URL: posthaste_cli-0.1.1-py3-none-any.whl
- Upload date:
- Size: 17.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d49fb0ea560c25c00ab9fd772ff8fcea7b769936ad9923ab5a34e22bfebb6903
|
|
| MD5 |
a57094d86c0ee1c31425cdbdc0c04f6f
|
|
| BLAKE2b-256 |
5dd857a99a0cd60b0314d08e6e2b50fc1757fa7964f35e4ab94364a4d6ba7f06
|
Provenance
The following attestation bundles were made for posthaste_cli-0.1.1-py3-none-any.whl:
Publisher:
python-publish.yml on ArchooD2/posthaste
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
posthaste_cli-0.1.1-py3-none-any.whl -
Subject digest:
d49fb0ea560c25c00ab9fd772ff8fcea7b769936ad9923ab5a34e22bfebb6903 - Sigstore transparency entry: 203385407
- Sigstore integration time:
-
Permalink:
ArchooD2/posthaste@538cd786934f0588f84df16ba6bed892398a0af2 -
Branch / Tag:
refs/tags/v0.1.2 - Owner: https://github.com/ArchooD2
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@538cd786934f0588f84df16ba6bed892398a0af2 -
Trigger Event:
release
-
Statement type: