This guide covers the optional organisation service. Configuration, console and API paths refer to your Lolly Work instance. The packaged console keeps its release-matched copy of this guide.
Keep your catalog as a JSON manifest in a git repository, and Lolly Work federates the files it lists, read over raw HTTP from the branch you choose. Changes go through your usual review and merge, so the repository history is the catalog's history.
What you need from the repo host
- A raw-content base URL for the branch, such as
https://raw.githubusercontent.com/acme/brand/main. - A read token if the repository is private: a fine-grained token with contents: read on GitHub, or a read token on GitLab or Gitea. A public repository needs no credential.
- A manifest committed to the repository,
lolly-catalog.jsonby default, listing each file by path:{ "assets": [ { "path": "logos/summit.svg", "name": "Summit Logo", "type": "vector", "sections": ["Logos"], "tags": ["event"] } ] }
Only path is required. A path containing .. is dropped, and only paths the manifest lists can be fetched.
Credential shape
A single token string, or none for a public repository. It is sent as Authorization: Bearer <token> unless options.authHeader gives another header name, such as PRIVATE-TOKEN for GitLab.
lw providers credential acme-git # prompts; skip this for a public repoinstance.json / lw providers add
{
"id": "acme-git",
"kind": "git",
"label": "Acme Brand (git)",
"options": { "rawBase": "https://raw.githubusercontent.com/acme/brand/main", "manifestPath": "lolly-catalog.json" },
"exposure": { "groups": ["engineering"] }
}| Option | What it does |
|---|---|
rawBase (required) | The raw-content base. Every path resolves under it and is pinned to its host, so a manifest cannot send the driver to another host. |
manifestPath | Default lolly-catalog.json. |
authHeader | The header name for a token that is not sent as Bearer. |
Verify
lw providers preview --kind git --options '{"rawBase":"https://raw.githubusercontent.com/acme/brand/main"}'
lw providers health acme-gitA 404 on the manifest means a wrong rawBase or manifestPath, or a branch with no such file.
Notes / limits
- No server-side search and no expiring links. Each file is fetched over raw HTTP and streamed on request.
- The exit works, though a catalog kept in git is usually kept there.
Use as an offboarding destination
A self-hosted forge such as Gitea can hold a small, curated replacement catalog. Export and review permitted files, commit them with the manifest described above, then connect the raw-content endpoint. Lolly Work reads the repository and does not push the migration into Git. Plan file sizes, metadata, access and replacement references separately.
The path chooser compares this route with self-hosted Lolly Work storage and other destinations, with open-source options first.