Urgent.News

What's breaking now, across thousands of outlets.

Tech

our windows build ships no browser: how a ~31 mb launcher gets free nvdec/quicksync 4k decode

Disclosure: I'm the developer of RKMovies, an ultra-lightweight 4K media player client for Android and Windows ( the landing page ). Every Electron app bundles its own Chromium, which is why "desktop video player" installers weigh 150-300 MB. We went the other way. Our Windows installer (~31 MB) is a PyInstaller bundle of the FastAPI backend plus a launcher. On startup it finds the real Chrome or…

The author of RKMovies, a lightweight 4K media player for Android and Windows, describes how their Windows installer is only 31 MB in size. Unlike most desktop video player installers that weigh between 150-300 MB due to bundling Chromium, RKMovies avoids this by using PyInstaller to create a bundle containing the FastAPI backend and a launcher.

The launcher searches for a real Chrome or Edge browser installed on the system via the registry and then spawns it with specific parameters. This results in a chromeless window that appears native, has its own taskbar icon, an isolated profile, and no bundled browser engine. This approach allows for 4K hardware decode using NVDEC (NVIDIA), QuickSync (Intel), and DXVA (AMD) capabilities already present in Chrome and Edge on Windows.

The author notes that trade-offs include the installer's dependence on a system browser and it being a local server plus a window, but they believe the benefits outweigh these drawbacks.

Written by urgent.news from Dev.to's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.

Read the original at dev.to →

More in Tech

Documenso discovery and the team-scoped signing API boundary

Documenso discovery and the team-scoped signing API boundary Documenso is an open-source document-signing platform that can be self-hosted.

  • Documenso is an open-source document signing platform.
  • API tokens are team-scoped with extensive permissions.
  • Self-hosted instances must restrict outbound requests.

Service-worker interviews punish unconditional skipWaiting and wipe-all caches — you need a waiting + compatibility card

TL;DR: When a PWA ship leaves users with ChunkLoadError (deployed worker update + asset consistency—not SSR hydration, WS reconnect, optimistic fold, a11y, bug-bash, or teammate PR), the round scores…

  • Unconditional skipWaiting() leads to ChunkLoadError in PWA updates
  • Waiting + compatibility card recommended over skipWaiting()
  • Service worker waits for old clients to stay open before adopting

More from Wednesday 4 November →