0xMiden / 0xMiden/faucet

Look into `html` templating/embedding

未關閉
#4 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
主要語言
Rust
星號
10
分支
12
平均合併
1 天 15 小時
30 天內合併 PR
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.

貢獻指南

開啟貢獻指南

研究方向

查看現有的水龍頭網頁(index.html、index.css、index.js)以了解當前的靜態檔案設定。研究 Rust HTML 模板庫,如 maud 和 askama,並評估 htmx 以替代 JavaScript。確定如何將選定的模板解決方案整合到 Rust 後端,並考慮未來的使用案例,如配置/管理儀表板。

由索引模型根據 Issue 內容生成。

評估

技術堆疊
css, html, javascript
領域
frontend, web-dev
Issue 類型
功能
難度
4/5
預估耗時
3-5 天
活躍度
停滯
描述清晰度
基本清楚
新手友好度
35/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。