Try describing what you need:

Snipo logo

Snipo

★ 73
GNU Affero General Public License v3.0Open Source — No PaywallSingle Container — single container — minimal hosting footprintDocker · Compose · SourceNo external DB2+ active committers (12mo)

About

Snipo is a self-hosted snippet management system for developers who want to keep code snippets, commands, and notes under their own control. The README frames it as a lightweight solution for a...

Community Ratings

No ratings yet
Snipo demo showing 11 sample snippets, language labels, and tagsSnipo demo REST API Client with three Python files, syntax highlighting, and tags

Features

  • snippet management
  • single-user access
  • master password protection
  • terminal client
  • VS Code extension
  • browser extension
  • demo mode
  • code preview
  • tags and language labels

Details

Last Updated
Nov 6, 2026
Created
Dec 7, 2025
Install Methods
dockerdocker-composesource
Requirements
Docker
Default Port
8080web UI
Authentication
local
API
REST
Runtime / Stack
GoDocker
Privacy & Independence
No Cloud RequiredOffline Capable
Deployment

Deployment: Docker Compose ✓Single Container — minimal hosting footprintsingle container

Run Snipo yourself

Pick how much you want to manage.

1 more way to host

Some links earn us a commission. netcup pays us one and is our preferred VPS host.

Is this your project? Sponsor a listing

Run Snipo with Docker Compose

Compose file from the Snipo project repository.

1 service

≈0.5 GB RAM requested (from Docker memory limits)

docker-compose.prod.yml · @ 6708d7b · scanned Nov 3, 2026

# Production Docker Compose with enhanced security and resource limits
# Usage: docker compose -f docker-compose.yml -f docker-compose.prod.yml up -d
#
# SECURITY BEST PRACTICES FOR PRODUCTION:
# 1. Use SNIPO_MASTER_PASSWORD_HASH instead of SNIPO_MASTER_PASSWORD
#    Generate with: docker run --rm ghcr.io/mohamedelashri/snipo:latest hash-password
# 2. Store secrets in Docker secrets or a secrets manager (not in plain .env files)
# 3. Enable network isolation (uncomment networks section below)
# 4. Use a reverse proxy with HTTPS (nginx, traefik, caddy)
# 5. Regularly update the image and rotate passwords
#
# DATABASE MEMORY CONFIGURATION:
# For production environments with limited resources, consider reducing database memory usage:
# Add these environment variables to prevent "out of memory" errors:
#   - SNIPO_DB_MMAP_SIZE=67108864    # 64MB instead of 256MB
#   - SNIPO_DB_CACHE_SIZE=-1000      # 1MB instead of 2MB

services:
  snipo:
    # Resource limits
    deploy:
      resources:
        limits:
          cpus: '1'
          memory: 512M
        reservations:
          cpus: '0.25'
          memory: 128M
      restart_policy:
        condition: on-failure
        delay: 5s
        max_attempts: 3
        window: 120s
    
    # Additional security hardening
    security_opt:
      - no-new-privileges:true
      - seccomp:unconfined  # Adjust based on your security requirements
    
    # Logging configuration for production
    logging:
      driver: "json-file"
      options:
        max-size: "10m"
        max-file: "3"
        compress: "true"
    
    # Health check configuration
    healthcheck:
      test: ["CMD", "/snipo", "health"]
      interval: 30s
      timeout: 5s
      retries: 3
      start_period: 10s
    
    # Network isolation (recommended for production)
    # Uncomment to use custom network:
    # networks:
    #   - snipo_network

# Optional: Create isolated network for production
# networks:
#   snipo_network:
#     driver: bridge
#     ipam:
#       config:
#         - subnet: 172.28.0.0/16

This file may be out of date. Check the Snipo website for current setup steps.

Track your self-hosted stack

Bookmark software to try, rate tools you've used, and keep your collection in one place.

Metadata extracted from README on Nov 2, 2026

Alternatives to Snipo

ByteStash logo

ByteStash

2.6k
ByteStash is a self-hosted web application for storing, organizing, and managing code snippets.
PastebinsCopyleft LicenseKnowledge Management+2
Single Container
Details
Opengist logo

Opengist

3.4k
Opengist is a self-hosted Git-powered pastebin for storing, browsing, and managing code snippets through a web interface or standard Git commands.
PastebinsCopyleft LicenseSelf Hosting Solutions+1
Details
SnyPy logo

SnyPy

On-prem code snippet manager.
PastebinsSelf Hosting SolutionsKnowledge Management+1
Details

Related Software

NoteDiscovery logo

NoteDiscovery

2.9k
Markdown note-taking app with plain-file storage, graph view, and MCP integration (alternative to Obsidian, Notion).
Note Taking AppsKnowledge Management
Details
paaster logo

paaster

569
Paaster.io is a privacy-focused pastebin application with end-to-end encryption, paste history, and sharing features.
PastebinsCopyleft LicenseSelf Hosting Solutions+1
Cloud Required
Details
Sourcehut logo

Sourcehut

Full web git interface with no javascript.
Dev Project ManagementCopyleft LicenseSelf Hosting Solutions+1
Details
Feather Wiki logo

Feather Wiki

97
Lightning fast and infinitely extensible tool for creating personal non-linear notebooks, databases, and wikis that is entirely self-contained, runs in your browser, and is only 58 kilobytes in size.
WikisCopyleft LicenseNote Taking Apps+3
Fully FOSS
Details
not-th.re logo

not-th.re

17
!3 is a simple paste sharing platform with client-side encryption, Monaco editor support, and file transfers.
PastebinsCopyleft LicenseSelf Hosting Solutions+3
Details
Wiznote logo

Wiznote

Manage your knowledge in documents with folders, markdown, full text search and webpage collection support.
Knowledge ManagementNote Taking AppsDocument Management+1
Details
pacebin logo

pacebin

Super-minimal pastebin and file upload service focusing on small executable size, portability, and ease of configuration.
PastebinsSimple File UploadsCopyleft License+2
Details
PassIt logo

PassIt

Simple password manage with sharing features by group and user, but no administration interface.
Password ManagersCopyleft LicenseSelf Hosting Solutions+1
Details
Turtl logo

Turtl

Totally private personal database and note taking app.
Note Taking AppsKnowledge ManagementSelf Hosting Solutions+1
Details