7 releases (1 stable)
| 1.0.0 | May 13, 2025 |
|---|---|
| 0.9.1 | May 12, 2025 |
| 0.6.0 | Sep 21, 2023 |
| 0.5.0 | Sep 20, 2023 |
| 0.3.0 | Oct 20, 2022 |
#3 in #gpu-rendering
274 downloads per month
Used in 9 crates
(8 directly)
35MB
40K
SLoC
Makepad
Socials
- Discord: https://discord.gg/adqBRq7Ece
- Rik Arends: https://twitter.com/rikarends
- Eddy Bruel: -
- Sebastian Michailidis: https://bsky.app/profile/okpokpokp.bsky.social
Makepad is an AI-accelerated application development environment for Rust. It combines a high-performance UI runtime, a live-editable design language, and a fast iteration loop so you can build native and web apps with a tight feedback cycle.
This repository contains the core engine, widgets, tools, and examples.
What Makepad Is
- A cross-platform UI runtime for native and web targets.
- A Rust-first framework with a scriptable UI DSL.
- A studio app for running, inspecting, and iterating on examples and projects.
- An AI-accelerated workflow: structure and tooling aimed at making code generation, refactoring, and iteration faster and safer.
Features
- Streaming Splash: fast, animated, streaming UI example.
- Script Engine: live-editable UI DSL and runtime script integration.
- 3D Rendering: glTF example with GPU rendering.
- Maps: built-in map rendering with downloadable tiles.
- Voice Analysis: built-in voice support with Whisper model downloads.
- GPU-accelerated 2D and 3D rendering.
- AI automation inside Studio to control and inspect UI.
Prerequisites
- Rust toolchain (stable works for native).
- For non-standard targets (iOS, tvOS, Android, wasm), install the Makepad build tool:
cargo install --path=./tools/cargo_makepad
Then install target toolchains as needed:
cargo makepad wasm install-toolchain
cargo makepad apple ios install-toolchain
cargo makepad apple tvos install-toolchain
cargo makepad android --abi=all install-toolchain
Linux Dependencies
Linux build/runtime dependencies are listed in ./tools/linux_deps.sh:
Use the apt-get command below, or run the script on Ubuntu/WSL2:
sudo apt-get update && sudo apt-get install -y --no-install-recommends build-essential pkg-config clang ca-certificates libssl-dev libx11-dev libxcursor-dev libxkbcommon-dev libxrandr-dev libxi-dev libxinerama-dev libasound2-dev libpulse-dev libwayland-dev wayland-protocols libegl1-mesa-dev libgl1-mesa-dev libgles2-mesa-dev libglx-dev libdrm-dev libgbm-dev libgl1-mesa-dri mesa-vulkan-drivers mesa-utils mesa-utils-extra x11-apps
Build And Run Makepad Studio
Makepad Studio is the main entry point for exploring examples and iterating on UI.
cargo run -p makepad-studio --release
If you want a local install (note: may lag the repo):
cargo install makepad-studio
Examples
Run a few representative apps directly from the repo:
# Splash (simple animated demo)
cargo run -p makepad-example-splash --release
# 3D rendering (glTF)
cargo run -p makepad-example-gltf --release
# Maps
cargo run -p makepad-example-map --release
Maps And Voice Assets
For built-in maps and voice support, download the assets first:
./download_map.sh
./download_voice.sh
Run A WASM App
- Install toolchain:
cargo makepad wasm install-toolchain
- Run an example:
cargo makepad wasm run -p makepad-example-splash --release
- Open:
http://127.0.0.1:8010
Run An Android App
Plug in a device with developer mode enabled, then:
- Install toolchain:
cargo run -p cargo-makepad --release -- android --target=all toolchain-install
- Run an example:
cargo run -p cargo-makepad --release -- android run -p makepad-example-ironfish
Notes
- Studio uses
cargo-makepadinternally for non-standard targets.
Dependencies
~13–39MB
~569K SLoC