A fast, single-binary publishing server for Obsidian-style vaults, written in Go. Amythest gives you the Quartz experience — wikilinks, backlinks, an interactive spring graph, ⌘K full-text search, a polished reading UI — plus the things a static site generator can't do, at a fraction of the memory.
- Live server, not a build step. Pages render from an mmap'd SQLite index (FTS5) that reconciles with the vault on a fixed interval — the rescan is the freshness guarantee, so there is no file watcher to die. Unchanged notes do not need to be rendered again.
- Obsidian-flavored markdown, AST-based (goldmark):
[[wikilinks]]with#headingand|alias, transclusions with cycle guards, callouts (including unknown types),==highlights==,#tags,[Key:: value]inline fields, checkboxes, chroma-highlighted code, lazy-loaded mermaid. Frontmatter parsing never fails the page — malformed legacy YAML is preserved raw instead of crashing the renderer. - Shared canvases (docs/canvas.md): draw with an agent in Excalidraw or a native Herdr pane; agents read what changed and push Mermaid back, and canvas links render as live drawings in notes and cards.
- Graph view: d3-force on canvas. Local BFS neighbourhood on every page, global graph in a modal, drag/zoom/pan, visited-node tinting.
- Search: server-side SQLite FTS5 with snippet highlighting behind a
⌘K modal — the full corpus never ships to the browser. Archived notes
(frontmatter
archived: true/status: archived, or anarchive/archivedtag — which covers kanbandone.mdboards) are excluded by default; the modal's "Include archived" checkbox orGET /api/search?include_archived=1brings them back, each result flagged with its archived provenance. - Kanban built in. Boards are markdown files inside the vault — human
readable in Obsidian, canonical on disk — managed by a locked, journaled,
crash-safe store with a stable JSON API and an embedded React board UI at
/kanban. Create and organize boards in the UI, pin them in a chosen order, archive dormant boards without deleting their history, delete only boards with no active or archived cards, and use the cross-board Focus view at/kanban/focusto see the most important active work together. - Tasks: Obsidian Tasks emoji syntax (📅 ⏳ 🔁 ⏫ ✅) indexed vault-wide;
```tasksblocks in notes render live results (filters, relative dates, sort/group/limit);/tasksdashboard; file-first/tasks/triageworkflow for undated work (intentional#backlog, real due date, reference bullet, or cancellation);/api/tasks. - Bases:
.baseYAML views over your frontmatter with the Obsidian Bases expression language (note.*,file.*,formula.*,if(), string/number/date/list methods,file.hasTag()…) rendered as table / list / cards / board views at/bases/{name}and inline via```baseblocks. Unsupported expressions degrade to per-cell errors, never broken pages. - Data catalog: import CSVs into a separate SQLite database
(
amythest import csv data.csv), browse and query them read-only at/dborPOST /api/db/query. - Share to notes (
/share): record a voice memo in the browser or drop any file; it lands inAssets/Share/with a wrapping note in_Inbox/. Processor plugins (any executable, declared inshare_plugins:) enrich the note asynchronously — each is probed at startup and activates only when its own configuration is present.examples/plugins/openai-transcribeappends a transcript whenOPENAI_API_KEYis set. The full upload lifecycle and plugin contract are documented ininternal/share/share.go. - MCP endpoint (
/mcp, streamable HTTP, bearer token): agents getsearch_notes(with aninclude_archivedflag),get_note,list_notes,get_graph,query_tasks,query_base,query_sql, and fullkanban_*actions — in-process, same locks as the UI.
For one application login, persistent 90-day browser sessions, and individually revocable agent/collector credentials, see Authentication.
For herdr, Hermes and opt-in Codex lifecycle reporting, see Amythest Collector.
Requires Go ≥ 1.24 and Node (dev-time only, for esbuild).
make build
./bin/amythest -vault ~/notes
# open http://127.0.0.1:8639Configuration: amythest.example.yaml (vault, listen address, data dir,
rescan interval). Secrets are env-only:
| Variable | Purpose |
|---|---|
KANBAN_USERNAME / KANBAN_PASSWORD / KANBAN_SESSION_SECRET |
enable the kanban app |
KANBAN_COOKIE_SECURE=true |
secure cookies behind TLS |
AMYTHEST_MCP_TOKEN |
enable the /mcp endpoint |
Amythest binds loopback by default; put Tailscale Serve or any TLS-terminating proxy in front.
scripts/setup-mac.sh # local server + amy + Herdr shortcuts + collector
scripts/setup-mac.sh --remote https://host/notes # use an existing server instead
scripts/setup-mac.sh --dry-run # see what it would doBuilds and installs ~/bin/amythest and ~/bin/amy; writes
~/.config/amythest/{amythest.yaml,env,cli.yaml} only if missing (private
login on loopback with a generated password, Work enabled); runs the server as
the dev.amythest.server launchd agent (log: ~/Library/Logs/amythest.log);
installs the Herdr App shortcuts and Claude lifecycle integration; then
registers the Work collector (browser approval) and installs its service.
Re-running refreshes binaries and services and keeps config and secrets.
Three opt-in capabilities support container/orchestrator deployments; all
defaults preserve plain local behavior. Every setting is available as a flag
(-log-format) and an env var (AMYTHEST_LOG_FORMAT); flags > env > defaults.
Health probes — /probes/liveness (process up; never touches
dependencies) and /probes/readiness (200 only when the vault + index are
ready, else 503 naming the failing checks). Paths configurable via
AMYTHEST_LIVENESS_PATH / AMYTHEST_READINESS_PATH; the legacy /health
stays as a readiness alias. Probes are always unauthenticated.
Structured logging — AMYTHEST_LOG_FORMAT (text|json),
AMYTHEST_LOG_LEVEL (debug|info|warn|error), AMYTHEST_LOG_OUTPUT
(stdout|stderr), AMYTHEST_LOG_SOURCE. One access-log line per request
(method, path, status, duration, bytes, correlation id) with probe requests
demoted to debug; tokens/cookies are never logged. Each request carries a
correlation id (AMYTHEST_REQUEST_ID_HEADER, default X-Request-Id —
honored inbound, generated otherwise, always echoed). Downstream builds can
wrap the handler via logging.Wrap.
Auth — AMYTHEST_AUTH_MODE: off (default), static (the existing
AMYTHEST_MCP_TOKEN bearer check), or jwt (JWKS-validated bearer tokens:
AMYTHEST_AUTH_JWKS_URI, optional _ISSUER/_AUDIENCE enforced when set,
_ALGS allowlist defaulting to RS256,ES256, _LEEWAY, _JWKS_REFRESH
with unknown-kid refresh for key rotation, optional _REQUIRED_SCOPE →
403). AMYTHEST_AUTH_PROTECT selects the surface: mcp (default), ui, or
all. jwt mode fails startup fast on missing/unreachable JWKS.
Example — JSON logs, JWT protecting only the API/MCP surface:
AMYTHEST_LOG_FORMAT=json \
AMYTHEST_AUTH_MODE=jwt \
AMYTHEST_AUTH_JWKS_URI=https://issuer.example/.well-known/jwks.json \
AMYTHEST_AUTH_ISSUER=https://issuer.example \
AMYTHEST_AUTH_AUDIENCE=amythest \
./amythest -vault ~/notesPrometheus metrics are exposed at /metrics, including HTTP request counts
and duration histograms, vault note/asset gauges, rescan health, heap usage,
and goroutine count. The HTTP series use only method and status-code labels
to avoid unbounded path cardinality.
amy messages demo opens a terminal attention queue with sample conversations,
direct replies, attachment selection, and an IRC interface for Irssi. In amy wall,
Shift+S opens the reply picker with the selected artifact attached. Demo
delivery is simulated; optional Telegram, Signal, and
iMessage connectors add live messages, replies, and attachments after account login. See Messaging POC
for the persistent gateway, herdr action, agent grants, and private configuration.
amy is an interactive TUI for a running server: a today view of what's
due, vault tasks, kanban boards, and notes with wikilink navigation —
toggle tasks and card checklist items (with Obsidian-style ✅
done-dates), quick-add tasks and cards, move or complete cards, and hand
notes or cards to a running herdr agent as context.
make install-amy # builds and installs to ~/bin/amy
amy # Today/Focus; 2 Tasks, 3 Boards, 4 Notes, ? help
amy tasks # open the general vault task list directly
amy add "Water seedlings" # append a task to today's daily note
amy workspace -workspace Garden # workspace dashboard with the wall beside it
amy -check # non-interactive login + connectivity smokeThe endpoint comes from -endpoint, AMYTHEST_ENDPOINT, or
~/.config/amythest/cli.yaml (endpoint: https://host/notes); credentials
come from KANBAN_USERNAME/KANBAN_PASSWORD or ~/.config/amythest/env.
Sessions are cached in ~/.cache/amythest-kanban/session.json, shared with
the kanban.py skill client.
For Cmd+Shift+A (workspace dashboard) and Ctrl+B, a (quick add) in
Herdr App, see Workspace dashboard. The dashboard
keeps Focus, Tasks, Boards, Notes and Search beside the workspace's wall, with
an explicit workspace/All toggle. Workspace mappings live in private cli.yaml.
amy can also aggregate external ticketing sources (Jira today, Azure DevOps
planned) behind internal/source: issues merge into the Today view tagged
[jira] and get their own view on 5 (open in browser, comment, pull onto
a board as a card, send to an agent — never writing state back). Run
amy source init jira to scaffold the sources: config (starts in stub
mode with demo data; real credentials are env-only: JIRA_EMAIL,
JIRA_API_TOKEN). 0 shows each source's health.
amy wall is a feed of what agents produced for one Work project, newest
first: commits (Enter shows the captured diff) and images drawn inline
(Enter enlarges). It is meant for a pane beside the work and needs the Work
module enabled on the server.
amy wall # the current herdr workspace's project
amy wall -project robot # a named project; p switches inside the wall
amy wall -list # print the feed as text and exitamy find is one search across the vault (notes, cards, tasks), what agents
made, tickets from the configured trackers (Jira, Azure Boards), and, in the
Herdr App, the text on screen in open terminals.
amy find # open the search
amy find gait timing # open it with a query- Enter opens the result: a commit's diff or an image right there in the wall, the pane for text on screen, the browser for notes, cards, tasks and tickets.
- Tab goes to the pane a result came from, when that pane is still open on this machine. Ctrl+O opens the browser for anything with a page.
Going to a pane needs the collector registered on this machine, which is how
amy find tells this machine's panes from another's. Tickets come from the
same sources: config as the main screen; any source that can list its items
is searched. In terminal herdr the plugin's find action opens the search as
a popup; in the Herdr App bind a key to terminal.open with argv
["/path/to/amy", "find", "-pane"]. Pressing that key again closes Find
in the current tab; quitting the search also closes its pane.
- Terminal herdr: the plugin in
herdr/has atoggle-wallaction that opens the wall in a split on the right and closes it again. Bind it withtype = "plugin_action",command = "amythest.toggle-wall". - Herdr App: bind a key in
keys.jsonto{"command": "terminal.open", "args": {"place": "right", "argv": ["/path/to/amy", "wall", "-pane"]}}. With-panethe same key closes an open wall and quitting closes the pane. The App does not search your shell's PATH, so give the full path. - Images: real pixels through Kitty graphics where the terminal draws
Unicode image placeholders: the Herdr App, kitty, Ghostty, and terminal
herdr when the terminal it runs in answers a graphics query. Coloured half
blocks elsewhere.
-images kitty|blocks|offoverrides the choice.
internal/vault walker (symlink-safe), slugs, never-fail frontmatter
internal/markdown goldmark pipeline + obsidian extensions
internal/index SQLite: notes, links, tags, tasks, FTS5, render cache
internal/tasks emoji parser + tasks query language
internal/bases expression engine, .base views, CSV catalog
internal/kanban board store (locking/journaling), HTTP API, auth
internal/mcp MCP tools over the same stores
web/ templates, TS islands (graph/search/popover/spa), SCSS
deploy/ systemd unit, staging script, cutover guide
Derived data (-data dir) is disposable: delete it and the next start
reindexes. Schema and renderer changes invalidate it automatically.
make test # unit + golden tests
make compat # boots the server and drives the bundled kanban.py client
# (.claude/skills/kanban) through the full card lifecycle
# (wire compatibility gate)
AMYTHEST_SMOKE_VAULT=~/notes go test ./internal/markdown -run Smoke # full-vault renderAmythest is designed for a single user or small trusted group behind a private network (a tailnet, VPN, or reverse proxy with its own auth):
- The server binds loopback by default and refuses nothing at the network layer beyond that — put TLS and network access control in front.
- Reading notes is unauthenticated. Mutations (task toggles, share uploads) require a valid kanban session when kanban auth is configured; without it they are open to whoever can reach the port.
- Kanban mutations always require login + CSRF; sessions are stateless
HMAC-signed cookies (
SameSite=Strict, HttpOnly) with constant-time verification and login rate limiting. /mcprequires a bearer token (constant-time compared) and is disabled unlessAMYTHEST_MCP_TOKENis set.- Catalog SQL runs on a read-only database connection (
query_only), and only single SELECT statements are accepted. - Vault writes are confined: path-traversal guarded, kanban board files excluded from the generic write paths, atomic temp+rename writes.
- Share plugins are arbitrary executables you configure; they run with the server's privileges. Only list plugins you trust.
MIT — see LICENSE. Visual design derived from Quartz v4 (MIT); see NOTICE.