{"id":13393198,"url":"https://github.com/schachmat/wego","last_synced_at":"2025-10-21T04:55:48.511Z","repository":{"id":23602928,"uuid":"26971815","full_name":"schachmat/wego","owner":"schachmat","description":"weather app for the terminal","archived":false,"fork":false,"pushed_at":"2025-10-01T14:14:43.000Z","size":226,"stargazers_count":8305,"open_issues_count":31,"forks_count":504,"subscribers_count":164,"default_branch":"master","last_synced_at":"2025-10-21T04:55:27.645Z","etag":null,"topics":["ascii-art","ascii-table","forecast","go","hacktoberfest","terminal","weather","wego"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"isc","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/schachmat.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","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":"2014-11-21T18:09:53.000Z","updated_at":"2025-10-20T17:39:15.000Z","dependencies_parsed_at":"2023-09-24T05:08:07.166Z","dependency_job_id":"5b67328a-a4a4-4aec-bd1f-3e47692f3e94","html_url":"https://github.com/schachmat/wego","commit_stats":{"total_commits":158,"total_committers":31,"mean_commits":5.096774193548387,"dds":0.2911392405063291,"last_synced_commit":"d88a6a721b0e29b88e37cdb345d0d83022bd5217"},"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/schachmat/wego","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/schachmat%2Fwego","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/schachmat%2Fwego/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/schachmat%2Fwego/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/schachmat%2Fwego/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/schachmat","download_url":"https://codeload.github.com/schachmat/wego/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/schachmat%2Fwego/sbom","scorecard":{"id":803670,"data":{"date":"2025-08-11","repo":{"name":"github.com/schachmat/wego","commit":"bf192ea66e771a8031117845bfa04c603f903f41"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.9,"checks":[{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/go-build-test.yml:14: update your workflow using https://app.stepsecurity.io/secureworkflow/schachmat/wego/go-build-test.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/go-build-test.yml:16: update your workflow using https://app.stepsecurity.io/secureworkflow/schachmat/wego/go-build-test.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/golangci-lint.yml:21: update your workflow using https://app.stepsecurity.io/secureworkflow/schachmat/wego/golangci-lint.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/golangci-lint.yml:22: update your workflow using https://app.stepsecurity.io/secureworkflow/schachmat/wego/golangci-lint.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/golangci-lint.yml:26: update your workflow using https://app.stepsecurity.io/secureworkflow/schachmat/wego/golangci-lint.yml/master?enable=pin","Info:   0 out of   4 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   1 third-party GitHubAction dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/go-build-test.yml:1","Info: topLevel 'contents' permission set to 'read': .github/workflows/golangci-lint.yml:10","Info: topLevel 'pull-requests' permission set to 'read': .github/workflows/golangci-lint.yml:12","Warn: topLevel 'checks' permission set to 'write': .github/workflows/golangci-lint.yml:14","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Code-Review","score":5,"reason":"Found 16/28 approved changesets -- score normalized to 5","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: ISC License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 20 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-23T11:12:51.409Z","repository_id":23602928,"created_at":"2025-08-23T11:12:51.409Z","updated_at":"2025-08-23T11:12:51.409Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":280207207,"owners_count":26290616,"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","status":"online","status_checked_at":"2025-10-21T02:00:06.614Z","response_time":58,"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":["ascii-art","ascii-table","forecast","go","hacktoberfest","terminal","weather","wego"],"created_at":"2024-07-30T17:00:46.053Z","updated_at":"2025-10-21T04:55:48.483Z","avatar_url":"https://github.com/schachmat.png","language":"Go","readme":"**wego** is a weather client for the terminal.\n\n![Screenshots](http://schachmat.github.io/wego/wego.gif)\n\n## Features\n\n* show forecast for 1 to 7 days\n* nice ASCII art icons\n* displayed info (metric or imperial units):\n  * temperature range ([felt](https://en.wikipedia.org/wiki/Wind_chill) and measured)\n  * windspeed and direction\n  * viewing distance\n  * precipitation amount and probability\n* ssl, so the NSA has a harder time learning where you live or plan to go\n* multi language support\n* config file for default location which can be overridden by commandline\n* Automatic config management with [ingo](https://github.com/schachmat/ingo)\n\n## Dependencies\n\n* A [working](https://golang.org/doc/install#testing) [Go](https://golang.org/)\n  [1.20](https://golang.org/doc/go1.20) environment \n* utf-8 terminal with 256 colors\n* A monospaced font containing all the required runes (I use `dejavu sans\n  mono`)\n* An API key for the backend (see Setup below)\n\n## Installation\n\nCheck your distribution for packaging:\n\n[![Packaging status](https://repology.org/badge/vertical-allrepos/wego.svg)](https://repology.org/project/wego/versions)\n\nTo directly install or update the wego binary from Github into your `$GOPATH` as usual, run:\n```shell\ngo install github.com/schachmat/wego@latest\n```\n\n## Setup\n\n0. Run `wego` once. You will get an error message, but the `.wegorc` config file\n   will be generated in your `$HOME` directory (it will be hidden in some file\n   managers due to the filename starting with a dot).\n0. __With an [Openweathermap](https://home.openweathermap.org/) account__\n    * You can create an account and get a free API key by [signing up](https://home.openweathermap.org/users/sign_up)\n    * Update the following `.wegorc` config variables to fit your needs:\n    ```\n      backend=openweathermap\n      location=New York\n      owm-api-key=YOUR_OPENWEATHERMAP_API_KEY_HERE\n    ```\n0. __With a [Worldweatheronline](http://www.worldweatheronline.com/) account__\n    * Worldweatheronline no longer gives out free API keys. [#83](https://github.com/schachmat/wego/issues/83)\n    * Update the following `.wegorc` config variables to fit your needs:\n    ```\n      backend=worldweatheronline\n      location=New York\n      wwo-api-key=YOUR_WORLDWEATHERONLINE_API_KEY_HERE\n    ```\n0. You may want to adjust other preferences like `days`, `units` and `…-lang` as\n   well. Save the file.\n0. Run `wego` once again and you should get the weather forecast for the current\n   and next few days for your chosen location.\n0. If you're visiting someone in e.g. London over the weekend, just run `wego 4\n   London` or `wego London 4` (the ordering of arguments makes no difference) to\n   get the forecast for the current and the next 3 days.\n\nYou can set the `$WEGORC` environment variable to override the default config\nfile location.\n\n## Todo\n\n* more [backends and frontends](https://github.com/schachmat/wego/wiki/How-to-write-a-new-backend-or-frontend)\n* resolve ALL the [issues](https://github.com/schachmat/wego/issues)\n* don't forget the [TODOs in the code](https://github.com/schachmat/wego/search?q=TODO\u0026type=Code)\n\n## License - ISC\n\nCopyright (c) 2014-2017,  \u003cteichm@in.tum.de\u003e\n\nPermission to use, copy, modify, and/or distribute this software for any purpose\nwith or without fee is hereby granted, provided that the above copyright notice\nand this permission notice appear in all copies.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH\nREGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND\nFITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,\nINDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS\nOF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER\nTORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF\nTHIS SOFTWARE.\n","funding_links":[],"categories":["Go","Utilities","Applications","Tools","Packages","命令行工具","go","Table of Contents","Other","\u003ca name=\"utility\"\u003e\u003c/a\u003eUtilities","tools","ASCII UI/UX Apps"],"sub_categories":["Weather","Directory Navigation","Go","CLI Tools"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fschachmat%2Fwego","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fschachmat%2Fwego","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fschachmat%2Fwego/lists"}