Freedom251 › Code Snippet Managers
ByteStash

What ByteStash is
ByteStash is a self-hosted web application for keeping and managing code snippets. Users can create and edit snippets, filter them by programming language, keywords, name, or description, and optionally search within code. Sorting options include update date and alphabetical order by name. Snippets are stored in SQLite, and a running server provides API documentation through Swagger UI at /api-docs. A built-in MCP endpoint lets Claude, OpenAI/ChatGPT, and Perplexity search and manage snippets using an API key. The project documents OIDC single sign-on, with Authentik, Authelia, and Keycloak as provider examples, as well as JWT secret settings including Docker secrets. Hosting documentation covers Docker Compose, an Unraid App Store listing, and one-click setup through PikaPods, which the README says is available from $1/month. The repository is open source under GPL-3.0. Its release page for v1.5.14 advises updating promptly for a security patch.
Who it suits
ByteStash suits developers or teams who want to host a code snippet library themselves. Its API, MCP endpoint, search, and filtering options may also suit users who want connected ways to access snippets.
What it does well
- Create and edit snippets.
- Filter by language, keywords, and other fields.
- MCP endpoint supports snippet search and management.
- OIDC setup is documented with provider examples.
- Open source under GPL-3.0.
What to know first
- Self-hosting requires setup.
- PikaPods hosting is listed from $1/month.
- The v1.5.14 release calls for a security update.
Verdict
ByteStash offers snippet organization and search in a self-hosted web app, with API and MCP access documented. Consider its hosting requirements and the release notice when deciding whether it fits your setup.
Facts from ByteStash's own pages
- AI integrations
- A built-in MCP endpoint lets assistants including Claude, OpenAI/ChatGPT, and Perplexity search, read, and manage snippets using an API key. · github.com, 11 Oct 2026
- API
- The running server provides Swagger UI at /api-docs for its endpoints. · github.com, 11 Oct 2026
- Authentication
- Configuration supports OIDC and settings to allow or disable new accounts and internal accounts. · github.com, 11 Oct 2026
- Container hardening
- The project wiki recommends options including a non-root user, no-new-privileges, a read-only filesystem, dropping capabilities, and a temporary filesystem. · github.com, 11 Oct 2026
- Deployment
- The project documents Docker Compose deployment and lists the app in the Unraid App Store. · github.com, 11 Oct 2026
- Hosting price reference
- The README says PikaPods one-click installation is available from $1/month. · github.com, 4 Oct 2026
- Intended audience
- The project describes itself as a code snippet storage solution and provides setup instructions for people hosting it themselves. · github.com, 4 Oct 2026
- Latest release notice
- The v1.5.14 release page says to update as soon as possible for a security patch. · github.com, 11 Oct 2026
- License
- The repository is licensed under GPL-3.0. · github.com, 11 Oct 2026
- Managed hosting
- The README links to a PikaPods one-click installation and says hosting is available from $1/month. · github.com, 11 Oct 2026
- Project license
- GitHub identifies the repository license as GPL-3.0. · github.com, 4 Oct 2026
- Purpose
- ByteStash is a self-hosted web application for storing, organizing, and managing code snippets. · github.com, 11 Oct 2026
- Search and filters
- Snippets can be searched by name, description, and optionally code, and filtered by category or programming language. · github.com, 11 Oct 2026
- Security configuration
- The FAQ documents JWT_SECRET and JWT_SECRET_FILE environment variables, including use with Docker secrets. · github.com, 4 Oct 2026
- Snippet editing
- Users can create and edit snippets. · github.com, 11 Oct 2026
- Sorting
- Snippets can be ordered by update date or alphabetically by name. · github.com, 11 Oct 2026
- Storage
- ByteStash uses SQLite by default and can optionally use PostgreSQL. · github.com, 11 Oct 2026
- Support
- The README invites users to open an issue or submit a pull request for improvements or bug fixes. · github.com, 11 Oct 2026
Where ByteStash stands on Freedom251
- Code Snippet Managers#30 of 33