{"id":18944002,"url":"https://github.com/lastleaf/maomi","last_synced_at":"2025-08-03T00:14:33.719Z","repository":{"id":41413297,"uuid":"210179326","full_name":"LastLeaf/maomi","owner":"LastLeaf","description":"Strict and Performant Web Application Programming in Rust","archived":false,"fork":false,"pushed_at":"2024-07-21T03:50:35.000Z","size":308,"stargazers_count":23,"open_issues_count":0,"forks_count":1,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-01-03T00:11:55.444Z","etag":null,"topics":["rust","webassembly","webframework"],"latest_commit_sha":null,"homepage":"https://lastleaf.cn/maomi/en_US","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/LastLeaf.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-09-22T16:32:41.000Z","updated_at":"2024-11-18T11:03:46.000Z","dependencies_parsed_at":"2024-11-08T12:44:07.723Z","dependency_job_id":"5f6371c8-9963-48ab-a679-9c4f6c9dcf07","html_url":"https://github.com/LastLeaf/maomi","commit_stats":{"total_commits":35,"total_committers":1,"mean_commits":35.0,"dds":0.0,"last_synced_commit":"c94d8ab5d057488073fa0bdd3334b58c06360a92"},"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LastLeaf%2Fmaomi","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LastLeaf%2Fmaomi/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LastLeaf%2Fmaomi/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LastLeaf%2Fmaomi/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/LastLeaf","download_url":"https://codeload.github.com/LastLeaf/maomi/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":233304168,"owners_count":18655869,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["rust","webassembly","webframework"],"created_at":"2024-11-08T12:43:55.783Z","updated_at":"2025-01-10T06:35:42.679Z","avatar_url":"https://github.com/LastLeaf.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"![maomi](icon_160.png)\r\n\r\n# maomi\r\n\r\nStrict and Performant Web Application Programming\r\n\r\n![crates.io](https://img.shields.io/crates/v/maomi?style=flat-square) ![docs.rs](https://img.shields.io/docsrs/maomi?style=flat-square) ![build-status](https://img.shields.io/github/actions/workflow/status/lastleaf/maomi/build-and-test.yml?style=flat-square)\r\n\r\n```rust\r\n#[component]\r\nstruct HelloWorld {\r\n    template: template! {\r\n        \"Hello world!\"\r\n    }\r\n}\r\n```\r\n\r\n## Key Features\r\n\r\n* Write rust code, compile to WebAssembly, and run in browser.\r\n* Great overall performance and no common performance pitfalls.\r\n* Reports mistakes while compilation.\r\n* With rust-analyzer installed, easier to investigate elements, properties, and even style classes.\r\n* Based on templates and data bindings.\r\n* Limited stylesheet syntax, easier to investigate.\r\n* High performance server side rendering.\r\n* I18n in the core design.\r\n\r\nCheckout the [website](http://lastleaf.cn/maomi/en_US) for details.\r\n\r\n去 [中文版站点](http://lastleaf.cn/maomi/zh_CN) 了解详情。\r\n\r\n## Examples\r\n\r\nSee [dom-template](./maomi-dom-template/) for the basic example. Compile with:\r\n\r\n```sh\r\nwasm-pack build maomi-dom-template --target no-modules\r\n```\r\n\r\n## Run Tests\r\n\r\nGeneral rust tests and wasm-pack tests are both needed.\r\n\r\n```sh\r\ncargo test\r\nwasm-pack test --firefox maomi-dom # or --chrome\r\n```\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flastleaf%2Fmaomi","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flastleaf%2Fmaomi","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flastleaf%2Fmaomi/lists"}