#millennium #macro #webview #generation #html #javascript #css

yanked millennium-codegen

Code generation macros for Millennium

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

#6 in #millennium

25 downloads per month
Used in 3 crates (2 directly)

Apache-2.0 OR MIT

210KB
4K 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-codegen crate

This crate:

  • Embeds, hashes, and compresses assets, including icons for the app and the system tray.
  • Parses .millenniumrc at compile time and generates configuration to be used by the rest of Millennium.

Learn more

Join the Discord server!

Dependencies

~9–21MB
~361K SLoC