Skip to content

Deployment

How every component of Thamizhi is deployed.

┌──────────────────────────────────────────────────────────────┐
│ DEPLOYMENT MAP │
├──────────────────────────────────────────────────────────────┤
│ │
│ GitHub Actions ── scraping cron jobs │
│ │ │
│ ▼ │
│ Cloudflare Workers ── API backend (TypeScript) │
│ │
│ Cloudflare Pages ── Documentation + Web App (static) │
│ │
│ Groq ── AI Inference │
│ │
│ Cloudflare R2 ── Image/File Storage │
│ │
└──────────────────────────────────────────────────────────────┘
Terminal window
# Deploy API backend
npm create cloudflare@latest thamizhi-api
# Write Wrangler config
# Deploy: npx wrangler deploy
Terminal window
# Build docs site
npm run build
# Deploy via Wrangler or GitHub integration
npx wrangler pages deploy dist/
Terminal window
# Add secrets to GitHub repo:
# GROQ_API_KEY
# Push .github/workflows/scrape.yml