ByteStash
ByteStash is a self-hosted code snippet storage solution written in React and Node.js. It helps developers organize snippets with syntax highlighting, tags, favorites, and full-text search. Runs locally or via Docker.
Smart Download
Visit Project Homepage
No installer available yet — head to the source repository
A self-hosted code snippet manager with syntax highlighting, tags, and search. Fast, clean, and private.
Core Features
- Syntax highlighting for 100+ languages with auto-detection
- Tagging, favorites, full-text search, dark/light mode
- One-click deploy via Docker or local Node.js
- Export/import snippets as JSON, supports PostgreSQL
- Share snippets via link or clipboard
What It Can't Do
- •Uses SQLite by default (single-user). No built-in authentication – not suitable for multi-user scenarios out-of-the-box. For team use, consider configuring PostgreSQL and adding auth layer.
Use Cases
- Personal code snippet library for quick reuse
- Small team internal snippet sharing (no cloud uploads)
- Self-hosted alternative to Gist, Codestash, or Snipline
Detailed Introduction
ByteStash is an open-source code snippet storage solution designed for developers. It runs locally or via Docker, offering a clean web interface to save, organize, and retrieve code snippets. Key features include syntax highlighting for over 100 languages, tagging, favorites, full-text search, dark/light mode, and data export/import (JSON). It uses SQLite by default (optional PostgreSQL) and supports clipboard sharing. Unlike cloud-based snippet tools, ByteStash gives you full control over your data. Ideal for personal use or small teams who want a lightweight, self-hosted alternative to Gist or Codestash.
Tags
Getting Started
Download installer
Click the button above to download the installer for your system
Install the software
Double-click the downloaded installer and follow the prompts
Step 1: Ensure Node.js >=18 or Docker installed
Step 2: Run `npm install` then `npm run start`, or use Docker: `docker run -p 3000:3000 bytestash`
Step 3: Open http://localhost:3000 in browser and start adding snippets
- Step 1: Ensure Node.js >=18 or Docker installed
- Step 2: Run `npm install` then `npm run start`, or use Docker: `docker run -p 3000:3000 bytestash`
- Step 3: Open http://localhost:3000 in browser and start adding snippets
Checksum not available
This project has not published a SHA-256 checksum on its GitHub Release page
SHA256 Checksum
No checksum available
Download directly from GitHub Releases and verify file integrity yourself
All SHA-256 checksums on this platform are extracted from the project's official GitHub Release page, without any modification. You can independently verify them on the GitHub Releases page.
Open Source Transparency
View GitHub SourceUninstall Info
Stop the process and delete the project folder. For Docker, run `docker rm -f bytestash` and remove the image. Data is in the `data` folder (SQLite) – delete manually if needed.
No Extra Dependencies
Ready to use after download. No additional runtime required.
Similar Projects
lazygit
A simple terminal UI for git commands
code-server
Run VS Code in your browser, on any device with a consistent development environment.
pocketbase
PocketBase is an open source Go backend that includes embedded SQLite with realtime subscriptions, built-in file & user management, admin dashboard UI, and simple REST API. Can be used as standalone app or Go framework.