glyphd is the headless self-hosted Glyph server. It is not a GitHub UI clone. Its first job is Glyph-native preservation and coordination: projects, token auth, content blobs, graph records, work contexts, claims, publications, and race-safe sync cursors.
GitHub remains useful as a public mirror. glyphd is for the Glyph graph itself.
Start A Server
Create an admin user, token, and project:Log In From The CLI
Store the token in the local Glyph credentials directory:.glyph/credentials/ and are not part of public Git export.
Add A Glyph Sync Remote
glyph remote sync dispatches by remote mode:
| Mode | Behavior |
|---|---|
export-only | Export public to Git/GitHub. |
glyph-sync | Sync full Glyph graph records and content blobs with glyphd. |
What Sync Preserves
V1 sync preserves the full graph data available in the current local store:- realms
- source and content records
- content blobs
- work contexts
- current unpublished workspace files
- snapshots and checkpoints
- claims, heartbeats, dependencies, and conflicts
- publications and semantic publication metadata
- remotes, mounts, hook runs, and audit events
work_file records so unpublished work can move between devices. Rich historical snapshot reconstruction can be added once snapshots store tree maps.
Race Safety
Each project has a monotonic server cursor. Pushes include the client’s last known cursor. If another device moved the server forward:- append-only records can still be accepted when they do not touch guarded state
- guarded changes fail with
409 conflict - guarded state includes realm publications, claims, work context status, source paths, and workspace files