Wastebin

Self-Hosted

Open-source, self-hosted pastebin with syntax highlighting

Visit Website

Overview

Wastebin is a lightweight, self-hosted pastebin solution for sharing code snippets and plain text. It supports syntax highlighting for over 100 programming languages, custom paste expiration times (from minutes to forever), and anonymous submissions. Deployable via Docker (simple container setup) or pre-built binaries, it uses SQLite by default (no external database required) and needs minimal server resources. Ideal for personal use or small teams, it prioritizes data privacy and user control by letting you host your own paste service instead of relying on third-party platforms.

Self-Hosting Resources

Below is a reference structure for docker-compose.yml. ⚠️ Do NOT run blindly. Replace placeholders with official values.

docker-compose.template.yml TEMPLATE

version: '3'
services:
  wastebin:
    image: <OFFICIAL_IMAGE_NAME>:latest
    container_name: wastebin
    ports:
      - "8080:<APP_INTERNAL_PORT>"
    volumes:
      - ./data:/app/data
    restart: unless-stopped

Key Features

  • Syntax highlighting for 100+ languages
  • Custom paste expiration times
  • Lightweight Docker deployment

Frequently Asked Questions

? Is Wastebin hard to install?

No—Wastebin can be deployed quickly using Docker (a single command) or pre-built binaries. It uses SQLite by default, so no external database setup is needed, making it accessible for beginners.

? Is it a good alternative to Pastebin.com?

Yes—Wastebin offers core pastebin features like syntax highlighting and expiration times, but with self-hosting to keep your data private. It lacks some of Pastebin.com’s social features but excels at simplicity and control.

? Is it completely free?

Yes—Wastebin is open-source under the MIT License, so it’s free to use, modify, and self-host without any cost or hidden fees.

Top Alternatives

Pastebin.com Search Google
GitHub Gist Search Google

People Also Ask about Wastebin

Wastebin vs Pastebin.comWastebin vs GitHub Gist Wastebin 2025 review Wastebin docker-compose example

Tool Info

Pricing Open Source
Category Pastebins
Platform Self-Hosted

Pros

  • Privacy-focused self-hosting
  • No subscription fees
  • Minimal resource usage

Cons

  • No default user authentication
  • Limited social collaboration features
  • Requires basic server setup knowledge

More Pastebins Tools