0xMiden / 0xMiden/faucet

Look into `html` templating/embedding

Ouverte
#4 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
Langage dominant
Rust
Étoiles
10
Forks
12
Merge moyen
1 j 15 h
PR mergées (30 j)
9

Description

⚠ 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.

Guide de contribution

Ouvrir le guide de contribution

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.