From 063257bca0f190762189cfafb1652ac4ef42eca5 Mon Sep 17 00:00:00 2001 From: CD Date: Sat, 7 Mar 2026 10:12:52 +0900 Subject: [PATCH] =?UTF-8?q?chore(infra):=20=ED=94=84=EB=A1=9C=EC=A0=9D?= =?UTF-8?q?=ED=8A=B8=20=EC=B4=88=EA=B8=B0=20=EC=84=A4=EC=A0=95=20-=20READM?= =?UTF-8?q?E,=20.gitignore,=20requirements.txt,=20.env.example?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env.example | 11 +++++++++++ .gitignore | 26 ++++++++++++++++++++++++++ README.md | 28 ++++++++++++++++++++++++++++ requirements.txt | 3 +++ 4 files changed, 68 insertions(+) create mode 100644 .env.example create mode 100644 .gitignore create mode 100644 README.md create mode 100644 requirements.txt diff --git a/.env.example b/.env.example new file mode 100644 index 0000000..2f21c9e --- /dev/null +++ b/.env.example @@ -0,0 +1,11 @@ +# Discord Bot Token +DISCORD_TOKEN=your_discord_bot_token_here + +# Discord Channel ID (메인 채널 — 세션 스레드가 여기에 생성됨) +DISCORD_CHANNEL_ID= + +# Antigravity Brain Path +BRAIN_PATH=C:\Users\Certes\.gemini\antigravity\brain + +# Watcher Settings +DEBOUNCE_SECONDS=2 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..58b577e --- /dev/null +++ b/.gitignore @@ -0,0 +1,26 @@ +# Python +__pycache__/ +*.py[cod] +*.egg-info/ +dist/ +build/ +*.egg + +# Environment +.env +.venv/ +venv/ + +# Agents (contains tokens) +.agents/ + +# IDE +.vscode/ +.idea/ + +# OS +Thumbs.db +.DS_Store + +# Logs +*.log diff --git a/README.md b/README.md new file mode 100644 index 0000000..db98d88 --- /dev/null +++ b/README.md @@ -0,0 +1,28 @@ +# Gravity Control — Antigravity Discord Bridge + +Antigravity IDE의 에이전트 활동을 Discord로 실시간 중계하는 브리지 시스템. + +## 개요 + +- **Watcher**: `~/.gemini/antigravity/brain/` 디렉토리 감시 +- **Parser**: `task.md`, `implementation_plan.md` 등을 Discord 텍스트로 변환 +- **Discord Bot**: 세션별 채널 자동 생성, 상태 embed, 텍스트 중계 + +## 설치 + +```bash +pip install -r requirements.txt +cp .env.example .env +# .env 파일에 DISCORD_TOKEN 설정 +``` + +## 실행 + +```bash +python main.py +``` + +## 프로젝트 관리 + +- **Git**: https://git.variet.net/Variet/gravity_control +- **Tasks**: https://plan.variet.net/projects/8 diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 0000000..fd70f56 --- /dev/null +++ b/requirements.txt @@ -0,0 +1,3 @@ +discord.py>=2.3.0 +watchdog>=3.0.0 +python-dotenv>=1.0.0