- Provided query handlers:
- GitHub user search (users and organizations)
- GitHub repository search
- GitHub issue search (issues and pull requests)
- Saved searches
- Item actions
- User / Organization
- Show on GitHub.
- Repository
- Show on GitHub.
- Show issues on GitHub.
- Show pull requests on GitHub.
- Show discussions on GitHub.
- Show wiki on GitHub.
- Issue / Pull request
- Show on GitHub.
- Saved search
- Run.
- Run on GitHub.
- User / Organization
- Authentication allows for private access and higher rate limits.
- Search handlers fetch results on demand (infinite scroll).
GitHub has a complex rate limiting system. Authenticated access has higher rate limts. For Albert this means you get faster average response times.
- Create an OAuth app on GitHub. (GitHub docs)
- Give it a name.
- Give it a random website.
- Add Redirect URI
albert://github/. - Click Register application.
- Click Generate a new client secret.
- Insert Client ID and Client secret in the plugin settings and click the authorize button.
- Shipping embedded credentials introduces an external dependency (that may break functionality).
- Shipping embedded credentials in an open source project is difficult to distribute.
- Uses the GitHub Web API (API version: v2022-11-28).
- See the used endpoints and scopes in
github.h.