ByteStash
The functions, config files, and one-liners you keep re-deriving finally get a searchable
home: ByteStash is a self-hosted code snippet manager - a private Gist. Each snippet holds
multiple code fragments, so a Docker Compose file, its .env template, and a plaintext usage
note live together under one titled, categorized entry. Monaco-based syntax highlighting
covers dozens of languages, from Python, TypeScript, Go, and Rust to YAML, Dockerfiles,
Terraform, and Markdown. Retrieval is the point: filter by language or category, search titles
and descriptions, and optionally include snippet contents in full-text search. Snippets can be
pinned for quick access and shared via public links that recipients open without an account.
Multi-user support runs on JWT authentication with optional OIDC single sign-on for teams on
centralized identity, and a full CRUD REST API with Swagger documentation wires snippet
retrieval into editors, scripts, and CI pipelines. Storage is a single SQLite database with
optional encryption, and collections export as JSON or Markdown. A React frontend on a Node.js
backend, deployed as one lightweight container.
Deploy