{"id":14037247,"url":"https://github.com/snus-kin/weather-wrapper","last_synced_at":"2026-01-04T22:01:12.882Z","repository":{"id":115318871,"uuid":"77556173","full_name":"snus-kin/weather-wrapper","owner":"snus-kin","description":"A bash wrapper for wttr.in","archived":false,"fork":false,"pushed_at":"2019-01-22T13:10:00.000Z","size":33,"stargazers_count":6,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-08-13T03:07:17.100Z","etag":null,"topics":["city","displays-weather-forecast","forecast","moon","moon-phase","weather","wrapper","wttr"],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/snus-kin.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}},"created_at":"2016-12-28T19:28:29.000Z","updated_at":"2020-04-02T12:06:06.000Z","dependencies_parsed_at":null,"dependency_job_id":"fad73670-1ced-42c2-b87f-6fd3679b6b7a","html_url":"https://github.com/snus-kin/weather-wrapper","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/snus-kin%2Fweather-wrapper","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/snus-kin%2Fweather-wrapper/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/snus-kin%2Fweather-wrapper/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/snus-kin%2Fweather-wrapper/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/snus-kin","download_url":"https://codeload.github.com/snus-kin/weather-wrapper/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":227762632,"owners_count":17816053,"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":["city","displays-weather-forecast","forecast","moon","moon-phase","weather","wrapper","wttr"],"created_at":"2024-08-12T03:02:36.992Z","updated_at":"2026-01-04T22:01:07.835Z","avatar_url":"https://github.com/snus-kin.png","language":"Shell","funding_links":[],"categories":["Shell"],"sub_categories":[],"readme":"# weather-wrapper\nA bash wrapper for wttr.in.\n\n# Usage\nA bash wrapper for wttr.in.  \nDisplays weather forecast for a location, or the current phase of the moon.  \nOptions:  \n  -0, --today:     Display today's quadripartite weather forecast  \n  -1, --tomorrow:  Display tomorrow's  \n  -2, --nextday:   Display the next day's  \n  -3, --three:     Three-day quad  \n  -c, --city CITY: Specify the location city as CITY, e.g. -c Berlin  \n  -m, --moon:      Show the moon phase (location agnostic)  \nWithout any options, display today's simple forecast for your default location  \n\n# Why a Wrapper?\nFirstly, if you're looking for a self-hosted all singing all dancing program that does this: \u003chttps://github.com/schachmat/wego\u003e is a good option, however it requires go and an api key, this program is more portable, only requiring curl.\n(for moon phase output use \u003chttps://github.com/chubin/pyphoon\u003e)\n\nAlso, before this I had never programmed anything in bash so it was a bit of a challenge.\n\n# TODO\n- [x] read defaults from config file including default city\n  - [ ] expand to work with more options  \n- [x] make only one curl request when combining -0, -1, -2\n- [ ] weather and moon should probably be permitted together, outputs concatenated\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsnus-kin%2Fweather-wrapper","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsnus-kin%2Fweather-wrapper","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsnus-kin%2Fweather-wrapper/lists"}