{"id":27153437,"url":"https://github.com/tankengine-ish/cli_weather_tool","last_synced_at":"2025-04-08T16:17:00.408Z","repository":{"id":230785437,"uuid":"779761786","full_name":"TankEngine-ish/CLI_Weather_Tool","owner":"TankEngine-ish","description":"CLI Tool to Display the Weather [personal project]","archived":false,"fork":false,"pushed_at":"2024-04-02T11:26:03.000Z","size":52,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-04-02T23:29:07.816Z","etag":null,"topics":["cli","godotenv","weather-api"],"latest_commit_sha":null,"homepage":"","language":"Go","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/TankEngine-ish.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,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2024-03-30T18:00:08.000Z","updated_at":"2024-04-02T23:29:07.816Z","dependencies_parsed_at":"2024-03-31T23:28:44.887Z","dependency_job_id":"9b2c7d9d-7813-4996-a70f-ecdb8e875791","html_url":"https://github.com/TankEngine-ish/CLI_Weather_Tool","commit_stats":null,"previous_names":["tankengine-ish/cli_weather_tool"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TankEngine-ish%2FCLI_Weather_Tool","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TankEngine-ish%2FCLI_Weather_Tool/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TankEngine-ish%2FCLI_Weather_Tool/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TankEngine-ish%2FCLI_Weather_Tool/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/TankEngine-ish","download_url":"https://codeload.github.com/TankEngine-ish/CLI_Weather_Tool/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247878013,"owners_count":21011158,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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","godotenv","weather-api"],"created_at":"2025-04-08T16:16:58.041Z","updated_at":"2025-04-08T16:17:00.403Z","avatar_url":"https://github.com/TankEngine-ish.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# CLI_Weather_Tool\n\n\nThis is a simple command-line interface (CLI) application that fetches weather forecast data from the WeatherAPI.\nThe output shows the weather for the day up till the end of it.\n\n![alt text](assets/3123123123123.png)\n\n# Prerequisites\nGo programming language (version 1.16 or later).\n\nAn API key from WeatherAPI.\n\n# Installation\nClone the repository and build the application: `go build -o \u003cname of the build\u003e`\n\n# Usage\nBefore you can use the application, you need to set up your WeatherAPI key. \nCreate a .env file in the project root and add your API key:\n`echo \"WEATHER_API_KEY=your_api_key\" \u003e .env`\n\nReplace your_api_key with your actual WeatherAPI key from here - https://www.weatherapi.com/ \n\nYou can now run the application: ./name of the build\n\nBy default, the application will show the weather forecast for Varna, Bulgaria. You can specify a different location as a command-line argument:\n./name of the build London\n\n![alt text](assets/3123123.png)\n\n# Add to PATH\nTo use the weather command from any location on your system, you need to add it to your PATH.\n\n## Linux/MacOS\nMove the weather binary to /usr/local/bin.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftankengine-ish%2Fcli_weather_tool","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftankengine-ish%2Fcli_weather_tool","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftankengine-ish%2Fcli_weather_tool/lists"}