[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-5622":3},{"id":4,"name":5,"fullName":6,"owner":5,"repo":5,"description":7,"homepage":8,"htmlUrl":9,"language":10,"languages":9,"totalLinesOfCode":9,"stars":11,"forks":12,"watchers":13,"openIssues":14,"contributorsCount":15,"subscribersCount":15,"size":15,"stars1d":15,"stars7d":16,"stars30d":17,"stars90d":15,"forks30d":15,"starsTrendScore":18,"compositeScore":19,"rankGlobal":9,"rankLanguage":9,"license":20,"archived":21,"fork":21,"defaultBranch":22,"hasWiki":23,"hasPages":21,"topics":24,"createdAt":9,"pushedAt":9,"updatedAt":25,"readmeContent":26,"aiSummary":27,"trendingCount":15,"starSnapshotCount":15,"syncStatus":28,"lastSyncTime":29,"discoverSource":30},5622,"makepad","makepad\u002Fmakepad","Makepad is a creative software development platform for Rust that compiles to wasm\u002FwebGL, osx\u002Fmetal, windows\u002Fdx11 linux\u002Fopengl","http:\u002F\u002Fmakepad.dev\u002F",null,"Rust",6439,333,81,99,0,10,41,6,38.57,"MIT License",false,"dev",true,[],"2026-06-12 02:01:12","# Makepad\n\n## Socials\n\n- Discord: https:\u002F\u002Fdiscord.gg\u002FadqBRq7Ece\n- Rik Arends: https:\u002F\u002Ftwitter.com\u002Frikarends\n- Eddy Bruel: -\n- Sebastian Michailidis: https:\u002F\u002Fbsky.app\u002Fprofile\u002Fokpokpokp.bsky.social\n\nMakepad 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.\n\nThis repository contains the core engine, widgets, tools, and examples.\n\n## What Makepad Is\n\n- A cross-platform UI runtime for native and web targets.\n- A Rust-first framework with a scriptable UI DSL.\n- A studio app for running, inspecting, and iterating on examples and projects.\n- An AI-accelerated workflow: structure and tooling aimed at making code generation, refactoring, and iteration faster and safer.\n\n## Features\n\n- Streaming Splash: fast, animated, streaming UI example.\n- Script Engine: live-editable UI DSL and runtime script integration.\n- 3D Rendering: glTF example with GPU rendering.\n- Maps: built-in map rendering with downloadable tiles.\n- Voice Analysis: built-in voice support with Whisper model downloads.\n- GPU-accelerated 2D and 3D rendering.\n- AI automation inside Studio to control and inspect UI.\n\n## Prerequisites\n\n- Rust toolchain (stable works for native).\n- For non-standard targets (iOS, tvOS, Android, wasm), install the Makepad build tool:\n\n```bash\ncargo install --path=.\u002Ftools\u002Fcargo_makepad\n```\n\nThen install target toolchains as needed:\n\n```bash\ncargo makepad wasm install-toolchain\ncargo makepad apple ios install-toolchain\ncargo makepad apple tvos install-toolchain\ncargo makepad android --abi=all install-toolchain\n```\n\n## Linux Dependencies\n\nLinux build\u002Fruntime dependencies are listed in `.\u002Ftools\u002Flinux_deps.sh`:\nUse the apt-get command below, or run the script on Ubuntu\u002FWSL2:\n\n```bash\nsudo 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\n```\n\n## Build And Run Makepad Studio\n\nMakepad Studio is the main entry point for exploring examples and iterating on UI.\n\n```bash\ncargo run -p makepad-studio --release\n```\n\nIf you want a local install (note: may lag the repo):\n\n```bash\ncargo install makepad-studio\n```\n\n## Examples\n\nRun a few representative apps directly from the repo:\n\n```bash\n# Splash (simple animated demo)\ncargo run -p makepad-example-splash --release\n\n# 3D rendering (glTF)\ncargo run -p makepad-example-gltf --release\n\n# Maps\ncargo run -p makepad-example-map --release\n```\n\n## Maps And Voice Assets\n\nFor built-in maps and voice support, download the assets first:\n\n```bash\n.\u002Fdownload_map.sh\n.\u002Fdownload_voice.sh\n```\n\n## Run A WASM App\n\n1. Install toolchain:\n\n```bash\ncargo makepad wasm install-toolchain\n```\n\n2. Run an example:\n\n```bash\ncargo makepad wasm run -p makepad-example-splash --release\n```\n\nFor smaller shipped wasm output, use the shipping-size optimization pass. It keeps the post-link size reduction behavior and pairs well with the existing `small` profile:\n\n```bash\ncargo makepad wasm build -p makepad-example-splash --profile=small --strip\n```\n\nTo split the wasm payloads, add `--split`. Bare `--split` uses an automatic cold-first policy: it first moves defer-safe cold functions into a secondary wasm so startup can begin on the primary first, and if there are no useful cold candidates it falls back to the normal function split. To override the function-splitting threshold directly:\n\n```bash\ncargo makepad wasm build -p makepad-example-splash --release --strip --split=200\n```\n\nFor maximum size reduction, combine `--wasm-opt` (Binaryen IR optimization) and `--brotli` (compression). Install Binaryen for `--wasm-opt` (e.g. `brew install binaryen` or `apt install binaryen`):\n\n```bash\ncargo makepad wasm build -p makepad-example-splash --release --wasm-opt --strip --split --brotli\n```\n\nNotes:\n\n- `--strip` strips custom sections (names, producers, etc.) for smaller binaries.\n- `--strip-custom-sections` preserves the old behavior when you only want to remove custom sections.\n- `--wasm-opt` runs Binaryen `wasm-opt -Os` for IR-level optimization (optional; requires [Binaryen](https:\u002F\u002Fgithub.com\u002FWebAssembly\u002Fbinaryen)).\n- `--brotli` compresses `.wasm` and assets with Brotli for delivery.\n- `--profile=small` uses smaller fonts and pairs well with `--strip`.\n- `--no-threads` trims the web thread bridge and thread exports when threading is disabled.\n- The wasm linker packs relocations before the post-link size and split passes.\n- `--split` emits a primary wasm plus secondary payloads (`.secondary.wasm`, `.data.bin`) and implies function splitting.\n- Bare `--split` uses an automatic cold-first split policy.\n- Auto mode defers the secondary when it finds defer-safe cold functions, otherwise falls back to the normal startup-path split.\n- `--split=200` switches to an explicit function-body threshold (bytes).\n\n3. Open:\n\n```text\nhttp:\u002F\u002F127.0.0.1:8010\n```\n\n## Run An Android App\n\nPlug in a device with developer mode enabled, then:\n\n1. Install toolchain:\n\n```bash\ncargo run -p cargo-makepad --release -- android --target=all toolchain-install\n```\n\n2. Run an example:\n\n```bash\ncargo run -p cargo-makepad --release -- android run -p makepad-example-ironfish\n```\n\n## Notes\n\n- Studio uses `cargo-makepad` internally for non-standard targets.\n","Makepad 是一个基于 Rust 的创意软件开发平台，支持编译为 wasm\u002FwebGL、osx\u002Fmetal、windows\u002Fdx11 和 linux\u002Fopengl。其核心功能包括高性能的 UI 运行时、可实时编辑的设计语言以及快速迭代循环，使开发者能够高效地构建跨平台的原生和 Web 应用。此外，Makepad 提供了 3D 渲染、地图渲染、语音分析等功能，并通过 AI 加速工作流程来提高代码生成、重构和迭代的速度与安全性。适合需要快速原型设计和高度定制化界面的应用场景，如游戏开发、数据可视化工具或任何需要强大图形处理能力的项目。",2,"2026-06-11 03:04:24","top_language"]