mooncak397
Claude Sonnet 5.5
M0: repo skeleton, ADRs, profile, rules v1, golden set (30 cases), checks
6a730b0 |
Download docs/adr/004-frontend-github-pages.md from christopher-dev/recruiter-assistant: direct link, hf CLI and curl.
- Browser
- Download file 860 Bytes
-
https://huggingface.co/spaces/christopher-dev/recruiter-assistant/resolve/main/docs/adr/004-frontend-github-pages.md
- Command line
-
hf download hf://spaces/christopher-dev/recruiter-assistant/docs/adr/004-frontend-github-pages.md
-
curl -L -o 004-frontend-github-pages.md https://huggingface.co/spaces/christopher-dev/recruiter-assistant/resolve/main/docs/adr/004-frontend-github-pages.md
860 Bytes
| # ADR-004: Frontend as plain static files on GitHub Pages | |
| Status: accepted, 2026-11-22. | |
| Options: plain HTML/CSS/JS with no build; a small Vite + framework app; the Space's own Gradio UI. | |
| Decision: plain HTML, CSS and one `app.js`, deployed by `pages.yml`. | |
| Why: one chat box, one contact form and one privacy page do not need a framework. No build step means nothing to break and less for Christopher to maintain. Gradio would look like every other demo and would ignore the GitHub Pages decision. | |
| Consequences: Mila can give it a visual design later without changing the architecture. The Turnstile site key is public by design and sits in `app.js`. The backend allows CORS only from `https://<user>.github.io`. The page has an EN/DE switch for its own fixed texts (intro, form labels, privacy note); the chat follows the recruiter's language on its own. | |