Commit Graph

12 Commits

Author SHA1 Message Date
restitux b1421f7dd5 frontend: attach auth credentials to all API requests
Add Authorization Bearer header to all fetch calls (apps, stream
start). Handle 401 responses by clearing token and redirecting to
login. Pass stream_token from the stream start response through to
the WebTransport URL as a query parameter for proxy authentication.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-16 15:12:25 +00:00
restitux 00e38c9e17 frontend: add login page and auth guard
Add authentication flow to the frontend:
- authStore with token management (localStorage persistence)
- Login page with username/password form at /login
- Layout-level auth guard that redirects to /login when no valid
  session exists, validates token on load via GET /api/auth/me
- Top navigation bar showing username and admin link when applicable

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-16 15:12:25 +00:00
restitux e80543144a backend and frontend: support out of order chunks + now it's performant on chrome 2025-08-12 02:20:46 -06:00
restitux 7afd8db8d8 backend and frontend: port frame sending to flatbuffers 2025-08-10 21:02:03 -06:00
restitux 209c1cffc4 frontend: port video decoding to web worker 2025-08-10 02:53:16 -06:00
restitux a78bb2460e frontend: refactor input functions to their own file 2025-08-10 01:29:56 -06:00
restitux d5e341e232 frontend: support input + refactoring 2025-08-10 01:24:39 -06:00
restitux d4777fcf08 frontend: stream and fullscreen cleanup 2025-08-09 14:22:34 -06:00
restitux 9f9bb68e22 frontend: improve stream UI and add fullscreen 2025-08-09 01:35:09 -06:00
restitux 31481c6812 frontend: improve launch UI and refactor stream to new page 2025-08-08 00:18:38 -06:00
restitux a11a12828c frontend: video streaming now works!!
- changed the backend to append the buffers together and dispatch them
  as such (this is what moonlight-embedded does)
- fixed the frontend trying to playback an empty buffer because types
  are hard (this is why I should have used protobuf...)
2025-07-21 02:06:55 -06:00
restitux 7a2b0fd4d6 frontend: add svelte frontend 2025-07-20 23:51:54 -06:00