pastebin

command module
v1.0.8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 26, 2026 License: 0BSD Imports: 11 Imported by: 0

README

pastebin

Go Version Docker Image

A minimalist, high-performance paste service written in Go.

Deployment

Docker Compose
services:
  pastebin:
    image: ghcr.io/skidoodle/pastebin:latest
    container_name: pastebin
    restart: unless-stopped
    ports:
      - "3000:3000"
    volumes:
      - ./data:/data
Manual Installation

Requires Go 1.25 or higher.

go build -o pastebin .
./pastebin -addr :3000 -db-path pastebin.db

Configuration

Flag Description Default
-addr Socket address to bind to. :3000
-db-path Path to the BoltDB database file. pastebin.db
-max-size Maximum allowed paste size in bytes. 10485760
-ttl Time to live for pastes before expiration. 168h0m0s

License

This project is licensed under the Zero-Clause BSD.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL