Skip to content

ChatGPT Plugin/Action that searches and accesses GitHub repositories.

License

Notifications You must be signed in to change notification settings

Nativu5/RepoMate

Repository files navigation

RepoMate - ChatGPT Plugin for GitHub Repos

RepoMate is a ChatGPT Plugin/Action for accessing and searching GitHub Repositories.

Try it out

You could try it out right here (ChatGPT Plus required).

If you don't have a ChatGPT Plus subscription, please read about Assistants API and use https://repo-mate.api.naiv.fun as your Assistant API endpoint.

注意:现已支持百度文心一言,可通过邀请链接加入测试。

Deploy yourself

  1. Sign up for Cloudflare Workers. The free tier is more than enough for most use cases.
  2. Install wrangler, the Cloudflare Workers CLI.
  3. Clone this project in any development environment and install dependencies with npm install.
  4. Run wrangler login to login to your Cloudflare account in wrangler.
  5. Run wrangler deploy to publish the plugin to Cloudflare Workers.

Features

  • Search repositories
  • Fetch repository metadata
  • Fetch the tree structure of the repository
  • Fetch content of files in the repository

TODO:

  • Replace fetch with Octokit.js.
  • Add support for shipping with GitHub Personal Token.
  • Add optional authentication.