-
Notifications
You must be signed in to change notification settings - Fork 366
Disgitbot: GitHub‐Discord Integration Platform ‐ Tianqin Meng
Repository: disgitbot
Try the bot: RUXAILAB Discord Server
Student: Tianqin Meng (@tqmsh)
Organization: Uramaki LAB
Project: Integration of GitHub Actions with Discord Role Management
The Disgitbot project creates a comprehensive Discord bot that integrates GitHub activity with Discord communities. The main goals were to:
- Provide real-time GitHub contribution notifications in Discord
- Automate role assignment based on contribution metrics
- Enable AI-powered PR review and labeling
- Create analytics dashboards for community engagement
- Streamline development workflows through intelligent automation
Disgitbot transforms Discord servers into live GitHub activity dashboards. Users make pull requests and automatically get roles. The bot tracks every PR, issue, and commit across repositories, updating Discord roles automatically and using AI to label and review PRs.
The Problem: Managing GitHub contributions across Discord communities is messy. People manually assign roles, forget to label PRs, and lose track of who's contributing what. Teams waste time on administrative tasks instead of building software.
The Solution: Disgitbot automates everything. It tracks your GitHub activity, updates Discord roles automatically, uses AI to label and review PRs, and shows real-time analytics.
The project consists of two main components:
- Repository: ruxailab/disgitbot
- Tech Stack: Python, Discord.py, Google Cloud Run, GitHub API
- Deployment: Discord Bot Setup Guide
- Contribution Tracking - Real-time GitHub activity monitoring
- Smart Role Assignment - Automatic role updates based on contribution levels
- AI Code Review - Google Gemini API integration for PR analysis
- Consistent Labeling - Automated PR labeling system
- Live Metrics - Real-time repository statistics in Discord channels
- Analytics Dashboard - Contributor activity visualization and leaderboards
Your Discord server becomes a live dashboard of your GitHub activity. Make a pull request, get a role. Open 50 PRs, get a better role. The bot watches everything and updates your community automatically.
AI analyzes every PR and assigns labels and reviewers. No more guessing what category a change belongs to or who should review it.
Run /show-stats to see your GitHub activity. The bot tracks every PR, issue, and commit across all repositories. Daily updates through GitHub Actions keep everything current.
First PR gets you "🌸 1+ PRs". Hit 51 PRs and become "🌹 51+ PRs". The system recalculates nightly and updates everyone's roles automatically. Top three contributors get special medals.
Google's Gemini AI reads your PR title, description, and code changes. It predicts the right labels and assigns reviewers from your top contributors. No more manual categorization.
The bot learns your repository's label structure and applies them consistently. Every PR gets properly categorized without human intervention.
Discord voice channels show real-time stats: "Stars: 1,234", "Forks: 567", "Contributors: 89". All your repositories combined into one dashboard.
Charts show contributor activity over time. Compare team performance, spot trends, and see who's leading in different categories. Daily, weekly, monthly, and all-time leaderboards.
Data Pipeline: GitHub Actions runs daily to collect repository data, process contributions, and update Discord. Handles rate limits and scales to hundreds of repositories.
AI Layer: Gemini API analyzes code changes and makes labeling decisions. Gets smarter over time by learning your repository patterns.
Cloud Infrastructure: Google Cloud Run with pay-per-request billing. Throttles resources during low activity, keeping costs low.
After deployment, teams would see faster PR reviews, higher contributor engagement, better project visibility, and less time spent on admin tasks.
Demo: RUXAILAB Discord Server
Code: GitHub Repository
Deploy: Setup Guide
Everything is open source and ready to use.
The architecture supports easy extensions: project management integrations, advanced AI analysis, custom dashboards, and CI/CD pipeline connections.
This project shows how AI can solve real developer problems beyond just generating code. It automates the boring stuff so teams can focus on building great software.
Thanks to the RUXAILAB mentors and GSoC 2025 program for making this possible.
This is a separate repository with no direct pull requests to the main RUXAILAB organization. All development work was completed within the disgitbot repository.
- Discord bot with OAuth GitHub account linking
- Automated role assignment system (Novice to Expert levels)
- AI-powered PR review using Google Gemini API
- Real-time analytics and live metrics display
- Contribution tracking with daily GitHub Actions workflows
- Hall of Fame visualization system
- Repository metrics tracking (stars, forks, contributors)
- Cloud deployment on Google Cloud Run
- Data Pipeline: GitHub Actions runs daily to collect repository data and update Discord
- AI Layer: Gemini API analyzes code changes and makes labeling decisions
- Cloud Infrastructure: Google Cloud Run with pay-per-request billing
- Database: Firestore for storing contribution data and analytics
- Project Documentation: Complete README
- Setup Guide: Discord Bot Deployment Guide
- Implementation Diagrams: Mermaid diagrams showing system architecture
- Timeline & Tasks: Detailed project timeline with completed milestones
- Gallery: Screenshots demonstrating all implemented features
- Live Demo: RUXAILAB Discord Server
Submitted as part of Google Summer of Code 2025 – Final Work Proof
© 2025 RUXAILab • Developed by Tianqin Meng
-
Overview
- GSoC 2024
- Eye Tracking Algorithm Optimization Based on Low‐Resolution Cameras ‐ Sitam Meur
- Implementation of the Card Sorting Evaluation Method ‐ Julio Manoel
- Sentiment Analysis for Moderated Usability Tests (Audio) - Basma Elhoseny
- GSoC 2025
- Transcription Tool for Usability Testing - Basma Elhoseny
- UI Layout Optimization for RUXAILAB and Migrating the Codebase to Vue 3 - Sahitya Chandra
- Disgitbot: GitHub-Discord Integration Platform - Tianqin Meng
- AI-Powered Accessibility Evaluation in Ruxailab - Vishal Kumar
- Improving User Testing with Eye Tracking, Sentiment Analysis & Pre Post Tasks ‐ João Franzoni