The World's Dankest Paste Bin!
If anyone would like to write this readme feel free!
irc channel #dank-paste @ blackbeard420.me:6667
dank-paste requires rocket, therefor currently requiring a nightly rust compiler, I recommend using rustup to get nightly and stay up to date. The vanilla build is currently hosted at ganja.ml, so go check it out
- Get dank-paste source
git clone https://github.com/wpbirney/dank-paste
- Run with cargo (default will launch server in debug mode)
cd dank-paste cargo run
When deploying to a production server it is recommended to put dank-paste behind nginx using proxy_pass
location / {
proxy_pass http://127.0.0.1:{PORT NUMBER FOR dank-paste};
proxy_set_header real-ip $remote_addr;
proxy_set_header Host $host;
}
All server configuration is handled thru the default rocket config Rocket.toml
You can configure dank-paste to use tls/ssl directly thru Rocket.toml (see rocket documentation) The recommend way is to configure nginx for tls/ssl and proxy_pass it to dank-paste