Skip to content
/ blck Public
forked from parazyd/blck

Ephemeral pastebin/url-shortener writen in Flask, uses Astral UV for package management and locked dependencies to ensure a stable Python environment

License

Notifications You must be signed in to change notification settings

WasimTTY/blck

 
 

Repository files navigation

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

About

Ephemeral pastebin/url-shortener writen in Flask, uses Astral UV for package management and locked dependencies to ensure a stable Python environment

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 51.6%
  • HTML 33.8%
  • Dockerfile 14.6%