Focused Tool · Apache 2.0 · Single Binary · Developer Tools

Self-hosted code snippet manager

Save code snippets with tags, search instantly, share links to teammates. The private Gist you can run yourself. Never lose a useful snippet in Slack history again.

Install Codex Free Complete — all 150 tools — $1 first month

An agency managing snippets for multiple clients runs one Codex instance per client on isolated VMs. Each instance gets its own data directory. There is no shared database, no multi-tenant risk, no worry about one client's data appearing in another client's export.

What Codex replaces

Teams outgrow spreadsheet-based snippets tracking around the same time they realize SaaS alternatives want $15 to $50 per seat per month. Codex is a single binary that handles the same job without the recurring bill or the vendor dependency.

Endpoints
How it works

On first launch, Codex initializes a WAL-mode SQLite database and starts an HTTP server. The web dashboard and API share the same port. Creating a snippet is a POST with JSON — the only required field is title. The response includes the generated ID and timestamp. Listing supports search, filtering, and returns items in reverse chronological order.

GitHub Gist Pro at $4/mo.

Self-hosted code snippet manager. Self-hosted on your infrastructure. Your data never leaves your server.

Quickstart

Running in under a minute.

Download
curl -fsSL https://stockyard.dev/install.sh | sh -s -- --tool codex
Run
PORT=8650 ./codex
Open
http://localhost:8650

Single binary. Embedded SQLite. No Docker. No database. No dependencies.

Pricing

Free to start. Pro when you need it.

Free
$0
forever
  • 50 snippets
  • Single binary, embedded SQLite
  • Apache 2.0 — modify freely
Pro
$0.99
per month
  • Unlimited snippets, private sharing, syntax highlighting, export
  • License key, no cloud dependency
  • Email support

License key by email. One env var.

Your license key arrives by email within 5 minutes of checkout. Set it as an environment variable and restart the binary.

export STOCKYARD_LICENSE_KEY=SY-xxxxxxxxxxxxxxxxxxxx
./codex

No cloud connectivity required. The binary validates the key offline with Ed25519 signatures.

Part of the Stockyard family — 150 focused self-hosted tools · Complete bundle — $1 first month · stockyard.dev