Antigravity Bot is a Telegram-controlled remote automation engine that runs on a cloud server and can dynamically operate inside any project directory.
It supports AI builds, job tracking, logging, and dynamic workspace execution.
Run the bot once.
Control your server remotely.
Bind it to any project folder using a single command.
- AI build command (
/build) - Job status tracking (
/status) - Log inspection (
/logs) - Dynamic workspace support
- PM2 process management
- Cloud deployment ready
- 24/7 execution
- Node.js
- PM2
- Ubuntu (DigitalOcean)
- Telegram Bot API
- AI build integration
- Dynamic working directory binding
The bot supports dynamic workspace binding via CLI argument.
node ~/Antigravity-Bot/index.js $(pwd)pm2 start ~/Antigravity-Bot/index.js --name dynamic-bot -- $(pwd)Add this to your ~/.bashrc:
alias runbot='pm2 start ~/Antigravity-Bot/index.js --name dynamic-bot -- $(pwd)'Reload:
source ~/.bashrcNow you can run:
cd any-project
runbotgit clone https://github.com/yourusername/Antigravity-Bot.git
cd Antigravity-Botnpm installCreate .env file:
BOT_TOKEN=your_telegram_token
OPENAI_API_KEY=your_openai_keypm2 start index.js --name antigravity-bot
pm2 save
pm2 startupRestrict access to your Telegram ID inside your bot logic:
if (ctx.from.id !== YOUR_TELEGRAM_ID) return;Never deploy without access restriction.
Antigravity-Bot/
│
├── index.js
├── config.js
├── jobManager.js
├── logger.js
├── fileWriter.js
├── jobs.json
├── gravity_state.json
├── workspace/
└── package.json
This bot can execute and modify code on your server.
If exposed publicly without authentication, it becomes a remote code execution endpoint.
Always:
- Lock Telegram access
- Validate inputs
- Restrict workspace paths
Built by Ojas.