Learn Kana in a terminal ! See https://kana.rezoleo.fr for a demo.
If your goal is to learn Japanese, you should take a look at Awesome-Japanese first.
Note
I'm pausing the ssh server part because I found a way to expose my TUI through http with ttyd
From the binary in the release
chmod +x kanash
./kanash
Note
Only work on x86_64
for now
cargo install kanash
paru -S kanash
To expose it as a website :
Tip
replace ./assets
with a directory containing jpg
and png
docker run --rm -v ./assets:/home/assets -p "80:7681" blximages/kanash
To run it directly in your terminal
docker run --rm -v ./assets:/home/assets -it --entrypoint=/usr/bin/kanash blximages/kanash
- Rust build and test CI
- Use ttyd instead of gotty
- enum for color palette
- Add a parameter to the creation of a Kana Page (to know wheter to show hira kata or both, based on the selection in the Home Page)
- Refactor the
app.rs
using the Elm architecture- move japanese helper function to another file
- isolate the kana ui into one component
-
look at rust multithreading and tokio(Only usingevent::poll(Duration::from_millis(10)).unwrap()
inhandle_event
in order not to block the rendering) - Better UI for Kana
- tui-rain
- splash screen
- add a list of unused hiragana you don't want to show
- look at how to do test with ratatui
- take a look at ratzilla and wasm
- make a login page in order to display statistic to users
-
look at https://github.com/arthepsy/ssh-audit(see the first note)
Advices and PRs are very much apreciated
Also take a look at all the dependencies in Cargo.toml