{"id":19096297,"url":"https://github.com/radyaben/nodejs-weather-cli","last_synced_at":"2026-04-17T08:02:01.977Z","repository":{"id":65134477,"uuid":"577663051","full_name":"RadyaBen/Nodejs-Weather-CLI","owner":"RadyaBen","description":"A simple command-line weather tool that allows you to get current weather information about the given location.","archived":false,"fork":false,"pushed_at":"2022-12-26T14:14:46.000Z","size":24,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-21T16:57:22.412Z","etag":null,"topics":["cli","command-line","command-line-tool","javascript","nodejs","npm","openweathermap","weather","weather-cli","weather-forecast"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/RadyaBen.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-12-13T08:43:12.000Z","updated_at":"2022-12-27T14:26:13.000Z","dependencies_parsed_at":"2022-12-31T07:31:25.038Z","dependency_job_id":null,"html_url":"https://github.com/RadyaBen/Nodejs-Weather-CLI","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/RadyaBen/Nodejs-Weather-CLI","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RadyaBen%2FNodejs-Weather-CLI","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RadyaBen%2FNodejs-Weather-CLI/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RadyaBen%2FNodejs-Weather-CLI/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RadyaBen%2FNodejs-Weather-CLI/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/RadyaBen","download_url":"https://codeload.github.com/RadyaBen/Nodejs-Weather-CLI/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RadyaBen%2FNodejs-Weather-CLI/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31920518,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-16T18:22:33.417Z","status":"online","status_checked_at":"2026-04-17T02:00:06.879Z","response_time":62,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cli","command-line","command-line-tool","javascript","nodejs","npm","openweathermap","weather","weather-cli","weather-forecast"],"created_at":"2024-11-09T03:36:22.361Z","updated_at":"2026-04-17T08:02:01.915Z","avatar_url":"https://github.com/RadyaBen.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align='center'\u003e\n\t\u003cbr\u003e\n\t\u003ch1\u003eNodejs-Weather-CLI\u003c/h1\u003e\n\u003c/div\u003e\n\n\u003c!-- PROJECT SHIELDS --\u003e\n\u003cdiv align='center'\u003e\n\n   ![npm](https://img.shields.io/npm/v/cli-weather-forecast?style=flat-square)\n\n\u003c/div\u003e\n\n\u003c!-- ABOUT --\u003e\n## About\nA simple command-line weather tool that allows you to get current weather information about the given location. The application is written in JavaScript and uses the OpenWeatherMap API to fetch weather data for one day.\n\n\u003c!-- GETTING STARTED --\u003e\n## Getting Started\n\n### Prerequisites\n\n* [Git](https://git-scm.com)\n* [Node.js](https://nodejs.org/en/download/)\n* [npm](http://npmjs.com)\n\n### Installation\n\n```sh\n# Install it globally\n$ npm install -g cli-weather-forecast\n```\n\n\u003c!-- USAGE --\u003e\n## Usage\n\nTo use the application, first you need to get an API key from [OpenWeatherMap API](https://openweathermap.org/api/). A free account is all that is needed. Once you have your API key, you can use it to get the weather forecast.\n\n```shell\nUsage: \n  $ weather \n\nOptions:\n  Without parameters - weather output\n  -c [CITY_NAME] Set the city name\n  -h             Print this help text\n  -t [API_KEY]   Save the API token\n```\n\nExample using the weather command:\n\n```\nweather -c kiev -t YOUR_API_KEY\n```\n\nOptionally, you can omit the API key and city name.\nIn order to do that, you have to set the environment variables simultaneously.\n\nHow to do it in Windows:\n\n```\nTOKEN=YOUR_API_KEY \n\nCITY=YOUR_CITY_NAME\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fradyaben%2Fnodejs-weather-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fradyaben%2Fnodejs-weather-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fradyaben%2Fnodejs-weather-cli/lists"}