🇬🇧 English • 🇻🇳 Tiếng Việt • 🇯🇵 日本語
Specpin
Pin living business specs onto the elements of your running web UI.
Git-native, local-first, framework-agnostic. No code generation.
Website •
Quick start •
Features •
How it works •
Docs •
Tiếng Việt
What is Specpin?
Specpin attaches business specifications (rules, descriptions, acceptance criteria) directly onto the elements of a running web UI, then renders them in-browser as you hover or browse.
It is not a spec-driven code generator (unrelated to GitHub Spec Kit / OpenSpec): it generates no application code. It is a knowledge layer that pins living, Git-versioned documentation onto the interface you already have. The interface already knows where everything is; Specpin gives it a memory.
- Git-native. Specs live as JSON in your repo's
.specs/ directory: versioned, reviewable via PR, and diffable.
- Local-first. A small Go sidecar serves your specs over a token-authenticated localhost API; by default nothing leaves your machine. Teams can optionally run that same sidecar on their own host behind an HTTPS reverse proxy (see the run guide).
- Resilient links. Elements are matched by multi-signal fingerprints (test-id, aria, selector, xpath, text, position), so specs survive refactors.
- Framework-agnostic. Pure DOM matching works on any site or framework.
How it fits together
.specs/ (in your repo) --> specpin serve (Go sidecar, localhost HTTP + SSE) --> browser extension (match + render)
specpin init scaffolds .specs/manifest.json in your repo.
specpin serve exposes .specs/ over a token-authenticated localhost HTTP API with live-reload (SSE).
- The browser extension connects to the sidecar, matches each spec's fingerprint against the live DOM, and renders it on its element.
Install the extension