{"id":41158873,"url":"https://github.com/ruediger/weather-metno-el","last_synced_at":"2026-01-22T19:18:03.700Z","repository":{"id":4864928,"uuid":"6019760","full_name":"ruediger/weather-metno-el","owner":"ruediger","description":"Weather data from met.no in GNU Emacs","archived":false,"fork":false,"pushed_at":"2025-07-27T16:42:40.000Z","size":304,"stargazers_count":34,"open_issues_count":1,"forks_count":7,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-07-27T18:48:34.663Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Emacs Lisp","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"etsy/statsd","license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ruediger.png","metadata":{"files":{"readme":"README.org","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2012-09-30T15:56:33.000Z","updated_at":"2025-07-27T16:42:44.000Z","dependencies_parsed_at":"2023-02-15T23:30:34.286Z","dependency_job_id":null,"html_url":"https://github.com/ruediger/weather-metno-el","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/ruediger/weather-metno-el","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ruediger%2Fweather-metno-el","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ruediger%2Fweather-metno-el/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ruediger%2Fweather-metno-el/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ruediger%2Fweather-metno-el/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ruediger","download_url":"https://codeload.github.com/ruediger/weather-metno-el/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ruediger%2Fweather-metno-el/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28669089,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-22T17:07:18.858Z","status":"ssl_error","status_checked_at":"2026-01-22T17:05:02.040Z","response_time":144,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: 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":[],"created_at":"2026-01-22T19:18:02.747Z","updated_at":"2026-01-22T19:18:03.680Z","avatar_url":"https://github.com/ruediger.png","language":"Emacs Lisp","funding_links":[],"categories":[],"sub_categories":[],"readme":"# -*- mode:org; mode:auto-fill; fill-column:80; coding:utf-8; -*-\n#+TITLE: weather-metno-el: Weather data from met.no in Emacs\n\n* Looking for a new Maintainer! Please reach out (e.g., on github bugs) if you want to volunteer!\n\n[[http://www.met.no/][Meteorologisk institutt]] (met.no) is the Norwegian national meterological\ninstitute.  It offers free weather data under the [[http://creativecommons.org/licenses/by/3.0][CC BY 3.0]] license.  The\nforecast data is available for locations outside of Norway as well.\nWeather-metno-el uses the met.no webservice to provide the weather data in\nEmacs.\n\nThe project is currently work in progress and likely to change dramatically.\nSee =todo.org= for todos and longterm goals.\n\nPlease submit bug reports and feature requests to the [[https://github.com/ruediger/weather-metno-el/issues][Github issue tracker]].\n\n* Installation\nThe easiest way to install weather-metno is by using [[https://github.com/dimitri/el-get#readme][el-get]] or\n[[http://marmalade-repo.org/packages/weather-metno/][marmalade-repo]] (package.el).\n\nFor manual installation simply call =make= to byte compile the code and add the\ndirectory to your =load-path=.\n\n* Usage\nSet the variables =weather-metno-location-name=, =weather-metno-location-latitude=,\n=weather-metno-location-longitude=, and optionally\n=weather-metno-location-msl=.  Alternatively the calendar locations are used.\n\n#+BEGIN_SRC emacs-lisp\n(setq weather-metno-location-name \"Vienna, Austria\"\n      weather-metno-location-latitude 48\n      weather-metno-location-longitude 16)\n#+END_SRC\n\nNow run =M-x weather-metno-forecast= and it will open a new buffer showing the\nweather forecast for the given location.\n\n#+CAPTION: Weather forecast buffer\n[[./images/weather-forecast.png]]\n\nYou can use =M-x weather-metno-forecast-location= to get the weather forecast\nfor a different location.\n\nIf you want to force the icons to have a specific size then set\n=weather-metno-get-image-props= to =(:width 16 :height 16 :ascent center)=.\nThis only works when Emacs has ImageMagick support and\n=weather-metno-use-imagemagick= is set (default is autodetect).\n\n#+BEGIN_SRC emacs-lisp\n(setq weather-metno-get-image-props '(:width 16 :height 16 :ascent center))\n#+END_SRC\n\n** Orgmode support\nWeather-metno-el can display weather data in your agenda buffer.  Simply add the\nfollowing line to an entry in an agenda file (see =org-agenda-files=):\n\n#+BEGIN_SRC org-mode\n%%(org-weather-metno)\n#+END_SRC\n\nYou have to manually call =M-x weather-metno-update= to update the data.\n\n#+CAPTION: Weather data in the Agenda\n[[./images/agenda.png]]\n\nYou can customize the way the information is displayed in the agenda buffer by\ncustomizing the variables =org-weather-metno-query= and\n=org-weather-metno-format=.\n\nThe variable =org-weather-metno-query= contains a query language script that is\nexecuted on the weather data to extract and filter the information provided by\nmet.no.  See the documentation of =weather-metno-query= for more information\nabout the query language.  The query language is still under heavy development!\n\nThe variable =org-weather-metno-format= defines a format string to present the\ninformation returned by the query to the user.  Unlike =format= it uses a\ndifferent syntax based on curly brackets.  The string ={NAME}= is replaced by\nthe matching entry in the result data.  It is possible to add an action to the\ndata with ={NAME|ACTION}=.  See =weather-query-format= for more information\nabout this.  Currently the specifically defined actions are:\n\n- :symbol :: Interpret the number value as a symbol index and retrieve it.\n- :time :: Interpret the value as emacs' time and format it accordingly.\n\n** Mode-line support\nWeather-metno-el comes with a feature to display the current weather in the\nmode-line.  Similar to the =battery= feature of Emacs.\n\nActivate the feature with =M-x weather-metno-mode-line=.  It should display the\ncurrent weather information and update itself every hour.  However the weather\ndata is not updated automatically and you have to manually call =M-x\nweather-metno-update= for now.\n\nThe mode-line support does not yet use the query language and therefore the\ndisplayed information can not be configured.\n\n#+CAPTION: mode-line support\n[[./images/mode-line.png]]\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fruediger%2Fweather-metno-el","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fruediger%2Fweather-metno-el","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fruediger%2Fweather-metno-el/lists"}