1 unstable release
new 0.1.0 | Dec 3, 2024 |
---|
#682 in Text processing
180KB
179 lines
jposta ๐ฎ
A fast and intuitive Terminal User Interface (TUI) tool for searching Japanese postal codes and addresses. ๐พ
โจ Features
- ๐ Real-time postal code lookup with partial matching
- ๐ฏ Address search with Japanese text (kanji/kana)
- โจ๏ธ Interactive TUI with keyboard navigation
- ๐ Scrollable results with formatting
- ๐ Dual search modes
๐ Installation
cargo install jposta
๐ฎ Usage
Start the application:
jposta
โจ๏ธ Keyboard Controls
Tab
: Toggle between postal code and address search modesโ/โ
: Scroll through resultsBackspace
: Delete inputEsc
: Exit
๐ Search Modes
-
Postal Code Search ๐ซ
- Enter numbers (e.g., "100" for all codes starting with 100)
- Results show full addresses with kana readings
-
Address Search ๐ข
- Enter text in Japanese (e.g., "ๆธ่ฐท" or "ใทใใค")
- Matches any part of the address
๐ Example Output
ใ1000001
ๆฑไบฌ้ฝๅไปฃ็ฐๅบๅไปฃ็ฐ
ใใฆใญใงใฆใใใจใใฏใใจใ
๐ ๏ธ Building from Source
git clone https://github.com/nwiizo/jposta
cd jposta
cargo build --release
๐ฆ Dependencies
- ๐ฅ๏ธ ratatui
- โก crossterm
- ๐จ jpostcode_rs
๐ License
MIT License
๐ค Contributing
- Fork the repository
- Create your feature branch
- Commit your changes
- Push to the branch
- Create a Pull Request
๐ Acknowledgments
- Based on the jpostcode_rs library
- Japanese postal code data provided by Japan Post
๐ค Author
nwiizo
Dependencies
~8โ14MB
~107K SLoC