Tiny static web app for the Pittsburghese translator.
This repo is meant to be deployed behind your central Traefik instance. It serves a single static frontend and lets the user's browser download the model from Hugging Face Hub.
public/index.html– the app UIpublic/config.js– small config file with the Hugging Face model IDDockerfile– tiny nginx static imagedocker-compose.yml– Traefik-ready service definition.env.example– set your domain
- Push the model repo to Hugging Face
- Set the final model ID in
public/config.js - Copy
.env.exampleto.envand setDOMAIN=... - Run
docker compose up -d - Make sure the container joins the external
traefik-netnetwork used by your central proxy
- The model is not baked into the container
- The browser downloads the ONNX files from Hugging Face, then caches them locally
- Your droplet only serves the tiny frontend shell