A self-hosted, single-binary pastebin and file-sharing web app written in Rust, with optional encryption and URL shortening.
DarrenOfficial/dpaste
A Django-based pastebin for sharing code snippets, runnable standalone or as an embeddable Django app.
Open-source alternative to:Pastebin
- Stars
- 642
- Forks
- 124
- Open issues
- 14
- Last commit
- 7 days ago
What is it?
dpaste is a pastebin application for sharing text and code snippets via a shareable link. It is written in Python on the Django framework and powers the public dpaste.org service.
The project can run as a standalone Django project, or be installed into an existing Django site as a regular Django application. Documentation is hosted at docs.dpaste.org, and Docker images are published to Docker Hub.
The project requires Python 3.9 or newer and Django 3.2 or newer. Issues and feature requests are handled through the GitHub repository.
Key features
- 01Shareable paste links for text and code snippets.
- 02Runs as a standalone Django project.
- 03Can be installed into an existing Django project as an app.
- 04Docker images are available on Docker Hub.
- 05Requires Python 3.9+ and Django 3.2+.
Use cases
- Hosting a private or team-internal pastebin for sharing code snippets.
- Adding snippet-sharing functionality to an existing Django website.
- Studying a small, complete Django application as a reference.
Topics
FAQ
- What is dpaste?
- A Django-based pastebin for sharing code snippets, runnable standalone or as an embeddable Django app. dpaste is a pastebin application for sharing text and code snippets via a shareable link. It is written in Python on the Django framework and powers the public dpaste.org service.
- Is dpaste free to use? What license does it have?
- dpaste is open source under the MIT license. Check the license terms before using it in commercial products.
- Is dpaste still maintained?
- Actively maintained. The last commit to dpaste was on Oct 31, 2026.
- What can I use dpaste for?
- Hosting a private or team-internal pastebin for sharing code snippets. Adding snippet-sharing functionality to an existing Django website. Studying a small, complete Django application as a reference.
- Where can I get dpaste?
- The source code and installation instructions are on GitHub: https://github.com/DarrenOfficial/dpaste
Summary generated by AI from the project's README. GitHub stats refresh daily.
Related projects
A minimalist self-hosted pastebin that encrypts pastes in the browser so the server never sees plaintext.
A self-hostable, end-to-end encrypted pastebin with paste history, one-time deletion, and cross-device transfer.
A minimal, self-hosted pastebin written in Rust with axum and SQLite, offering encrypted, expiring and burn-after-reading pastes.
Self-hosted pastebin that stores every snippet as a Git repository, an open-source alternative to GitHub Gist.
Self-hosted file sharing, pastebin and URL shortener with per-item passwords, expiring share links and a web admin panel.