Skip to content

Turbo31150/github-social-automation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GITFLOW-AI

License: MIT JavaScript Claude GitHub GraphQL Comet Telegram Score JARVIS


Automatisation GitHub IA -- Scan notifs -- Analyse Claude -- Comet bridge onglets IA -- Multi-publish -- Profile builder

Systeme d'automatisation sociale GitHub -- scan, generation IA, publication multi-canal, score de visibilite

Pipeline · Comet Bridge · Modes · Profile Builder · Installation


Presentation

GITFLOW-AI automatise l'ensemble de l'activite GitHub : scan des notifications et organisations, analyse par Claude API, publication multi-canal (README profil, issues, commentaires, discussions), et scoring de visibilite. Le Comet Bridge capture les reponses des onglets IA ouverts (Claude, ChatGPT, Gemini) pour les poster directement sur GitHub sans credential API.


Pipeline

GitHub API (notifs + orgs)
        |
        v
  Claude API Analysis          impact_score 0-100
  generate_content()           priorities + actions
        |
        v
  +---------------------+
  |  Multi-Publish      |
  |  README profil      | <-- Turbo31150/Turbo31150
  |  Issues / Comments  | <-- any repo
  |  Star / Watch       | <-- discovery
  |  Telegram alert     | <-- notification
  +---------------------+
        |
        v
  Profile Builder              score visibilite 0-100
  badges + suggestions         badgeset dynamique

Features

Feature Description
Notification Scanner Batch scan of GitHub notifications with smart grouping
Organization Discovery Trending repos and org activity monitoring
Claude AI Analysis Impact scoring 0-100, priority ranking, content generation
Comet Browser Bridge Capture AI tab responses (Claude/ChatGPT/Gemini) and post to GitHub
Multi-Channel Publish README profile, issues, comments, stars, watches
Profile Builder Visibility score 0-100 with badge suggestions
Telegram Alerts Real-time notifications for important events
OpenClaw Scheduler 4-agent rotation for continuous automation

Structure

github-social-automation/
+-- README.md
+-- package.json
+-- .env.example
+-- src/
|   +-- main.js                <-- Orchestrateur (4 modes)
|   +-- scanner/
|   |   +-- notifications.js   <-- Scan notifs groupees
|   |   +-- orgs.js            <-- Orgs + trending
|   +-- ai/
|   |   +-- claude.js          <-- Generation Claude API
|   |   +-- comet_bridge.js    <-- Bridge onglets IA
|   +-- publisher/
|   |   +-- readme.js          <-- Update README profil
|   |   +-- issues.js          <-- Issues / commentaires
|   +-- profile/
|       +-- builder.js         <-- Score + badges
+-- openclaw/
    +-- github_social.yaml     <-- Scheduler 4 agents

Modes

Mode Command Description
Full node src/main.js Complete pipeline: scan + AI + publish + profile
Scan node src/main.js --mode=scan Scan notifications only
Publish node src/main.js --mode=publish Scan + AI analysis + publish
Profile node src/main.js --mode=profile Profile score and badge generation

Comet Bridge

Le module phare -- capte les onglets IA ouverts dans Chrome et y envoie des prompts :

const { CometBridge } = require('./src/ai/comet_bridge');
const bridge = new CometBridge();

await bridge.connect();
// -> [Comet] Onglet claude detecte
// -> [Comet] Onglet chatgpt detecte

// Demander a une IA et poster le resultat sur GitHub
await bridge.aiToGitHub({
  fromTab:    'claude',
  prompt:     'Genere un rapport de performance hebdomadaire',
  repo:       'Turbo31150/jarvis-linux',
  type:       'new_issue',
  identifier: 'Rapport IA -- semaine 12',
});

Comet Bridge Flow

+----------+     +-----------+     +----------+     +--------+
| Prompt   | --> | Chrome    | --> | AI Tab   | --> | GitHub |
| Engine   |     | CDP 9222  |     | Response |     | API    |
+----------+     +-----------+     +----------+     +--------+
                      |
              +-------+-------+
              |       |       |
           Claude  ChatGPT  Gemini

Profile Builder

const { buildProfile } = require('./src/profile/builder');
const profile = await buildProfile('Turbo31150');

// {
//   visibility_score: 78,
//   total_stars: 12,
//   badges: ['Prolific Builder', 'AI Automator', 'Active Contributor'],
//   suggestions: ['Ajouter des topics aux repos', 'Enrichir la bio']
// }

Score Breakdown

Metric Weight Description
Stars received 25% Total stars across all repos
Contribution frequency 20% Commits, PRs, issues per week
README quality 15% Badges, structure, completeness
Topic coverage 15% Repos with topics assigned
Bio completeness 10% Profile avatar, bio, links
Community engagement 15% Comments, discussions, reviews

Installation

git clone https://github.com/Turbo31150/github-social-automation.git
cd github-social-automation
npm install
cp .env.example .env
# GITHUB_TOKEN=ghp_... / CLAUDE_API_KEY=sk-ant-...
node src/main.js --mode=profile

Configuration

Variable Description Required
GITHUB_TOKEN GitHub Personal Access Token Yes
CLAUDE_API_KEY Anthropic Claude API key Yes
TELEGRAM_BOT_TOKEN Telegram bot token No
TELEGRAM_CHAT_ID Telegram chat ID No
COMET_CDP_PORT Chrome DevTools Protocol port No

JARVIS Ecosystem

Project Description
jarvis-linux Distributed Autonomous AI Cluster
github-social-automation GitHub Social Automation (this repo)
browser-mcp-orchestrator Dual-Browser DevTools Orchestration
lumen Multilingual Live AI Web App

Franck Delmas (Turbo31150) · github.com/Turbo31150 · Toulouse

GITFLOW-AI -- GitHub Social Automation -- MIT License

Freelance profile: codeur.com/-6666zlkh