The GitHub integration syncs issues and pull requests from your selected repositories into Mains’s entity store. Once synced, GitHub data is searchable locally and available as context in AI chat conversations.Documentation Index
Fetch the complete documentation index at: https://docs.mains.dev/llms.txt
Use this file to discover all available pages before exploring further.
Authentication
GitHub uses OAuth for authentication. When you connect GitHub, Mains will open a browser window to authorize access. The resulting token is stored encrypted in the local database.Mains requests read access to issues and pull requests. Write actions (updating issues, adding comments) go through the outbox system for offline-first reliability.
Setup
Connect GitHub
Go to Settings > Apps and click Connect next to GitHub. A browser window will open for OAuth authorization.
Select Repositories
After authorization, choose which repositories to sync. Only issues and pull requests from selected repositories will be fetched.
