-
Notifications
You must be signed in to change notification settings - Fork 0
Setup Guide
Mundo edited this page Apr 8, 2026
·
2 revisions
- Node.js 22+
- pnpm
- A PostgreSQL database (recommended: Neon free tier)
git clone https://github.com/DamengRandom/oh-my-workers.git
cd oh-my-workers
pnpm installcp .env.example .envFill in your .env:
# AI
ANTHROPIC_API_KEY= # from console.anthropic.com
# GitHub
GITHUB_TOKEN= # github.com/settings/tokens (read:user, repo scopes)
TARGET_GITHUB_USERNAME= # your GitHub username
# Database
DATABASE_URL=postgresql://... # Neon connection string
COMPANY_DB_URL=postgresql://... # Company DB for cleanup
# Telegram
TELEGRAM_BOT_TOKEN= # @BotFather on Telegram → /newbot
TELEGRAM_CHAT_ID= # message @userinfobot to get your chat ID| Key | Where to get it |
|---|---|
ANTHROPIC_API_KEY |
console.anthropic.com |
GITHUB_TOKEN |
github.com/settings/tokens — select read:user and repo scopes |
TELEGRAM_BOT_TOKEN |
Message @BotFather on Telegram → /newbot
|
TELEGRAM_CHAT_ID |
Message @userinfobot on Telegram — then start your bot first |
- Remove
&channel_binding=requirefrom Neon connection URLs — thepglibrary doesn't support it - Make sure the URL includes
?sslmode=require
pnpm run setupThis creates all tables (kpi, diary, cleanup_log, github_trending) if they don't exist.
pnpm news # test GitHub trending pipeline → check Telegram
pnpm start # test KPI pipeline (interactive)See GitHub Actions for automated deployment setup.