TinyJS runtime trims desktop apps by using native webviews
A developer has introduced TinyJS, a compact JavaScript runtime for creating small desktop applications on macOS, Linux, and Windows. It relies on each operating system's built-in WebView to render the user interface, avoiding the need to bundle a full browser engine. This keeps many apps under 6MB, unlike Electron-based applications that can exceed 150MB.
TinyJS is built on txiki.js, a very small JavaScript runtime created by Saúl Ibarra Corretgé. Its initial download is about 5.6MB, and the launcher adds roughly another megabyte; the rest is developer code. It avoids embedding an HTTP server by relying on the operating system's IPC facilities for moving data.
Apps are written in JavaScript, HTML, and CSS and need no compilation. TinyJS supports React, Vue, and Svelte; Node.js is not required unless a framework like Vite needs it. A URL can be loaded in a window to present a website as a desktop app.
TinyJS may appeal to developers who want lightweight desktop tools without Electron's large footprint. Users could see faster downloads and less disk use, especially on older or constrained machines. Because it relies on each OS's built-in webview, apps may behave slightly differently across platforms, which could affect quality assurance and user expectations. Its impact likely remains niche, but it may encourage more small utilities and web-to-desktop wrappers.