https://github.com/rohit1kumar/weatherly
A shell script for daily greetings, date, time, and weather updates in terminal.
https://github.com/rohit1kumar/weatherly
bash shell-script terminal
Last synced: about 2 months ago
JSON representation
A shell script for daily greetings, date, time, and weather updates in terminal.
- Host: GitHub
- URL: https://github.com/rohit1kumar/weatherly
- Owner: rohit1kumar
- Created: 2023-09-11T18:24:29.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2023-09-12T14:04:47.000Z (almost 3 years ago)
- Last Synced: 2025-01-22T10:23:34.496Z (over 1 year ago)
- Topics: bash, shell-script, terminal
- Language: Shell
- Homepage:
- Size: 4.88 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Weatherly
### A shell script for daily greetings, date, time, and weather updates.

### Installation
1. Clone the repository and change the directory
```bash
git clone https://github.com/rohit1kumar/weatherly.git && cd weatherly
```
2. Get an API key from [OpenWeather](https://home.openweathermap.org/api_keys), additional [languages](https://openweathermap.org/current#multi)
```bash
OPEN_WEATHER_API_KEY="YOUR_API_KEY" # Your API key | required
CITY="New Delhi" # Your city | required
UNITS="metric" # metric: C, imperial: F, standard: K (default)
LANG="en" # hi: Hindi, en: English (default)
```
3. Install `curl` and `jq` packages if not installed already
```bash
sudo apt install curl
sudo apt install jq
```
4. Run the script and make it executable and follow the instructions
```bash
chmod +x install.sh && ./install.sh
```
5. Restart the terminal, Enjoy the weather report :)
---
*Note: To uninstall Weatherly, run*
```bash
rm -rf ~/.weatherly ~/.weatherly_config
```
then open `~/.bashrc` and remove `source /home/$USER/.weatherly/main.sh`