Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Show HN: A Web UI Generator for Rust CLI Projects (github.com/wb14123)
1 point by wb14123 8 hours ago | hide | past | favorite | discuss
Hi HN,

Everyone loves CLI! I recently started to use Rust write CLI tools and I really enjoy it. But sometimes it's convenient to also have the tool available in a browser so that I can share it to other non tech savvy people, and also for myself to use on mobile phones. So I write a tool to automatically generate a web UI for Rust CLI projects if it's using Clap (https://docs.rs/clap/latest/clap/) to parse the cli args. It reads the Clap command and generate HTML input elements for it. Everything runs in the browser through WASM without a need of backend.

Here is the project: https://github.com/wb14123/clap-web-gen . Any feedback is welcome!





Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: