Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bcbcarl/emacs-wttrin
Emacs frontend for weather web service wttr.in.
https://github.com/bcbcarl/emacs-wttrin
emacs emacs-lisp melpa-badge weather
Last synced: 3 days ago
JSON representation
Emacs frontend for weather web service wttr.in.
- Host: GitHub
- URL: https://github.com/bcbcarl/emacs-wttrin
- Owner: bcbcarl
- License: mit
- Created: 2016-03-05T10:46:11.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2023-01-18T11:52:54.000Z (almost 2 years ago)
- Last Synced: 2024-12-11T12:25:16.986Z (11 days ago)
- Topics: emacs, emacs-lisp, melpa-badge, weather
- Language: Emacs Lisp
- Homepage:
- Size: 398 KB
- Stars: 148
- Watchers: 5
- Forks: 40
- Open Issues: 10
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[![MELPA][melpa-badge]][melpa-package]
[![MELPA Stable][melpa-stable-badge]][melpa-stable-package]
[![Gitter][gitter-badge]][gitter-chatroom]
[![Build Status][travis-ci-badge]][travis-ci-status]# wttrin.el
Emacs frontend for weather web service [wttr.in].
## Usage
Set a default cities list for completion:
```elisp
(setq wttrin-default-cities '("Taipei" "Tainan"))
```You can also specify default HTTP request Header for Accept-Language:
```elisp
(setq wttrin-default-accept-language '("Accept-Language" . "zh-TW"))
```Then run `M-x wttrin` to get the information.
When the weather is displayed you can press `q` to quit the buffer or `g` to query for another city.
![screenshot]
## LICENSE
MIT
[wttr.in]: http://wttr.in/
[screenshot]: wttrin.png
[melpa-badge]: http://melpa.org/packages/wttrin-badge.svg
[melpa-package]: http://melpa.org/#/wttrin
[melpa-stable-badge]: http://stable.melpa.org/packages/wttrin-badge.svg
[melpa-stable-package]: http://stable.melpa.org/#/wttrin
[gitter-badge]: https://badges.gitter.im/bcbcarl/emacs-wttrin.svg
[gitter-chatroom]: https://gitter.im/bcbcarl/emacs-wttrin?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge
[travis-ci-badge]: https://travis-ci.org/bcbcarl/emacs-wttrin.svg?branch=master
[travis-ci-status]: https://travis-ci.org/bcbcarl/emacs-wttrin