• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

cjennings / emacs-wttrin / 28197345374
94%

Build:
DEFAULT BRANCH: main
Ran 25 Jun 2026 08:08PM UTC
Jobs 1
Files 3
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

25 Jun 2026 08:03PM UTC coverage: 95.285% (+0.2%) from 95.07%
28197345374

push

github

cjennings
feat: add external-command geolocation, opt-out, and example adapters

These build on the current-location picker with the rest of the geolocation work.

wttrin-geolocation-command runs a command that prints {lat,lng} (and optionally an address) and queries wttr.in by those coordinates. IP geolocation only finds the network's exit point, which is wrong on a VPN or hotspot. A command that scans nearby WiFi resolves to street level. It runs asynchronously, falls back to the IP provider when unset or failing, and assumes nothing about the OS, so it's inert until set. When the command returns an address, wttrin shows it on a "Location:" line, so the resolved place is readable even though the fetch is by raw coordinates.

wttrin-use-current-location is a labeled command that sets the favorite to auto-detect, so the bare t value never has to be typed into init by hand.

wttrin-geolocation-enabled (default t) turns every geolocation surface off for anyone who wants that: the picker entry, the auto-detect favorite, and the command.

examples/geolocation/ ships two reference adapters for the command: google-geolocate.py (Google API, key via the environment or ~/.authinfo.gpg) and apple-wps.py (Apple's keyless WiFi positioning, which uses an undocumented endpoint, so read its caveat). Both are Python 3 standard library and scan via nmcli, with notes on adapting the scan to other systems.

48 of 49 new or added lines in 2 files covered. (97.96%)

586 of 615 relevant lines covered (95.28%)

11.86 hits per line

Uncovered Changes

Lines Coverage ∆ File
1
94.14
-0.04% wttrin.el
Jobs
ID Job ID Ran Files Coverage
1 28197345374.1 25 Jun 2026 08:08PM UTC 3
95.28
GitHub Action Run
Source Files on build 28197345374
  • Tree
  • List 3
  • Changed 2
  • Source Changed 2
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #28197345374
  • 7027ccce on github
  • Prev Build on main (#28184312702)
  • Next Build on main (#28245954950)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc