App docs

ByteStash docs

A private library for your code snippets, with search, sharing and an AI assistant connection. Sign in with your owner account, save your first snippet, then connect your tools with an API key.

Dev ToolsSmallest plan: LiteUpdated Plans and prices

What it is good for

ByteStash is a place to keep the code you keep reaching for: shell one-liners, config blocks, SQL queries, regular expressions and the small helper functions you copy between projects. Each snippet has a title, a description, categories and one or more files, shown with syntax highlighting. Search by title, content, language or category, pin the ones you use most, and bring back anything you deleted from the recycle bin.

When you want to show a snippet to someone, make it public or create a share link that can require a login or expire on a date you choose. Every account can create API keys for the REST API, and ByteStash also speaks the Model Context Protocol, so an AI assistant such as Claude or ChatGPT can search, read and save snippets in your library with one of those keys. Snippets move in and out as JSON files from the settings page.

On CoreHost, ByteStash runs the official release with its own storage, hosted in Australia, the United States or Poland. Your instance starts with a private owner account and sign ups closed, so nobody else can claim it. We handle the server, TLS, updates and daily backups, and encrypted backups are stored in the EU. It runs comfortably on the Lite plan.

  • Snippets with several files, categories, syntax highlighting and fast search
  • Public snippets and share links that can require a login or expire
  • REST API keys and an MCP endpoint for AI assistants
  • Locked by default: a private owner account, with sign ups closed
  • Import and export as JSON, plus SFTP access to the data folder
  • Hosted in Australia, the United States or Poland, with daily backups; encrypted backups are stored in the EU

Replaces scattered gists and snippet notes: one private library you control instead of code spread across gists, notes and chat history.

How to reach it

Your app gets its own address, https://<your app name>.hostedat.corehost.io. You choose the app name when you deploy, and the address has HTTPS from the start.

You can also use your own domain at no extra cost: point a CNAME at your app's address, prove you control the domain with a small TXT record, and the TLS certificate is issued and renewed automatically. Both steps are shown with copy-paste values in your control panel.

First sign-in

Your sign-in is created for you.

Sign in with the owner username and the password shown in your control panel. We create this account for you when the app is installed and keep sign ups closed, so nobody else can claim your instance. You can change it with Change password in your user menu inside ByteStash.

To limit who can reach the app, switch on its firewall and allow only the IP addresses you choose. It is off by default.

First steps after deploy

  1. Sign in with your owner username and password, then pick Change password in your user menu to set your own.
  2. Save your first snippet with the New snippet button, add a category or two, and add more files to it if the code spans several.
  3. Create an API key from API Keys in your user menu to use the REST API, or to connect an AI assistant to your snippets through the /mcp address.

Bringing your data in

Use Import Snippets on the settings page to bring in a ByteStash JSON export from another instance. Snippets from other tools can be pasted in one at a time, or created in bulk with a script against the REST API, whose documentation is at /api-docs on your app address.

Apps and clients

AI assistants (MCP)
Add a custom connector in Claude, ChatGPT or another MCP client that points at your app address followed by /mcp, and send one of your ByteStash API keys as a Bearer token. The assistant can then search, read and save your snippets. More from the project
REST API
Open /api-docs on your app address for interactive API documentation, and authenticate scripts with an API key from API Keys in your user menu. More from the project

Already running ByteStash somewhere else? How to move it here, or read how moving to CoreHost works.

Connect it to other CoreHost apps

Apps on CoreHost reach each other over their public https addresses, the same way you do. There is no private network between apps yet, so when one app asks for another's address, give it the full https address (or your custom domain) and sign it in with that app's own key or login.

Related apps on CoreHost

Backups and updates

Every app is backed up automatically every night, including its database. Backups are encrypted and incremental and stored in the EU, and you keep restore points for the last 14 days plus four weekly ones. To restore, open the Backups card on your app page, pick a restore point and press Restore. Your current files are saved as a restore point first, so a restore can be undone.

Your snippets, accounts, share links and API keys are all in one database in the app's data folder, which is in the daily backups. Export Snippets on the settings page also gives you a JSON copy at any time.

You can also send backups to your own S3-compatible storage, such as AWS S3, Backblaze B2, Cloudflare R2 or Wasabi, and use SFTP or the file manager to keep your own copies.

Updates

We check for new versions every day and test each one on a copy of the app first. With automatic updates on, a version that passes usually reaches your app within a day or two of us finding it, in your maintenance window. A backup is taken before every update, and if the updated app fails its checks it is rolled back automatically. Major versions wait for our review, so they can take longer. Turn automatic updates on or off, choose the maintenance window or press Update now in the Updates section of the app's Settings.

Each region's default update window and the changelog are on the updates page.

Where to get help

Questions about how ByteStash itself works are best answered by the project's own documentation and community.

Licence
GPL-3.0

CoreHost support

For anything about your app on CoreHost, open a ticket: sign in, go to Support tickets in your control panel and press New ticket. Our AI support answers around the clock and can look at your app's status and logs, and any change it suggests runs only after you confirm it. People take over when needed, during Australian hours.

Deploy ByteStash

From US$1.10/mo in Poland. New accounts start with $5 of credit, no card needed.

Deploy ByteStashPlans and regions