{"id":36102753,"url":"https://github.com/qbit/ansiweather","last_synced_at":"2026-01-10T21:00:46.002Z","repository":{"id":11290708,"uuid":"13702741","full_name":"qbit/ansiweather","owner":"qbit","description":"Weather in your terminal, with ANSI colors and Unicode symbols","archived":false,"fork":true,"pushed_at":"2015-02-03T17:19:11.000Z","size":186,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-05-02T06:10:08.371Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"fcambus/ansiweather","license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/qbit.png","metadata":{"files":{"readme":"README.md","changelog":"ChangeLog","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-10-19T14:51:59.000Z","updated_at":"2015-02-03T17:19:11.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/qbit/ansiweather","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/qbit/ansiweather","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qbit%2Fansiweather","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qbit%2Fansiweather/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qbit%2Fansiweather/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qbit%2Fansiweather/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/qbit","download_url":"https://codeload.github.com/qbit/ansiweather/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qbit%2Fansiweather/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28258096,"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":"2026-01-10T02:00:06.867Z","response_time":57,"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":[],"created_at":"2026-01-10T21:00:28.177Z","updated_at":"2026-01-10T21:00:45.948Z","avatar_url":"https://github.com/qbit.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Description\n\nAnsiWeather is a Shell script for displaying the current weather conditions in your\nterminal, with support for ANSI colors and Unicode symbols.\n\n![AnsiWeather Screenshot](http://www.cambus.net/content/2013/10/ansiweather.png)\n\nWeather data comes from the `OpenWeatherMap` free weather API.\n\n\n\n## Requirements\n\nAnsiWeather requires the following dependencies : \n\n- A command to fetch HTTP data such as [cURL](http://curl.haxx.se) or [wget](https://www.gnu.org/software/wget/)\n- [jq](http://stedolan.github.io/jq/) (lightweight and flexible command-line JSON processor)\n- [bc](https://www.gnu.org/software/bc/) (arbitrary precision numeric processing language)\n\n\n\n## Usage\n\nAfter cloning the repository, simply invoke the script by typing :\n\n\t./ansiweather\n\n\n\n## Command Line Options\n\nAny configuration options may also be passed in as command line options.\n\n\t./ansiweather -l Moscow,RU -u metric -s true -f 5 -d true\n\n\n\n## Configuration\n\nThe following configuration options (detailed below) are available and should\nbe set according to your location and preferences.\n\nConfig options can also be set in ~/.ansiweatherrc\n\nExample : `~/.ansiweatherrc`\n\n\tlocation:Moscow,RU\n\tfetch_cmd:ftp -V -o -\n\tgeo_api_url:www.telize.com/geoip\n\tunits:metric\n\tdaylight:true\n\nThe file `ansiweatherrc.example` contains all available configuration variables.\n\n### Location\n\nLocation format is `city,CC` where `CC` is a two-letter ISO 3166-1 alpha-2\ncountry code. A list of country codes is available [here](http://www.statdns.com/cctlds/).\n\nIn case no location is specified, AnsiWeather will try to geolocate you\nusing [Telize](http://www.telize.com/).\n\nExample : `Moscow,RU`\n\n\tlocation:Moscow,RU\n\n### Fetch Command\n\nVarious tools can be used to fetch data : `curl`, `wget`, `ftp`.\n\nExample : `curl -s`\n\n\tfetch_cmd:curl -s\n\nExample : `wget -qO-`\n\n\tfetch_cmd:wget -qO-\n\nExample : `ftp -V -o -`\n\n\tfetch_cmd:ftp -V -o -\n\nDefault: `curl -s`\n\n### System of Units\n\nBoth `metric` and `imperial` systems are supported.\n\n\tunits:metric\n\nDefault: `metric`\n\n### Display symbols\n\nToggle Unicode symbols display. Value can be either `true` or `false` (requires an Unicode capable display).\n\n\tsymbols:true\n\nDefault: `true`\n\n### Display forecast\n\nShow upcoming forecast for the next `N` days (for 0 \u003c= N \u003c= 7). `0` will show standard output.\n\n\tforecast:5\n\nDefault: `0`\n\n### Display sunrise / sunset\n\nToggle daylight display. Value can be either `true` or `false`.\n\n\tdaylight:false\n\nDefault: `false`\n\n### Date and Time format\n\nConfigure date and time format display. See Unix date formatting documentation for details.\n\n\tdateformat:%a %b %d\n\nDefault : `%a %b %d`\n\n\ttimeformat:%b %d %r\n\nDefault : `%b %d %r`\n\n### GeoIP URL\n\nSet the url for getting GeoIP data (must return json).\n\n    \tgeo_api_url:www.telize.com/geoip\n\tgeo_api_proto:https\n\nDefault : `http://www.telize.com/geoip`\n\n## License\n\nAnsiWeather is released under the BSD 3-Clause license. See `LICENSE` file\nfor details.\n\n\n\n## Author\n\nAnsiWeather is developed by Frederic Cambus\n\n- Site : http://www.cambus.net\n- Twitter: http://twitter.com/fcambus\n\n\n\n## Resources\n\nGitHub : https://github.com/fcambus/ansiweather\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fqbit%2Fansiweather","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fqbit%2Fansiweather","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fqbit%2Fansiweather/lists"}