Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/parazyd/blck
Ephemeral pastebin/url-shortener
https://github.com/parazyd/blck
ephemeral flask magic pastebin python
Last synced: 28 days ago
JSON representation
Ephemeral pastebin/url-shortener
- Host: GitHub
- URL: https://github.com/parazyd/blck
- Owner: parazyd
- License: agpl-3.0
- Created: 2017-03-19T21:43:40.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2021-04-19T22:05:01.000Z (over 3 years ago)
- Last Synced: 2024-08-03T15:15:19.293Z (3 months ago)
- Topics: ephemeral, flask, magic, pastebin, python
- Language: HTML
- Homepage:
- Size: 466 KB
- Stars: 2
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-starred - parazyd/blck - Ephemeral pastebin/url-shortener (python)
README
blck
====an ephemeral pastebin. you can only retrieve the paste once, and then it
is deleted from the server.installation
------------get `flask` and `python-magic`, then execute `blck.py`.
if not running in debug mode, you also need `bjoern`. find it at
https://github.com/jonashaag/bjoern.run `blck.py -h` to see usage info.
nginx
-----```
location / {
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-Proto https;
proxy_pass http://127.0.0.1:13321;
}
```usage
-----either use the website, or curl:
```
curl -F 'c=@-' http://whatever.domain < file
```