0xMiden / 0xMiden/faucet

Look into `html` templating/embedding

オープン
#4 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
Rust
スター
10
フォーク
12
平均マージ
1日 15時間
マージ済み PR(30日)
9

説明

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

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。