Skip to content
theregister·

💻TinyJS Shrinks Desktop Apps to 6MB or Less

TinyJS: 6MB Apps, No Node.js Required

TL;DR

TinyJS is a JavaScript runtime for building ultra-compact desktop apps, reducing the footprint to 6MB or less. It eliminates the need for an HTTP server and Node.js, making development simpler and more secure.

TinyJS is a JavaScript runtime designed to build ultra-compact desktop applications, shrinking the typical app size to 6MB or less. This is a big deal for developers looking to create lightweight, secure desktop apps without the overhead of bundling an HTTP server or Node.js. TinyJS uses the native OS webviews, like WebKit for macOS and WebView2 for Windows, to run apps. The core runtime, txiki.js, is only 5.6MB, and it supports popular JavaScript frameworks like React, Vue, and Svelte, or can run with no dependencies at all. The TinyJS app store features 25 sample apps, including a world clock, clipboard history app, and a Winamp clone, all under 10MB.

TinyJS Shrinks Desktop Apps to 6MB or Less — theregister

Key Points

1

TinyJS runtime: 5.6MB, supports JavaScript, CSS, and HTML without compiling.

2

TinyJS uses native OS webviews (WebKit, WebView2, WebKitGTK) for cross-platform compatibility.

3

TinyJS app store features 25 sample apps, including a world clock (3.8MB) and clipboard history (3.7MB).

4

TinyJS eliminates the need for an HTTP server and Node.js, reducing security concerns and development complexity.

5

TinyJS supports popular JavaScript frameworks like React, Vue, and Svelte, or can run with no dependencies.

Why It Matters

If you're building lightweight desktop apps, TinyJS is a game-changer. It reduces app size to 6MB or less, eliminates the need for an HTTP server and Node.js, and supports popular frameworks like React and Vue. The TinyJS app store offers 25 sample apps, including a world clock and clipboard history app, all under 10MB. This makes development simpler and more secure, ideal for developers looking to create compact, efficient desktop applications.

TinyJSJavaScriptDesktop AppsWebviewsNode.js

Comments

Subscribe to join the conversation...

Be the first to comment

Enjoyed this article?

Get it daily. 7am. Free. Reads in 5 minutes.

Join 3,566 builders reading daily.

Also get