0xMiden / 0xMiden/faucet

Look into `html` templating/embedding

Aberta
#4 0 comentários 0 reações 0 responsáveis Ver no GitHub
Linguagem predominante
Rust
Estrelas
10
Forks
12
Merge médio
1d 15h
PRs com merge (30d)
9

Descrição

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

Guia de contribuição

Abrir o guia de contribuição

Avaliação

Esta issue ainda não foi avaliada.

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.