Look into `html` templating/embedding
- Vorherrschende Sprache
- Rust
- Sterne
- 10
- Forks
- 12
- Ø Merge
- 1 T. 15 Std.
- Gemergte PRs (30 T.)
- 9
Beschreibung
⚠ This is very low priority, capturing solely so we don't forget about this.
Originally mentioned in 0xMiden/miden-node#647
> ## Static files
> Low priority, but we could consider a better html solution. Especially if we want to add more in the future as a configuration/admin dashboard.
>
> There are some interesting developments with htmx and crates like [maud](https://github.com/lambda-fairy/maud?tab=readme-ov-file) and [askama](https://github.com/rinja-rs/askama?tab=readme-ov-file) for embedding html.
Currently we only have the faucet's webpage, which is a single html+js+css served separately (aka `index.html` fetches `index.css` and `index.js`). Something else to consider is replacing the javascript file with `htmx` which is all the rage at the moment.
This should only really be considered _IFF_ we fiddle with the faucet webpage, and/or introduce more webpages for other purposes.
Beitragsleitfaden
Bewertung
Dieses Issue wurde noch nicht bewertet.