This Cloudflare Worker serves static learning content (pseudocode, explanations, exam questions) for the SmartFlow tutor feature. It exposes a versioned REST API that the frontend uses to load algorithm training data — available in German and Persian.
It also proxies YouTube search results via the Innertube API for in-app video recommendations.
Live app: https://barakzai.cloud · Main repo: aryanbarak/smartflow
| Method | Path | Auth | Description |
|---|---|---|---|
GET |
/v1/health |
Public | Health check |
GET |
/v1/topics |
Token + Origin | List available topics |
POST |
/v1/run |
Token + Origin | Return content JSON for a topic/language/mode |
GET |
/search?q= |
Origin only | YouTube search proxy |