winzik/engine/web
Repository files (latest commit first)
Filename Latest commit message Latest commit date
David Nurdin 070aece6b4 PWA: offline bar and "new version" bar of the page, the cached build really starts offline
- jumphp-pwa.js (pwa on, not framed by a portal): a small bar while the network is gone (also when the
  worker had to answer from its cache while navigator.onLine says true; a probe takes it away when the
  network is back) and a "new version, reload" bar when a newer build waits (Pwa::applyUpdate()),
  14 languages
- sw.js: tells the page it was opened from the cache (to the new page of a navigation, and on request:
  {type: 'jumphp:offline?'}), an unversioned file falls back to the cached one, redirects never kept
- jumphp.js hears the worker from the start (window.JUMPHP_OFFLINE, event 'jumphp:offline')
- package-web.sh: jumphp.js was missing from version.json, so the worker never cached it and a
  normal build with pwa on did not start offline
- AGENTS.md: the bars, and the playground's games installed as apps of their own and played offline

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01JkYTqsvYu6AYr9yQ3Q4Nt6
2026-11-15 20:34:33 +01:00
..
tauri Hybrid games in one window: the SDL game drawn inside its Tauri window (app.embed) 2026-11-01 08:38:55 +01:00
index.html JumPHP IDE: the visual editor of forms (graphic PHP apps without HTML), double click writes the event in the code behind; New Project: graphic app, mobile app 2026-11-01 22:59:37 +01:00
jumphp-app-frame.js Desktop apps in the browser and on phones: bin/jumphp build <app> 2026-11-01 12:04:53 +01:00
jumphp-app.js Desktop apps on phones: the page keeps out of the notch / status bar (safe-area padding, viewport-fit=cover) 2026-11-04 21:45:56 +01:00
jumphp-cryo-worker.js Cryo\Sandbox dans le navigateur : sandboxes asynchrones dans des Web Workers (jumphp-cryo.js, jumphp-cryo-worker.js), JumPHP\Cryo\SandboxLoop (pump par la boucle ReactPHP, wait() -> Task), export _cryo_sandbox_step, ext-cryo c761cab, docs/cryo.md, démo games/cryo-sandbox-demo 2026-11-14 18:56:08 +01:00
jumphp-cryo.js Cryo\Sandbox dans le navigateur : sandboxes asynchrones dans des Web Workers (jumphp-cryo.js, jumphp-cryo-worker.js), JumPHP\Cryo\SandboxLoop (pump par la boucle ReactPHP, wait() -> Task), export _cryo_sandbox_step, ext-cryo c761cab, docs/cryo.md, démo games/cryo-sandbox-demo 2026-11-14 18:56:08 +01:00
jumphp-device.js JumPHP 0.5.52: physical keys in the browser (Keyboard::physicalHeld()) 2026-11-11 05:51:35 +01:00
jumphp-files.js JumPHP 0.3.0: PHP 8.5; hot reload; the game on Google Play; the jumphp command for the whole system 2026-10-29 22:17:30 +01:00
jumphp-gamepad.js Web APIs: WebGL, page lifecycle, phone features, async HTTP, PWA, gamepads 2026-10-28 09:58:52 +01:00
jumphp-http.js Web APIs: WebGL, page lifecycle, phone features, async HTTP, PWA, gamepads 2026-10-28 09:58:52 +01:00
jumphp-keyboard.js Phones: the on-screen keyboard is closed when the phone is turned (Chrome kept the old page height until it was closed: the app was drawn in a band with black under it) 2026-11-07 21:22:04 +01:00
jumphp-pcm.js Streamed sound: $engine->pcm() (PcmStream) plays raw PCM back to back, Web Audio in the browser, SDL_mixer chunks on desktop 2026-11-14 10:22:48 +01:00
jumphp-pwa.js PWA: offline bar and "new version" bar of the page, the cached build really starts offline 2026-11-15 20:34:33 +01:00
jumphp-runtime.js Push notifications through the JumPHP runtime: contract docs/notifications.md, Android runtime (consent, FCM notify, acks), engine RuntimeMessages, extension jumphp/notification + notification-demo, bin/jumphp notify* and notify:mcp 2026-11-14 21:01:31 +01:00
jumphp-ssh-worker.js UDP and ICMP (engine->udp(), engine->icmp()), the SSH key ring (engine->sshKeyring(), several identities), crash reports of the browser engine with their log, early failures reach the listeners, examples apps/hello-tcp and apps/hello-ssh with tutorials, docs 2026-11-06 16:16:53 +01:00
jumphp-ssh.js Engine 0.5.18: $engine->ssh() (OpenSSH's ssh client as WebAssembly piped between two wasm, ssh:build), bridge statistics and independent server docs, TODO: UDP / ICMP 2026-11-06 15:25:27 +01:00
jumphp-webrtc.js WebRTC: iceServers from PHP (WebRtc::peer(['iceServers' => ...]): a TURN server's short-lived credentials, several URLs / transports; the browser takes the list, the desktop sidecar every TURN URL) 2026-11-15 16:49:06 +01:00
jumphp-worker.js Browser engine: PHP with the C allocator (USE_ZEND_ALLOC=0): no more memory growth 2026-11-14 17:31:23 +01:00
jumphp.js PWA: offline bar and "new version" bar of the page, the cached build really starts offline 2026-11-15 20:34:33 +01:00
sw.js PWA: offline bar and "new version" bar of the page, the cached build really starts offline 2026-11-15 20:34:33 +01:00
touch.js touch: {pad: none}: no on-screen pad and no buttons, for games played by tapping 2026-11-05 18:37:12 +01:00