mirror of
https://github.com/phantomptr/ps5upload.git
synced 2026-10-19 02:20:02 -05:00
The page the helper serves on the PS5 itself: client/src/console/ built by vite.console.config.ts into one self-contained dist-console/index.html (script and styles inlined, safari13, 253 KiB raw / 84.5 KiB gzip; the build fails over 450 KiB raw or 150 KiB gzip). payload/Makefile gzips it into build/webui_page.c and the helper serves it at GET /, with GET /api/token for the per-start token. - Shell: top bar (logo, console chip from /api/status), rail of the implemented sections (Home, Files, Settings placeholders), hint bar showing only verified bindings, reload banner on a 401. - nav.ts: spatial focus (aligned neighbours first), the R11 default input table (keyboard + Gamepad "standard", all unverified), D-pad repeat. - api.ts: token fetched once, X-PS5U-Token on every POST, 401 → expired. - strings.ts: cw_* keys from all 21 locales via build-console-strings.mjs (vm-eval like the i18n gate), English fallback. - CI: client npm ci before every make payload. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01RxCGb8Asp1A1AQYiv1kbgS
11 lines
380 B
C
11 lines
380 B
C
/* The console web page: client/dist-console/index.html gzip'd (-9n) and embedded by xxd as
|
|
* build/webui_page.c (payload/Makefile, from `npm run build:console` in client/). Served as is
|
|
* at GET / with Content-Encoding: gzip. */
|
|
#ifndef PS5UPLOAD_WEBUI_PAGE_H
|
|
#define PS5UPLOAD_WEBUI_PAGE_H
|
|
|
|
extern unsigned char webui_page_gz[];
|
|
extern unsigned int webui_page_gz_len;
|
|
|
|
#endif
|