CoolFace
Apppublic

safaaleigh/translate-swahili-gateway

sourceHugging Faceupdated 3mo agoView on Hugging Face
0likes
App README

translate-swahili gateway

Public auth-injecting proxy to the private translate-swahili-server Space. Browsers can't put an Authorization header on a WebSocket, so this tiny Bun proxy does it server-side: it forwards HTTP and the /conversation WebSocket to the private app Space with Authorization: Bearer <HF_TOKEN>.

No application logic lives here — only forwarding. The app source stays private.

Config (set by scripts/deploy-gateway.py):

  • —secret HF_TOKEN — token with read access to the private Space (encrypted)
  • —variable UPSTREAM_URL — the private Space endpoint