Show HN: Ember.js, Re-Born in Rust auric.spa · 2 points · 0 comments · HN thread...
Show HN @show
Show HN: Ember.js, Re-Born in Rust auric.spa · 2 points · 0 comments · HN thread
TL;DR Auric is a Show HN project by an Ember.js developer of 15 years: an open-source Rust framework that re-imagines Ember.js, HTMLbars templates, controllers, routes and Ember Data as Leptos components compiled to WASM. The sample app is the Auric website itself, with demos of ember-bootstrap, ember-power-select and ember-concurrency ported to Rust, served with Actix Web SSR.
- Auric keeps Ember's MVC structure: templates in HTMLbars-style syntax, plus controllers and routes, which a build step turns into Leptos components with signals and async handling.
- Models and data access are modeled on Ember Data, using a Store and JSON:API-based relational middleware to talk to the backend.
- Packaging uses Trunk for WASM builds, with full server-side rendering via Actix Web in the sample app.
- The author reports templates are up to 7x smaller than the generated Leptos views derived from them.
- The project is open source on GitLab, with the sample app being the Auric website and a longer back-story published on Medium.
- The README says Ember add-ons ember-bootstrap, ember-power-select, ember-concurrency and ember-truth-helpers are available in templates without installation.
Links in the post
- Auric SPA repository: GitLab project for the Ember-inspired Rust SPA framework that compiles to WASM.
- Ember.js devs: welcome to the Rust age: Author's Medium back-story about moving from Ember to Rust; could not be read, so its content is not summarized here.
Discussion No comments have been posted yet, so there is no discussion to summarize at this time.