A minimal 倉頡 (Cong1 Kit3 or CangJie) input method practice. Check it out here: https://ethanppl.github.io/cong1-kit3/
- I built this just because different online practice I found contains ads that I don't like
- I just want a simple, minimal layout
- I started with adding event listeners for keypress, which already works for me
- Then I thought maybe I can try creating a virtual keyboard for mobile as well
This page currently only contains the most common 3000 words. Data came from here:
To run it:
elm reactor
Then visit http://localhost:8000/src/Main.elm
To build it:
elm make src/Main.elm
- I thought maybe I can try Elm for this one, as someone suggested it to me
- Turns out Elm is pretty fun to use, the Elm architecture takes some time to learn, but it's worth it
- It's like the types are teaching you to architect better
- Data:
- Make answers a list, some words can have multiple code
- More words
- UI:
- Keyboard size and buttons
- Dark mode
- Performance and practice:
- Add history
- Repeat words that failed or took a longer time
- Add explanation, maybe link to external webpage
- Custom practice pack