A minimal self-hosted file upload and pastebin service for sharing text and files via URLs.

Rustypaste is an open-source, self-hosted application that provides a minimal file upload and pastebin service. It allows users to share text and files via URLs, supporting both direct file uploads and the creation of short links. The software is deployed as a server and can be interacted with via a web browser, curl, or various third-party CLI and GUI clients. It is distributed as a single binary and can also be run as a Docker container.
The application is designed for simplicity and speed, allowing users to quickly push content to a server and retrieve a shareable link. It supports various methods of interaction, including the use of a custom HTML form for uploads or direct API calls via curl. The server can be configured to handle specific file types or restrict certain uploads to maintain security and organization on the host machine.
Built with Rust, the application operates without a database, using the local filesystem for storage. This architecture simplifies deployment and backup processes. It supports hot reloading of its configuration file, meaning changes to settings can be applied without restarting the server. For administrative purposes, it provides a JSON endpoint for listing uploaded files, provided the appropriate authentication tokens are configured. Users can force files to download by appending a specific query parameter to the URL, and the server serves text-like types as plaintext to prevent script execution.
Rustypaste is designed for users who require a lightweight, database-free utility for temporary file and text sharing.
Portable file server providing resumable uploads and downloads via web browsers and multiple network protocols.
A cross platform BitTorrent client that uses libtorrent to manage peer to peer file transfers.
Join our newsletter to get shiny new open source software delivered to your inbox. Unsubscribe anytime.