Skip to content

JimothyJohn/mullet

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mullet

The High-Performance Rust Web Framework

mullet is a cutting-edge, experimental framework for building lightning-fast, native-feel web applications using Rust and WebAssembly. It bridges the gap between the raw power of native code and the accessibility of the web.

Built on the shoulders of giants (egui, eframe), mullet enforces a strict separation of concerns (The Mullet Protocol) to deliver:

  • Zero JS Logic: All business logic is pure Rust.
  • Instant Interaction: Immediate mode GUI for latency-free UX.
  • Universal Deployment: Runs natively on your machine or in any modern web browser.

⚡️ Quickstart

Building with mullet is simple. You don't need to be a Rust expert to get started.

1. Prerequisites

  • Rust: Install Rust
  • Trunk: The WASM bundler.
    cargo install trunk

2. Run the App

To start the development server and see the app in your browser:

./Quickstart

or manually:

cd demo
trunk serve

3. Native Build

To run the application as a native desktop executable:

cargo run -p demo

📂 Structure

mullet is organized for clarity and speed:

  • mullet/: The Framework. Reusable UI library components and app shell.
  • demo/: The Implementation. Example app consuming mullet.
  • backend/: The Server. AWS Lambda function (DynamoDB access).
  • app_core/: The Brain. Pure Rust logic, state management, and data structures. Platform agnostic.

🛠 Customization

Want to make it yours?

  • Logic: Edit app_core/src/lib.rs.
  • UI Content: Edit demo/src/app.rs (implementing MulletState).
  • Theme: Tweak mullet/src/ui/style.rs to change the vibe.

Built with energy by advin.io

About

Yet another high-performance web framework but this time for AI

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors