Skip to content

Emacs frontend for weather web service wttr.in.

License

Notifications You must be signed in to change notification settings

mattkeeler/emacs-wttrin

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MELPA MELPA Stable Gitter Build Status

wttrin.el

Emacs frontend for weather web service wttr.in.

Usage

Set a default cities list for completion:

(setq wttrin-default-cities '("Taipei" "Tainan"))

You can also specify default HTTP request Header for Accept-Language:

(setq wttrin-default-accept-language '("Accept-Language" . "zh-TW"))

As well as the unit system, "m" for metric and "u" for USCS/imperial (the default is to choose based on your location):

(setq wttrin-unit-system "m")

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

About

Emacs frontend for weather web service wttr.in.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Emacs Lisp 98.5%
  • Shell 1.5%