| Crates.io | Raijin |
| lib.rs | Raijin |
| version | 0.1.8 |
| created_at | 2025-07-02 17:36:29.371575+00 |
| updated_at | 2025-07-03 23:41:14.764416+00 |
| description | A free, simple weather TUI that pulls data without the need for an API key, account, or subscription |
| homepage | |
| repository | https://github.com/MasonStooksbury/Raijin |
| max_upload_size | |
| id | 1735405 |
| size | 321,667 |
A free, simple weather TUI that pulls data without the need for an API key, account, or subscription. Weather data is from NWS and OpenMeteo. Moon phase data is from ViewBits.
Only supports Mac and Linux at the moment.
(NOTE: I'm using WezTerm with the "Gruvbox Dark (Gogh)" theme. Yours may look slightly different)
Installation via cargo can be done by installing the Raijin crate:
cargo install Raijin
NOTE: The default location is Knoxville, TN. If you'd like to change it, continue on to the Configuration section below
Once you've completed the instructions below, run by typing Raijin in your terminal
First, you'll need to get some data about your location (namely, your latitude, longitude, and weather zone ID)
GoAdditional Forecasts and Information sectionZONE AREA FORECAST FOR <COUNTY>, <STATE><STATE>Z123 (e.g. TNZ069 which is for Knoxville, TN; in Knox county). Jot this downNext, you need to figure out what timezone you're in and its IANA name
CITY, STATE format (e.g. Knoxville, TN) and hit EnterCopy button for that result to copy the timezone to your clipboardNow that we have the 5 pieces of data we need (latitude, longitude, 2-letter state code, weather zone ID, and timezone), let's put them into an environment file
~/.config/Raijin/.env on your machineWhen editing the logo.txt or any of the moon phases, make sure every line has the exact same length (even if there are just blank lines). This will ensure that it can be centered and manipulated properly by Ratatui.
I did this project over the course of a week to continue sharpening my Rust skills as well as work with the Ratatui library. While I'm proud of what I made, I am a little burned out due to working on it a lot in such a short time. That being said, if/when I come back to it here's what I'd like to add (or you can contribute!):
help documentation. As well as provide a way to change the config file arguments without having to edit a file directly. Not a huge deal, but would be nice to have)~/.config and creating a file. But this can break if people have this symlinked for dotfile stuff. I'm sure there's a more robust way to do this)I went googling around for mythological god names related to weather/storms. "Raijin" sounded the coolest