pasta is a stupid simple pastebin service for self-hosting within an internal research & development network. It’s the tool of choice for the lazy sysadmin, which just wants to have a plain simple pastebin service that requires no maintenance, runs slim and fast and is a joy to deploy.
You can use the provided CLI utility to push files to the service or use
You create a new pasta (pastes are called pastas) by just throwing your file at the main page with a
POST request, and the server will return you the link and a custom
token for future administration like replacing it or deleting it (not yet implemented).
pasta is designed to be super simple in terms of setup and maintenance. All it requires are less than ten lines toml and a data directory. That’s it! It already runs and is amazing :-)
- Simplicity - less than 10 lines of
tomlconfig and a data directory - that’s all
- Low maintenance - No database, just a data directory
- Blazing fast - because it’s so simple
- No user accounts, no login, no nothing. Just pastas
- Small footprint - requires only a handful MB of system memory
Your Raspberry Pi is more than capable of running this program at lightspeed for your home or your research and development network.
In principle this tool should be also scalable by using a NFS mount and multiple workers but it is not (yet?) tested in a kubernetes or equivalent environment.
I want it now!
The easiest way to deploy your own
pasta instance, is via docker. Instructions and container builds are in the github repository.
Checkout the github repository for install instructions. It’s basically just building the go binary, modifying a existing
toml example configuration and that’s it. You should have it up and running in less than 10 minutes :-)