GitHub provider
The GitHub provider turns repository state into files. Issues and pull requests are object-shaped: listings preload useful field leaves, and later reads can render from cached canonical bytes. Repository contents use a tree-ref handoff so the host can expose a cloned repo tree as a real backing path.
At a glance
Section titled “At a glance”| Field | Value |
|---|---|
| Provider id | github |
| Default mount | /github |
| WASM | omnifs_provider_github.wasm |
| Manifest | providers/github/omnifs.provider.json |
| Routes | providers/github/src/lib.rs |
| Auth | GitHub OAuth device flow by default; personal access token also supported |
| Capabilities | api.github.com for API reads; git@github.com:* for repo tree handoff; declared memory need 256 MB |
omnifs init githubomnifs upomnifs shellGitHub supports host-managed auth. The manifest declares api.github.com, git@github.com:*, expected memory needs, and authorization-header injection for GitHub API calls. The provider does not receive your token directly.
Main paths
Section titled “Main paths”/github/{owner}/github/{owner}/{repo}/github/{owner}/{repo}/repo/github/{owner}/{repo}/issues/{filter}/github/{owner}/{repo}/issues/{filter}/{number}/github/{owner}/{repo}/pulls/{filter}/github/{owner}/{repo}/pulls/{filter}/{number}/github/{owner}/{repo}/actions/runs/{run_id}{filter} is the listing filter exposed by the provider, such as open or all. Issue and pull request comments are 1-indexed.
Examples
Section titled “Examples”ls /omnifs/github/0xff-ai/omnifsls /omnifs/github/0xff-ai/omnifs/issues/opencat /omnifs/github/0xff-ai/omnifs/issues/open/42/titlecat /omnifs/github/0xff-ai/omnifs/issues/open/42/item.json | jq .cat /omnifs/github/0xff-ai/omnifs/issues/open/42/item.mdcat /omnifs/github/0xff-ai/omnifs/issues/open/42/comments/1cat /omnifs/github/0xff-ai/omnifs/pulls/open/12/diffls /omnifs/github/0xff-ai/omnifs/repoThe repo path is not a metadata directory. It is a repository tree handoff. If clone/auth fails, inspect SSH agent forwarding and runtime logs.
Cache behavior
Section titled “Cache behavior”Issue, pull request, and run reads use canonical object storage plus rendered view leaves. A first read may fetch a GitHub API payload; later field reads for the same object can render locally from the cached canonical payload until invalidated.
Limitations
Section titled “Limitations”GitHub repo trees use SSH Git handoff. API token auth does not replace SSH agent access for /repo.