{"id":21283270,"url":"https://github.com/stuart-mclaren/rain","last_synced_at":"2025-07-04T19:04:59.690Z","repository":{"id":62886038,"uuid":"106600314","full_name":"stuart-mclaren/rain","owner":"stuart-mclaren","description":"Short-term rain forecast command line tool.","archived":false,"fork":false,"pushed_at":"2023-03-13T17:44:48.000Z","size":9453,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-12T11:06:01.598Z","etag":null,"topics":["command-line","command-line-tool","expected-rainfall","rain","rain-forecast"],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/stuart-mclaren.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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,"publiccode":null,"codemeta":null}},"created_at":"2017-10-11T19:33:27.000Z","updated_at":"2022-11-08T12:19:35.000Z","dependencies_parsed_at":"2024-06-21T17:42:49.608Z","dependency_job_id":"e495e880-17cd-40f4-ab6d-d93976d02e1b","html_url":"https://github.com/stuart-mclaren/rain","commit_stats":null,"previous_names":[],"tags_count":13,"template":false,"template_full_name":null,"purl":"pkg:github/stuart-mclaren/rain","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stuart-mclaren%2Frain","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stuart-mclaren%2Frain/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stuart-mclaren%2Frain/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stuart-mclaren%2Frain/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/stuart-mclaren","download_url":"https://codeload.github.com/stuart-mclaren/rain/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stuart-mclaren%2Frain/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263603137,"owners_count":23487211,"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":["command-line","command-line-tool","expected-rainfall","rain","rain-forecast"],"created_at":"2024-11-21T11:07:39.555Z","updated_at":"2025-07-04T19:04:59.665Z","avatar_url":"https://github.com/stuart-mclaren.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# rain: will it rain in the next few hours?\n\nRain is a CLI tool which uses  `yr.no` [APIs](http://om.yr.no/verdata/free-weather-data/) to display a rain forecast for the next several hours.\n\n## Usage\n\n```\n$ rain\n18:00 - 19:00 0.0 mm |\n19:00 - 20:00 0.2 mm | **\n20:00 - 21:00 0.6 mm | ******\n21:00 - 22:00 1.5 mm | ***************\n22:00 - 23:00 1.0 mm | **********\n23:00 - 00:00 0.7 mm | *******\n00:00 - 01:00 1.1 mm | ***********\n01:00 - 02:00 1.2 mm | ************\n02:00 - 03:00 0.5 mm | *****\n03:00 - 04:00 0.6 mm | ******\n04:00 - 05:00 0.8 mm | ********\n05:00 - 06:00 2.5 mm | *************************\n```\n\nThe above output shows expected rainfall per hour over the coming hours. The next hour, from `18:00` to `19:00`, will be dry. The final hour, from `06:00` to `07:00`, shows 2.5 mm expected rainfall.\n\nRain assumes a default longitude and latitude. You will usually need to override these to match your location.\n\n```\n$ rain --latitude 43.2648 --longitude -18.9297\n```\n\nType `rain --help` for a full list of options.\n\n## Installation\n\nBinaries for different operating systems (Windows, Linux, etc) are available for\ndownload here:\n\nhttps://github.com/stuart-mclaren/rain/releases\n\n## Compiling\n\nTo compile from source\n\n```\n$ git clone https://github.com/stuart-mclaren/rain\n$ cd rain\n$ go build ./...\n$ ./rain\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstuart-mclaren%2Frain","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstuart-mclaren%2Frain","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstuart-mclaren%2Frain/lists"}