Rajasthan Helper CLI – Real Weather, Festivals & Travel Tips Built on Free GitHub Copilot CLI
Source: Dev.to
Overview
Rajasthan Helper CLI is a colorful, terminal‑first tool that brings Rajasthan/India travel information directly to your command line.
Features
- weather [city] – Real‑time weather using the free wttr.in API (temperature, condition, feels‑like, humidity, wind).
- festival [month] – Lists major Rajasthan festivals with facts and emojis (Holi, Diwali, Teej, Pushkar Fair, etc.).
- tip [city] – Curated travel & food tips for 10+ cities (Jaipur, Udaipur, Delhi, Jodhpur, Jaisalmer, …).
All features are built entirely on the free tier of GitHub Copilot CLI in roughly 20 smart prompts—no paid subscription, no credit card required.
Implementation Details
- Installed via
npm install -g @github/copilotand logged in with a free GitHub account. - Initialized the project with
/initto createinstructions.mdfor consistent style. - Generated the Click‑based command structure with a single large prompt, then debugged packaging issues (TOML duplicates, missing folders, import errors) using targeted follow‑up prompts.
- Integrated the wttr.in API and added rich terminal formatting for colorful output.
The entire process took about 20 prompts, demonstrating how quickly a functional CLI can be built with free Copilot resources.
Usage Example
# Show help
rajasthan-helper --help
# Get weather for Jaipur
rajasthan-helper weather jaipur
# List festivals in March
rajasthan-helper festival march
# Get travel tips for Udaipur
rajasthan-helper tip udaipur
The CLI displays a colorful weather panel, festival cards with emojis, and a list of travel tips.
Repository
The source code is available at:
https://github.com/Chetan-code-lrca/rajasthan-helper
Acknowledgements
Thanks to the GitHub Copilot CLI Challenge for providing an amazing learning journey!
Made by Chetan Inaganti (@Chetan007329)