Collavre GitHub
GitHub integration engine for Collavre.
Documentation
→ Full Setup Guide — OAuth, webhooks, AI agent, on-premises deployment
Features
- OAuth authentication with GitHub (including GitHub Enterprise)
- Repository linking to Creatives
- Webhook → System Comment automatic creation
- MCP Tools for AI Agents to analyze PRs
- Seed AI Agent: GitHub PR Analyzer (minimal context:
chat_history: 1)
Architecture
GitHub Webhook (pull_request event)
│
▼
System Comment created in linked Creative
│
▼
AI Agent (GitHub PR Analyzer) triggered
│
├── github_pr_details
├── github_pr_diff
├── github_pr_commits
└── creative_retrieval_service
│
▼
Action Comment → User approval → Creative updates
Quick Start
- Register a GitHub OAuth App (details)
- Set
GITHUB_CLIENT_IDandGITHUB_CLIENT_SECRET - Run
rails db:seedto create the PR Analyzer agent - Link a repository to a Creative via the integration modal
Installation
# Gemfile
gem "collavre_github", path: "engines/collavre_github"
License
AGPL