https://github.com/shreyansh26/weatherbot_cli
A bot with CLI to tell about weather
https://github.com/shreyansh26/weatherbot_cli
bot commandline-tool commandline-utility weather
Last synced: 3 months ago
JSON representation
A bot with CLI to tell about weather
- Host: GitHub
- URL: https://github.com/shreyansh26/weatherbot_cli
- Owner: shreyansh26
- Created: 2017-05-16T14:59:16.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2017-06-07T11:49:06.000Z (almost 9 years ago)
- Last Synced: 2025-01-14T02:12:58.635Z (about 1 year ago)
- Topics: bot, commandline-tool, commandline-utility, weather
- Language: JavaScript
- Homepage:
- Size: 1010 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Weather Bot
===========
This is a rule base Command line Interface (CLI) bot which can converse with the user and tell the current weather for any location. It can also help to forecast weather for next two days.
The bot is rule based i.e it uses Regular Expressions (RegEx) to interpret the user's inputs.
For getting the weather the bot uses the Yahoo! Weather API.
- - - - -
Running the bot locally
-----------------------
### Dependecies
* node (v6.9 or above)
### Environment Setup
1. Install NodeJS. See [this](https://nodejs.org/en/download/ "Download Node") for details.
2. `cd` to the root of the project and run `npm install`
### Run the bot
1. Go to terminal
2. Run `node app.js` and enjoy!
Examples/Usage
--------------
* What is the weather like in Mumbai
* How will the weather be in Cairo tomorrow
* Will it rain in Arizona day after tomorrow