Skip to content

Support indexing a dApp's own GitHub wiki/docs folder directly #2

Description

@rowlandelisha

DOC_SOURCES (see server/src/config.js and server/src/ingest.js) currently only accepts individual page URLs. Add support for pointing it at a GitHub repo path (e.g. a /docs folder or the repo's wiki) and walking it via the GitHub API so a dApp can index their whole docs tree without listing every URL by hand.

Suggested scope:

Accept a github:owner/repo/path style source in DOC_SOURCES
Use the GitHub Contents API to list and fetch markdown files recursively
Reuse the existing chunk/embed pipeline in ingest.js

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions