OpenSource-Hub
D

dpaste

636 stars·Developer Tools·SHA-256 checksum verified

A modern, self-hosted pastebin application built with Django, allowing you to share code snippets and text securely.

Smart Download

Visit Project Homepage

No installer available yet — head to the source repository

A self-hosted pastebin for secure code and text sharing, built with Django.

Core Features

  • Syntax highlighting for 100+ languages
  • Configurable expiration (1 hour, 1 day, never, etc.)
  • Optional password protection
  • REST API for programmatic access
  • Supports Markdown and plain text

What It Can't Do

  • Requires Python 3.9+ and Django 3.2+. Older versions not supported.
  • Default uses SQLite; for production, switch to PostgreSQL and configure SECRET_KEY, DEBUG=False.
  • Docker deployments need persistent volume for data, otherwise pastes lost on container restart.
  • No built-in user system – all pastes are public (except password-protected). Be cautious with sensitive data.

Use Cases

  • Quickly share code snippets within a development team
  • Share logs, config files with colleagues or clients
  • Private online scratchpad, alternative to temporary file sharing

Detailed Introduction

dpaste is a lightweight, open-source pastebin written in Python using the Django framework. It provides a clean interface for sharing code snippets, logs, or any text with syntax highlighting, expiration options, and optional password protection. You can run it as a standalone Django project or embed it into an existing application. The project is fully documented and supports Docker deployment for easy setup. It is ideal for developers who want full control over their paste data without relying on third-party services.

Troubleshooting & FAQ (1)

Troubleshooting
How to install dpaste manually without using Docker?

Clone or download the dpaste release. Ensure Python 3.10 and Node.js are installed. Compile static files: npm ci --ignore-scripts, make css, make js. Create a Python virtualenv: python -m venv venv && source venv/bin/activate. Install Python dependencies with pip. Configure Django settings (e.g., DATABASE_URL, SECRET_KEY) in a settings file. Start the server with the standard Django command (e.g., python manage.py runserver). Refer to the dpaste documentation for production WSGI setup.

GitHub Issue #265

Tags

pastebindjangopythoncode-sharingsnippet

Getting Started

1

Download installer

Click the button above to download the installer for your system

2

Install the software

Double-click the downloaded installer and follow the prompts

3

Step 1: Ensure Python 3.9+ and Django 3.2+

4

Step 2: Install dpaste: pip install dpaste

5

Step 3: Create project and run migrations: django-admin startproject mypaste && cd mypaste && python manage.py migrate

Install Guide
  1. Step 1: Ensure Python 3.9+ and Django 3.2+
  2. Step 2: Install dpaste: pip install dpaste
  3. Step 3: Create project and run migrations: django-admin startproject mypaste && cd mypaste && python manage.py migrate
File Integrity

Checksum not available

This project has not published a SHA-256 checksum on its GitHub Release page

SHA256 Checksum

No checksum available

Download directly from GitHub Releases and verify file integrity yourself

All SHA-256 checksums on this platform are extracted from the project's official GitHub Release page, without any modification. You can independently verify them on the GitHub Releases page.

Open Source Transparency

View GitHub Source
Environment Guide

Uninstall Info

Remove the project directory and uninstall the pip package: pip uninstall dpaste. Also drop the database if used.

No Extra Dependencies

Ready to use after download. No additional runtime required.

Project Info
LicenseMIT
Last Updated2026-06-26 10:35:15
GitHub RepositoryOfficial Website

Having issues? Check the FAQ below

1 FAQ

Similar Projects