Documentation
    Preparing search index...

    A lightweight, HTTP-based GitHub Git client that runs in standard Web / WebView environments without requiring native git binary dependencies or Node.js process execution.

    Index

    Constructors

    • Parameters

      • config: { branch?: string; owner: string; repo: string; token: string }

      Returns GithubHttpClient

    Methods

    • Downloads a file's raw content by its blob SHA.

      Parameters

      • sha: string

      Returns Promise<string>

    • Fetches the repository file tree recursively.

      Returns Promise<{ path: string; sha: string; type: string }[]>

    • Parses a Markdown note containing a YAML frontmatter block.

      Parameters

      • content: string

      Returns { body: string; metadata: Record<string, any> }