Self-hosted temporary text paste, file and image host.
- Upload images by pasting on the page
- Files get deleted after 24 hours
- JavaScript not required
- Upload from terminal:
curl --upload-file image.png http://localhost:1337
# Clone the repository
git clone https://github.com/hizkifw/tempbin
# Run it
cd tempbin
LISTEN='127.0.0.1:1337' cargo run
# Or, build the Docker image
docker build -t tempbin .
# Or, run the pre-built docker image
docker run \
-d \
-v $(pwd)/uploads:/opt/app/uploads \
-p 1337:1337 \
ghcr.io/hizkifw/tempbin:main
Right now, most of the configuration is baked into the binary. Edit the source code and recompile it to update.
A convenience script build.sh
is provided to help generate statically linked
release builds.