Repositories
A repository is a named, publishable snapshot of your records. Create it with one command, publish it with another, and anyone you choose can read it even when your workspace is offline.
A repository gives a body of records a public name and a publish
button. Your workspace is the private, living copy of your work. A
repository is the part you choose to put on the shelf, under a handle like
acme/product-notes, signed by you, and browsable by others.
The handle
A repository handle is a slash name:
{namespace}/{repository}acme/product-notes names the repository product-notes owned by the
acme namespace. The handle is just a name, its namespace and its owner. The records stay where they are; publishing takes a snapshot.
spl repo create acme/product-notes
spl repo list
spl repo show acme/product-notesCreating a handle publishes nothing. It reserves the name and records who owns it, as a record in your workspace.
Publishing
spl repo publish acme/product-notes --dry-run # build the snapshot locally, upload nothing
spl repo publish acme/product-notes # snapshot, sign, publishPublishing:
- Snapshots the repository's records at this moment. Readers see a fixed published state, not your live workspace.
- Signs the snapshot with your identity. Anyone reading it can verify who published it and that nothing was altered.
- Uploads it to published storage with a signed listing, so it stays readable even when your workspace is off.
Publish again whenever you want to update what others see. Each publish is a new signed snapshot.
Choosing how much detail travels
--visibility public (the default) publishes the records as-is. The
reduced-detail levels publish progressively less (structure without
content), for when you want to share the shape of the work rather than the
work itself. See the Graph for how readers
experience each level.
Reading a repository
A published repository is browsable at its handle on any Graph node that carries it, for example:
https://graph.syncropel.com/acme/product-notesNo account and no credential is needed to read what was published as public. What readers see (overview, records, the catalog of knowledge units) comes entirely from the published snapshot.
What repositories are not
- Not sync. Federation moves live records between paired workspaces; a repository is a signed publication. Use federation for collaboration, repositories for publishing.
- Not a backup. A snapshot of chosen records at chosen detail is not a recovery mechanism. See Backup & restore.
- Not required. You can use a workspace forever without publishing anything.
See also
- Publishing a repository: the operate guide (create → dry-run → publish → verify)
- The Graph: where published work is read
- Namespaces: the ownership boundary handles live under
The Graph
The Graph is how Syncropel workspaces find and reach each other. It is a pattern, not a service. Any workspace can be a node and no one owns it.
Workspaces
A workspace is a record that carries a complete interactive surface, what to show, how to lay it out, and what it is allowed to do. Install one, use it, write your own.