Skip to main content
GitHubResource exposes a single repository at a ref as a read-only filesystem. Reads stream blobs through the GitHub API. Setup steps for the personal access token live at GitHub Credentials.

Node

The constructor is private: create fetches the repo’s git tree before it builds the resource, so it has to be awaited. Python deliberately differs here: GitHubResource(...) is an ordinary call that contacts nothing, and hydrates the tree on first read, which is what lets its build_resource stay synchronous.

Browser

The token reaches the browser, so use a fine-grained PAT scoped to read-only access on a single repo.

Config

Mount mode

read. Writes are not yet exposed. For the mounted layout (refs, paths, blob caching) see the Python GitHub docs.