Skip to content

LepusNative desktop applications with MoonBit

WebView windows, typed plugins, multi-window orchestration, and a practical project CLI.

Lepus

Quick start ​

moonbit
///|
async fn main {
  @lepus.Window(
    title="Hello Lepus",
    width=800,
    height=600,
    source=@lepus.Source::html("<h1>Hello from MoonBit</h1>"),
  ).run()
}
sh
moon run --target native main.mbt

Continue with the Getting Started guide, or browse the Core API and Plugin Matrix.

Released under the Apache License 2.0.