commit 063257bca0f190762189cfafb1652ac4ef42eca5 Author: CD Date: Sat Mar 7 10:12:52 2026 +0900 chore(infra): 프로젝트 초기 설정 - README, .gitignore, requirements.txt, .env.example 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