#api #platform #run-time #javascript #applications #html-css #webview

yanked millennium

Create consistent, light, & secure apps that work on all platforms, using HTML, CSS, and JavaScript

3 releases

1.0.0-beta.3 Jul 1, 2022
1.0.0-beta.2 Apr 3, 2022
1.0.0-beta.1 Mar 28, 2022

#46 in #webview

Apache-2.0 OR MIT

1MB
17K SLoC

*Stats are from Tauri and may not be fully accurate.

GitHub Workflow Status Audit Status GitHub commit activity Crates.io Discord


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 ✨

The millennium crate

This is the glue crate that holds everything together. It brings the runtimes, macros, utilities, and API into one final product. It reads the .millenniumrc file at compile time to bring in features and undertake the app configuration. It handles script injection (for polyfills/prototype revision) at runtime, hosts the API for systems interaction, and manages updates.

Learn more

Join the Discord server!

Dependencies

~19–82MB
~1.5M SLoC