百科.dev
全部条目AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
M

MoonZoon

> 编程语言
开源

Rust 全栈框架

1.8K stars0 点赞0 次浏览
访问官网GitHub

工具介绍

Rust 全栈框架

### _"We don't want to lose time and money due to millions of unnecessary technical micro-decisions."_ --- **MoonZoon** is a Rust Fullstack Framework to build Web and Desktop apps with Multithreading and Durable Computing. No HTML, CSS or JS needed. --- # Code example

``` … ``` # Demos ## New Project Template [on Netlify](https://moonzoon-new-project.netlify.app/) | [Template](https://github.com/MoonZoon/MoonZoon/tree/main/crates/mzoon/new_project) - Used by the command `mzoon new` (see the section [Create & Run project](#create--run-project) below) ## Chat - Repo: [examples/chat](examples/chat) - Related blog post: _"Chat example, MoonZoon Cloud [[dev.to](https://dev.to/martinkavik/moonzoon-dev-news-5-chat-example-moonzoon-cloud-5de4) / [MD](docs/articles/dev_news_5.md)]_. --- # Create & Run project 1. Install the latest stable [Rust](https://www.rust-lang.org/tools/install). (Or upgrade with `rustup update stable`.) 1. Install the web assembly target `rustup target add wasm32-unknown-unknown` 1. `cargo install mzoon --git https://github.com/MoonZoon/MoonZoon --locked` 1. `mzoon new my_counter` 1. `cd my_counter` 1. `mzoon start --open` --- # Deploy project ## Both Frontend & Backend I use [Coolify](https://coolify.io/) on [Hetzner](https://www.hetzner.com/) with this `Dockerfile`: ``` … ``` MoonZoon app was successfully deployed to other services like [Heroku](https://www.heroku.com/) ([buildpack](https://github.com/MoonZoon/heroku-buildpack-moonzoon)), [Clever Cloud](https://www.clever-cloud.com/), [CapRover](https://caprover.com/) or [Fly.io](https://fly.io/). ## Frontend-only 1. `mzoon build --release --frontend-dist netlify` - Hosting name (`netlify`) is optional. It creates files like `netlify.toml`. 1. _[optional]_ Test it with a dev server like [miniserve](https://crates.io/crates/miniserve): ```bash cargo install miniserve miniserve --port 8079 --index index.html --spa frontend_dist ``` 1. Drag & drop the `frontend_dist` directory to [Netlify](https://www.netlify.com/). --- # Examples - [**Examples**](examples) in the repo [See [development.md](docs/development.md) for instructions how to run them.] - [Raytracer on MoonZoon](https://github.com/MartinKavik/ray_tracer) [Not maintained) - [Voting system](https://github.com/MartinKavik/voting-solana-moonzoon) on the [Solana](https://solana.com/) blockchain. [Not maintained) --- # Blog - Cure for Web Development [[Medium](https://martinkavik.medium.com/cure-for-web-development-65003afb701f) / [dev.to](https://dev.to/martinkavik/cure-for-web-development-nnn) / [MD](docs/articles/cure_for_web_development.md)] - Rust on the Frontend and Backend [[Always Bet on Rust](https://blog.abor.dev/p/moonzoon)] - Interview with Martin about MoonZoon [[console.substack.com](https://console.substack.com/p/console-114)] ### Dev News 1. CLI, Build pipeline, Live-reload, HTTPS [[dev.to](https://dev.to/martinkavik/moonzoon-dev-news-1-cli-build-pipeline-live-reload-https-1ba6) / [MD](docs/articles/dev_news_1.md)] 1. Live demo, Zoon, Examples, Architectures [[dev.to](https://dev.to/martinkavik/moonzoon-dev-news-2-live-demo-zoon-examples-architectures-2oem) / [MD](docs/articles/dev_news_2.md)] 1. Signals, React-like Hooks, Optimizations [[dev.to](https://dev.to/martinkavik/moonzoon-dev-news-3-signals-react-like-hooks-optimizations-39lp) / [MD](docs/articles/dev_news_3.md)] 1. Actix, Async CLI, Error handling, Wasm-pack installer [[dev.to](https://dev.to/martinkavik/moonzoon-dev-news-4-actix-async-cli-error-handling-wasm-pack-installer-57cp) / [MD](docs/articles/dev_news_4.md)] 1. **Chat example, MoonZoon Cloud [[dev.to](https://dev.to/martinkavik/moonzoon-dev-news-5-chat-example-moonzoon-cloud-5de4) / [MD](docs/articles/dev_news_5.md)]** --- # Documentation ### 1. [Philosophy & Non-Goals](docs/philosophy_and_non_goals.md).md ### 2. [Frontend](docs/frontend.md).md ### 3. [Backend](docs/backend.md).md ### 4. [CLI](docs/cli.md).md ### 6. [Development](docs/development.md).md --- # Size & Speed - [MartinKavik/js-framework-benchmark](https://github.com/MartinKavik/js-framework-benchmark/tree/framework/moonzoon) --- # Sponsors

--- Thank you for reading! We are waiting for you on [Discord](https://discord.gg/eGduTxK2Es).

GitHub Issues· 0 开放

在 GitHub 查看全部

暂无开放 Issues,或尚未同步最近议题。

核心特点

  • •Used by the command mzoon new (see the section Create & Run project below)
  • •Repo: examples/chat
  • •Related blog post: _"Chat example, MoonZoon Cloud [dev.to / MD]_.
  • •Hosting name (netlify) is optional. It creates files like netlify.toml.
  • •Examples in the repo See [development.md for instructions how to run them.]
  • •Raytracer on MoonZoon [Not maintained)
  • •Voting system on the Solana blockchain. [Not maintained)
  • •Cure for Web Development [Medium / dev.to / MD]
  • •Rust on the Frontend and Backend [Always Bet on Rust]
  • •Interview with Martin about MoonZoon [console.substack.com]

> 标签

Rustframeworkfullstackmoonzoonrust

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月17日
分类编程语言
定价开源

> 相关工具

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言