Description
ByteStash is a self-hosted web application for storing, organizing and managing code snippets. You can create and edit snippets with an interface built for it, and filter your collection by programming language or by words in the content. Snippets are stored in a SQLite database by default. You can optionally use PostgreSQL instead by setting a connection string or the individual database settings, and tables are created automatically on first start. A migration setting copies existing SQLite data into PostgreSQL on startup. ByteStash also has a built-in Model Context Protocol endpoint, so AI assistants such as Claude, OpenAI and Perplexity can search and manage your snippets, authenticated with your existing API key. The listing describes it as a pastebin and file storage service with syntax highlighting, optional user authentication and public sharing. The app is written in React and Node.js. It can be run with a docker-compose file, it is listed on the Unraid App Store, and PikaPods offers a one-click install. The source is on GitHub.…
Highlights
- Create, edit and filter code snippets
- SQLite by default, with optional PostgreSQL
- MCP endpoint for AI assistants
- Docker, Unraid and one-click PikaPods installs
Ratings & Reviews
No ratings yet
Be the first to rate ByteStash.
People also visit
ByteStash FAQ
What is ByteStash?
A self-hosted app for storing and managing your code snippets, with syntax highlighting and filters by language.
How do I run it?
The project shows a Docker setup that uses a docker-compose file. It is also on the Unraid App Store, and PikaPods offers a one-click install from $1 per month.
Can I use PostgreSQL?
Yes. Point ByteStash at a PostgreSQL database with DATABASE_URL or the POSTGRES_ settings. Without those, it keeps using SQLite.
Can AI assistants use my snippets?
Yes, through the built-in MCP endpoint, which uses your existing API key to authenticate.
Is there a demo?
Yes. The README links a demo hosted on PikaPods.
Is it free?
The listing shows it as free. The source is on GitHub.
What are the best ByteStash alternatives?
Popular alternatives to ByteStash include Gisto, SnyPy and Opengist. See all ByteStash alternatives


