Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mood-cli

One line of mood for your terminal.

$ mood
🌊  ⛅️ 14°C  "Done is better than perfect." — Sheryl Sandberg

A single command. A single line. Day-of-week emoji + your current weather + one rotating quote. Run it on shell startup, or any time you want a moment.

Install

pip install mood-cli

Python 3.9+. No third-party dependencies.

Use

mood                              # default: Moscow weather + random quote
mood --lat 40.71 --lon -74.00     # NYC
mood --no-weather                 # skip the network call
mood --seed 42                    # deterministic quote (for tests)

Put it in your shell startup

# ~/.zshrc or ~/.bashrc
mood --lat 55.7558 --lon 37.6173

Now every new terminal greets you with a weather sniff and a quote. Quiet, non-intrusive, and the weather API has no key and no rate limit (open-meteo.com).

Library use

from mood_cli.cli import render
print(render(lat=40.71, lon=-74.00))

Why

Because motd died on most systems, and a fresh terminal staring at you in silence is a missed micro-moment.

Development

git clone https://github.com/stix2112333-stack/mood-cli
cd mood-cli
pip install -e ".[dev]"
pytest

License

MIT.

About

One line of mood for your terminal: weather + a quote + an emoji for the day.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages