Spaces:
Paused
Paused
| title: NexStream Backend | |
| emoji: π¬ | |
| colorFrom: blue | |
| colorTo: indigo | |
| sdk: docker | |
| app_port: 7860 | |
| pinned: false | |
| short_description: NexStream media backend (experimental) | |
| # NexStream Backend β Hugging Face Space | |
| Experimental Docker deployment of the NexStream Express backend. | |
| This Space serves the API only (`API_ONLY=true`). The container listens on | |
| `7860` (matching `app_port`). | |
| ## Required Space secrets | |
| Set these in **Settings β Variables and secrets** (they are injected as env | |
| at runtime): | |
| - `PROXY_SIGNING_SECRET` β pin it so signed `/proxy` links survive restarts | |
| - `COOKIES_URL` β remote cookies source (storage here is ephemeral) | |
| - `ALLOWED_ORIGINS` β your frontend origin(s), comma-separated | |
| - Redis connection vars (e.g. `REDIS_URL`) | |
| - Turso vars (`TURSO_URL`, `TURSO_AUTH_TOKEN`) | |
| - `GEMINI_API_KEY`, `GROQ_API_KEY` | |
| - `YT_PROXY` β optional; residential proxy for YouTube (experiment branch) | |
| `NODE_ENV` is already set to `production` in the Dockerfile (must not be | |
| `test`, or the server won't start). | |