Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/gsora/baste
Dumb paste service
https://github.com/gsora/baste
Last synced: about 16 hours ago
JSON representation
Dumb paste service
- Host: GitHub
- URL: https://github.com/gsora/baste
- Owner: gsora
- Created: 2022-03-24T14:48:14.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2022-11-30T14:20:33.000Z (about 2 years ago)
- Last Synced: 2023-08-14T03:50:49.754Z (over 1 year ago)
- Language: Rust
- Size: 28.3 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# baste: a dumb pastebin service
Repository: https://github.com/gsora/baste
If you own a secret key, you can paste stuff on here.
If you don't you can only read unlisted pastebins.
No directory, no browsing, go snooping on pastebin.com :^)
## How-to
Look at `src/config.rs` to understand how to configure this - hint: it's all through
env variables.Upload happens by means of multipart HTTP form, and the only file getting uploaded is
what's in `baste_file` form field.Example:
```sh
curl https://your-paste.wow/paste -X POST -H "X-Secret-Token: {lmao get fsck'd}" -F baste_file=@obsd-sendbug
correct-horse-battery-staplehttps://your-paste.wow/correct-horse-battery-staple
```