About ByteStash
ByteStash is a GPL-3.0 snippet store written in React and Node.js. Save code, filter it by language or content, share links, and keep everything in SQLite or PostgreSQL.
On a CloudSat VPS your snippets live in one place reachable from every machine, and an MCP endpoint lets AI assistants search and manage them.
After deploy ByteStash answers on port 5000. New accounts are never admins: you sign up, then grant yourself admin rights with a script on the server.
What you get with ByteStash
- Create, edit and filter snippets by language or content
- Share links for individual snippets
- SQLite by default, PostgreSQL optional
- OpenID Connect single sign-on
- MCP endpoint for AI assistants
ByteStash use cases
- Keep shell one-liners and configs in one searchable place
- Pass snippets to teammates through links
- Let an AI assistant pull your saved snippets
After you deploy ByteStash
- Sign up at
http://<server IP>:5000as soon as the console shows Running. - Over SSH as root, make yourself admin by running
node src/scripts/admin.js grant <username>inside the ByteStash container. - Set
ALLOW_NEW_ACCOUNTStofalseonce your accounts exist. - Serve ByteStash on a domain with HTTPS before sharing links publicly.
ByteStash ports
Open these in your firewall if you use one: 5000/tcp ByteStash web app.
ByteStash FAQ
How do I become a ByteStash admin?
New accounts are never admins. Sign up first, then run node src/scripts/admin.js grant <username> inside the container.
Can I close registrations?
Yes. Set ALLOW_NEW_ACCOUNTS to false once everyone who needs an account has one.
Disclaimer. The ByteStash project has no affiliation with CloudSat and does not endorse it. Names and logos belong to their owners and appear only to identify the software.