A simple weather plugin for your terminal.
- Download the executable and run.
Note: You will need an OpenWeather API Key to run this program.
- If you choose to run as a NodeJS app or to build your own features:
git checkout https://github.com/zskelton/terminal_weather.git
cd terminal_weather
# You'll need to add your OpenWeather API Key - The Script will add it in secret/config.js
./setSecret [OpenWeatherAPI]
npm run
- To create an executable:
npm install -g pkg
npm run-script build
# The executable will be in the ./build folder
This was a project to practice use of NodeJS. All files were created by hand, no automated software or build for package.json to get a better understanding of the innerworkings of NodeJS. Also, I just like a weather update on my terminal.
Question: Can NodeJS be a scripting language?.
Answer: Yes, but the asynchronous nature would make it frustrating beyond reason.