# Track the Planets with a Mac Widget

Original title: A Planet Position Widget

> Hacker News story 49276353 · language: en · submitted 2026-08-12
> Web version: https://zeli.app/story/49276353
> About this feed: https://zeli.app/llms.txt · Agent guide: https://zeli.app/skill.md

▲ 16 · by [speckx](<https://news.ycombinator.com/user?id=speckx>) · 💬 1
[original](<https://leancrew.com/all-this/2026/08/a-planet-position-widget/>) · [HN discussion](<https://news.ycombinator.com/item?id=49276353>)

## Summary

Dr. Drang combines TerminalWidget and Astropy to create a desktop widget that shows the azimuth, altitude, and constellation of the Sun, Moon, and planets up to Saturn. The script runs every 30 minutes via launchd, and the article explains the code and setup, including a function to convert azimuth to compass directions. The widget even hinted at a solar eclipse, though clouds obscured the view.

## Key quote

> Since 100% of the Sun is being blocked by clouds, I won’t be able to see any of the eclipse. But my planets widget is showing me, more or less, that it’s happening above the clouds.

---

## Cite

- Page: https://zeli.app/story/49276353
- Date: 2026-08-12
- Source: leancrew.com (https://leancrew.com/all-this/2026/08/a-planet-position-widget/)
- Hacker News: https://news.ycombinator.com/item?id=49276353

## Other languages

- zh: https://zeli.app/zh/story/49276353 · markdown: https://zeli.app/zh/story/49276353.md
- ja: https://zeli.app/ja/story/49276353 · markdown: https://zeli.app/ja/story/49276353.md
- es: https://zeli.app/es/story/49276353 · markdown: https://zeli.app/es/story/49276353.md
