Ewth.el
Emacs weather for Wttr.in(OpenSource) in modeline.
Install / Use
/learn @ISouthRain/Ewth.elREADME
Introduction
ewth.el is a simple Emacs minor mode that displays weather information in the Emacs modeline.
It leverages the wttr.in service, which provides concise weather reports, allowing you to stay informed without leaving Emacs.

Why not use display-wttrn.el?
- Freezes Emacs while updating data.
Key Features
-
Asynchronous Data Updates: Prevents Emacs from freezing during updates.
-
Modeline Display: Weather information is displayed directly in the Emacs window's modeline, without interrupting your editing.
-
Automatic Updates:
ewth.elautomatically fetches the latest weather data fromwttr.inat regular intervals and updates the modeline display. The update frequency can be adjusted via a customizable variable. -
Configurable: You can configure the
wttr.inURL (ewth-url) via a customizable variable to retrieve weather information for a specific city or in a specific format. -
Easy to Enable/Disable: Easily enable or disable the weather information display with
ewth-mode. -
Clean and Concise: By default, the weather information is displayed in a simple text format that doesn't take up too much modeline space.
Usage
(use-package ewth
:ensure nil
:load-path "path/to/ewth"
:defer 2
:config
(setq ewth-url "http://wttr.in/NewYork?format=2&M")
(ewth-mode)
)
Dependencies
request.el: Used for sending HTTP requests. Ensure you have therequestpackage installed. You can install it usingM-x package-install request.
Customization Options
ewth-url: Specifies thewttr.inURL. Affects the displayed city, format, etc, about more format: https://github.com/chubin/wttr.in?tab=readme-ov-file#one-line-outputewth-update-interval: Specifies the interval (in seconds) at which the weather information is updated.
Important Notes
wttr.inis a public service. Please use it responsibly and avoid requesting data too frequently.- If the
requestpackage is not installed correctly,ewth.elwill not function properly.
Acknowledgements
- Inspired by: display-wttrn
Related Skills
node-connect
349.7kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
109.7kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
349.7kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
349.7kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
