{"id":46597564,"url":"https://github.com/matt-dray/weva","last_synced_at":"2026-03-07T15:02:50.339Z","repository":{"id":340878658,"uuid":"1166115829","full_name":"matt-dray/weva","owner":"matt-dray","description":"💻🌦️ CLI-first R package: a tiny weather report","archived":false,"fork":false,"pushed_at":"2026-02-27T00:22:45.000Z","size":17,"stargazers_count":2,"open_issues_count":2,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-02-27T05:42:51.547Z","etag":null,"topics":["open-meteo","postcodesio","r-cli","r-package","rstats","weather"],"latest_commit_sha":null,"homepage":"","language":"R","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/matt-dray.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-02-24T22:26:00.000Z","updated_at":"2026-02-27T02:07:55.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/matt-dray/weva","commit_stats":null,"previous_names":["matt-dray/weva"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/matt-dray/weva","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matt-dray%2Fweva","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matt-dray%2Fweva/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matt-dray%2Fweva/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matt-dray%2Fweva/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/matt-dray","download_url":"https://codeload.github.com/matt-dray/weva/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matt-dray%2Fweva/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30219280,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-07T14:02:48.375Z","status":"ssl_error","status_checked_at":"2026-03-07T14:02:43.192Z","response_time":53,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["open-meteo","postcodesio","r-cli","r-package","rstats","weather"],"created_at":"2026-03-07T15:02:45.203Z","updated_at":"2026-03-07T15:02:50.331Z","avatar_url":"https://github.com/matt-dray.png","language":"R","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# weva\n\n\u003c!-- badges: start --\u003e\n[![Project Status: Concept – Minimal or no implementation has been done\nyet, or the repository is only intended to be a limited example, demo,\nor\nproof-of-concept.](https://www.repostatus.org/badges/latest/concept.svg)](https://www.repostatus.org/#concept)\n[![R-CMD-check](https://github.com/matt-dray/weva/actions/workflows/R-CMD-check.yaml/badge.svg)](https://github.com/matt-dray/weva/actions/workflows/R-CMD-check.yaml)\n[![format-check.yaml](https://github.com/matt-dray/weva/actions/workflows/format.yaml/badge.svg)](https://github.com/matt-dray/weva/actions/workflows/format.yaml)\n[![jarl-check](https://github.com/matt-dray/weva/actions/workflows/lint.yaml/badge.svg)](https://github.com/matt-dray/weva/actions/workflows/lint.yaml)\n[![Blog\nposts](https://img.shields.io/badge/rostrum.blog-posts-008900?labelColor=000000\u0026logo=data%3Aimage%2Fgif%3Bbase64%2CR0lGODlhEAAQAPEAAAAAABWCBAAAAAAAACH5BAlkAAIAIf8LTkVUU0NBUEUyLjADAQAAACwAAAAAEAAQAAAC55QkISIiEoQQQgghRBBCiCAIgiAIgiAIQiAIgSAIgiAIQiAIgRAEQiAQBAQCgUAQEAQEgYAgIAgIBAKBQBAQCAKBQEAgCAgEAoFAIAgEBAKBIBAQCAQCgUAgEAgCgUBAICAgICAgIBAgEBAgEBAgEBAgECAgICAgECAQIBAQIBAgECAgICAgICAgECAQECAQICAgICAgICAgEBAgEBAgEBAgICAgICAgECAQIBAQIBAgECAgICAgIBAgECAQECAQIBAgICAgIBAgIBAgEBAgECAgECAgICAgICAgECAgECAgQIAAAQIKAAAh%2BQQJZAACACwAAAAAEAAQAAAC55QkIiESIoQQQgghhAhCBCEIgiAIgiAIQiAIgSAIgiAIQiAIgRAEQiAQBAQCgUAQEAQEgYAgIAgIBAKBQBAQCAKBQEAgCAgEAoFAIAgEBAKBIBAQCAQCgUAgEAgCgUBAICAgICAgIBAgEBAgEBAgEBAgECAgICAgECAQIBAQIBAgECAgICAgICAgECAQECAQICAgICAgICAgEBAgEBAgEBAgICAgICAgECAQIBAQIBAgECAgICAgIBAgECAQECAQIBAgICAgIBAgIBAgEBAgECAgECAgICAgICAgECAgECAgQIAAAQIKAAA7)](https://www.rostrum.blog/index.html#category=weva)\n\u003c!-- badges: end --\u003e\n\nAn R package with a [Rapp](https://cran.r-project.org/package=Rapp)-powered command-line interface (CLI) to generate a limited and opinionated weather report for a UK postcode.\n\nUses data from the:\n\n* [Open-Meteo](https://open-meteo.com) API\n* [postcodes.io](https://postcodes.io/) API\n\n## Install\n\nYou can install the package from the R console.\n\n``` r\ninstall.packages(\"pak\") # if not yet installed\npak::pak(\"matt-dray/weva\")\n```\n\nThen you can install the CLI.\n\n``` r\nweva::install_cli()\n```\n\n## Use\n\nRun `weva` from a terminal with a valid UK postcode—the only required positional argument—to receive a tiny weather report with segments for now and later.\n\n```bash\nweva wc2n5du\n```\n```\nnow 8.2°C ☀️ | +1h 7.6°C ☀️ \n```\n\nThe temperature values are styled with [ANSI escape codes](https://en.wikipedia.org/wiki/ANSI_escape_code) if your terminal supports them.\n\nYou can also supply options to:\n\n* extend the forecast by a user-supplied number of `--hours` (shortcut `-h`)\n* show a segment with today's `--extremes` (`-e`) of temperature\n\n```bash\nweva \"WC2N 5DU\" -h 24 -e\n```\n```\nnow 8.2°C ☀️ | +24h 11.1°C ☁️ | today 6.9°C to 10.7°C \n```\n\nThe Open-Meteo API returns 'current' data at the nearest 15 minutes and 'hourly' at the top of the hour.\n{weva} aligns these by rounding to the nearest hour before adding the user's `--hours` input.\n\nTo give more precise time-related information, you can show interpreted `--datetimes` (`-d`) for each segment.\n\n```bash\nweva \"WC2N 5DU\" -h 24 -e -d\n```\n```\n2026-02-28 20:30 8.2°C ☀️ | 2026-03-01 21:00 11.1°C ☁️ | 2026-02-28 6.9°C to 10.7°C \n```\n\nRun `weva --help` for further information.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmatt-dray%2Fweva","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmatt-dray%2Fweva","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmatt-dray%2Fweva/lists"}