Spaces:
Running
Running
CarouselForge β Integration Guide
Setup instructions for all external services. Fill in as each phase is completed.
OpenRouter (Phase 4)
- Sign up at openrouter.ai
- Create API key β add to
.env.localasOPENROUTER_API_KEY - Default model:
anthropic/claude-3-sonnet(cost-effective for structuring) - Fallback:
meta-llama/llama-3-70b-instruct(free tier)
HF Inference (Phase 4)
- Sign up at huggingface.co
- Create access token (read) β add to
.env.localasHF_API_KEY - Used as fallback when OpenRouter fails
Apify (Phase 7)
- Sign up at apify.com
- Create API token β add to
.env.localasAPIFY_API_KEY - Actors used:
apify/instagram-scraper,apidojo/tweet-scraper,apify/website-content-crawler - Free tier: 5$/month credit β sufficient for dev/testing
Zernio (Phase 8)
- Sign up at zernio.com (or equivalent)
- Connect social accounts via OAuth
- Get API key β add to
.env.localasZERNIO_API_KEY
Postiz (Phase 8 β fallback)
- Self-hosted or cloud: postiz.app
- OAuth setup for social platforms
- Get API key β add to
.env.localasPOSTIZ_API_KEY
Telegram Bot (Phase 6)
- Open Telegram β message @BotFather
/newbotβ name: CarouselForge Bot- Copy token β add to
.env.localasTELEGRAM_BOT_TOKEN - Set webhook URL:
{NEXT_PUBLIC_APP_URL}/api/telegram/webhook - For local dev: use ngrok to expose localhost
Docker + HF Spaces (Phase 14)
- Create HF Space (Docker SDK, port 7860)
- Add secrets in Space settings (all env vars from
.env.example) - Push Dockerfile β Space auto-builds
- SQLite DB: mount as HF Dataset for persistence
Updated as each phase is completed.