wastebin

Share text and code securely using a lightweight pastebin. Features include syntax highlighting, password encryption, self-destruction, and QR code generation.

This minimal pastebin application provides a fast and resource-efficient way to share text and code snippets. Built as a single binary with a low memory footprint, it utilizes a SQLite backend and compresses pastes to optimize storage. Users can easily share code with built-in syntax highlighting for over 170 languages and toggle between light and dark modes for comfortable reading.

Security and privacy are core priorities. The application encrypts entries using robust algorithms and hashes passwords to keep sensitive information safe. You have full control over the lifecycle of your shared text with flexible deletion options.

Key features include:

  • Self-destructing messages that delete automatically after being read.
  • Time-based expiration to ensure pastes do not live longer than necessary.
  • QR code generation for seamless sharing and viewing on mobile devices.
  • Keyboard shortcuts for quick navigation, copying, and formatting.

Directory Structure

wastebin
data
.env
docker-compose.yml

docker-compose.yml

services:
  wastebin:
    image: quxfoo/wastebin:latest
    container_name: wastebin
    restart: unless-stopped
    ports:
      - 8088:8088
    environment:
      WASTEBIN_DATABASE_URL: sqlite:///data/wastebin.db
      WASTEBIN_MAX_BODY_SIZE: 1048576
      WASTEBIN_TITLE: Wastebin
      WASTEBIN_SIGNING_KEY: ${WASTEBIN_SIGNING_KEY}
    volumes:
      - ./data:/data

.env

WASTEBIN_SIGNING_KEY=your_secure_random_signing_key_here
Categories:

Share:

Ad
Favicon

 

  
 

Similar to wastebin

Favicon

 

  
  
Favicon

 

  
  
Favicon