Millennium is a cross-platform webview framework written in Rust. With Millennium, you can design consistent UI that works across all platforms, using HTML, CSS, and JavaScript.
How It Works
You can interact with native code and perform system-level operations, including reading/writing files & networking. It leverages modern operating systems' pre-included webview libraries ( WebKitGTK, WebView2, WebKit) for smaller, faster, more secure, and less resource-heavy applications compared to Electron. A simple Millennium app can be less than 10 MB in size and can be reduced further to less than 2 MB. Millennium apps can launch almost twice as fast as equivalent Electron applications and use as little as 1/4 of the amount of RAM.
Millennium is a fork of Tauri, its official plugins, tao, and wry, with a few added features and changes
@pyke/millennium-api
This package provides the JavaScript API for Millennium applications. With @pyke/millennium-api
, you can create windows, execute processes, read files, and more from JavaScript with APIs similar to (but not 100% compatible with) Node.js.
You can also access the Millennium API without this module via window.Millennium
if build > withGlobalMillennium
is enabled in your .millenniumrc
. We highly recommend that you bundle this module with your frontend code for production apps for security.
Learn more
- More information: https://millennium.pyke.io/
Join the Discord server! |
---|