AI-powered karma building for indie developers
Track relevant posts on Reddit, Hacker News & Indie Hackers — get contextual, genuinely helpful comments generated by Claude AI, delivered straight to your Telegram.
- Keyword Monitor — polls Reddit, HN, and Indie Hackers for posts matching your keywords
- AI Comment Generator — Claude generates platform-aware, helpful comments (not spam)
- Telegram Bot — delivers post + comment with ✅ Approve / ❌ Skip buttons
- Dashboard — Next.js dashboard with daily stats and karma tracking
git clone https://github.com/yourname/karmacraft
cd karmacraft/backend
cp .env.example .env
# Fill in your keys (see Configuration section)docker compose up --build- Backend API: http://localhost:8000
- Dashboard: http://localhost:3000
Backend:
cd backend
python -m venv .venv && source .venv/bin/activate
pip install -r requirements.txt
uvicorn main:app --reloadFrontend:
cd frontend
npm install
npm run dev| Variable | Description |
|---|---|
ANTHROPIC_API_KEY |
Claude API key from console.anthropic.com |
REDDIT_CLIENT_ID |
Reddit app client ID (reddit.com/prefs/apps) |
REDDIT_CLIENT_SECRET |
Reddit app secret |
REDDIT_USER_AGENT |
e.g. KarmaCraft/1.0 by u/yourname |
TELEGRAM_BOT_TOKEN |
From @BotFather on Telegram |
TELEGRAM_CHAT_ID |
Your Telegram user/chat ID (use @userinfobot) |
POLL_INTERVAL_SECONDS |
How often to poll (default: 300 = 5 min) |
karmacraft/
├── backend/
│ ├── monitors/ # Reddit, HN, Indie Hackers scrapers
│ ├── generators/ # Claude comment generation
│ ├── bot/ # Telegram bot (inline keyboard)
│ ├── db/ # SQLAlchemy models + async DB
│ ├── api/ # FastAPI REST routes
│ ├── orchestrator.py # Poll → generate → notify loop
│ └── main.py # App entrypoint + scheduler
├── frontend/
│ └── src/app/ # Next.js 14 App Router dashboard
└── docker-compose.yml
AI-ассистент для наращивания кармы на Reddit, Hacker News и Indie Hackers
Отслеживает новые посты по ключевым словам, генерирует полезные комментарии через Claude AI и доставляет их в Telegram с кнопками одобрения.
- Мониторинг ключевых слов — отслеживает Reddit, HN и Indie Hackers
- Генератор комментариев — Claude создаёт контекстуальные, полезные комментарии с учётом тона платформы
- Telegram-бот — присылает пост + комментарий с кнопками ✅ Одобрить / ❌ Пропустить
- Дашборд — Next.js страница со статистикой за день и отслеживанием роста кармы
cd backend
cp .env.example .env
# Заполните ключи
docker compose up --build- API: http://localhost:8000
- Дашборд: http://localhost:3000
| Переменная | Описание |
|---|---|
ANTHROPIC_API_KEY |
Ключ Claude API (console.anthropic.com) |
REDDIT_CLIENT_ID |
ID Reddit-приложения |
REDDIT_CLIENT_SECRET |
Секрет Reddit-приложения |
TELEGRAM_BOT_TOKEN |
Токен от @BotFather |
TELEGRAM_CHAT_ID |
Ваш Telegram ID (через @userinfobot) |
backend/monitors/ — Мониторы Reddit, HN, Indie Hackers
backend/generators/ — Генерация комментариев через Claude
backend/bot/ — Telegram-бот
backend/api/ — FastAPI эндпоинты
frontend/ — Next.js дашборд