Deploy Now

Stars

642

Forks

124

Watchers

13

Developer links

dpaste

dpaste is a self-hosted pastebin that turns code snippets, log excerpts, and config files into short highlighted links with expiry and access rules you control. Paste code, stack traces, or plain notes, pick the language, and highlighting makes the result readable at a glance in the browser. Set the paste to expire in an hour, a week, a month, or never, or make it a one-time snippet that deletes itself after it has been viewed. Every paste offers a raw view for clean copying and terminal friendly reading, and random short slugs keep links tidy in tickets and commit messages. Scripts post through the API with a single request, so deploy tooling and CI jobs can publish their output where humans can read it. Run it standalone for the team, or fold it into an existing Django project as an app, and tune slug length, default language, maximum size, and expiry choices to your habits. Nobody has to wonder which public paste site a sensitive debug log landed on, because the bin answering the link is yours. Running on a dedicated VPS on RepoCloud with guaranteed CPU, RAM, and SSD, full root SSH access, and a browser serial console. MIT licensed.

dpaste
dpaste
dpaste
dpaste
dpaste

Benefits

  • Sensitive Snippets Stay In-House
  • Debug logs, config samples, and incident notes go to your own bin instead of a public paste site. Expiry and one-time views limit how long shared text lingers after the problem is solved.
  • Links People Actually Open
  • A short slug with highlighted, line friendly formatting beats a mangled code block in chat. Teammates open the link and read the snippet exactly as written, then copy it without chat formatting scars.
  • Expiry Matches The Moment
  • One hour for a quick look, a week for a review, never for the runbook excerpt. One-time snippets vanish after the agreed view count, so throwaway sharing does not become permanent storage.
  • Scripts Can Paste Too
  • The API lets build jobs, deploy scripts, and support tools publish output as readable links automatically. Humans get a page to read instead of a raw artifact download buried in CI storage.

Features

  • Syntax Highlighting Everywhere
  • Dozens of languages and formats are highlighted, from Python, Go, and Rust to Nginx configs, Dockerfiles, SQL, and IRC logs. Plain text, Markdown, and reStructuredText render as documents too.
  • Flexible Expiration Choices
  • Pastes expire in one hour, one week, or one month by default, or never expire for permanent references. Site operators can redefine the choices and the default in configuration.
  • One-Time Snippets
  • Mark a snippet one-time and it deletes itself once the view limit is reached, two views by default. Share a secret or a sensitive trace with a built-in self-destruct.
  • Raw View Mode
  • Every paste has a raw view serving content as plain text for clean copying, diffing, or piping into tools. Operators can disable raw mode entirely.
  • Simple HTTP API
  • Post new snippets and fetch them programmatically with plain requests, returning the paste URL for your scripts to share. Handy for CI output, support bundles, and chatops integrations.
  • Standalone Or Django App
  • Run dpaste standalone with the official Docker image, or install it into an existing Django project as an app. Tune slug length, size limits, and defaults.

Apps Similar to dpaste