---
title: TerminalWidget for Stargazers
date: 2026-08-17 06:32
slug: terminalwidget-for-stargazers
categories:
- Blog
- Code
tags:
- terminalwidget
- widgets
- recipe
---

Recently, [Dr. Drang](https://leancrew.com) submitted a ["planets" recipe](https://terminalwidget.app/recipes/planets) for TerminalWidget that shows the locations of planets in the night sky. It was a great use of a medium widget format, and did the trick nicely. But some recent updates to TerminalWidget offered some new display possibilities.

The original script was designed to put a grid of information using spaces to create the grid with a monospace font. But TerminalWidget can handle tables, so it was possible to modify the script to output tabular data instead, which means it wasn't limited to monospace fonts anymore.

With some abbreviation (changing the word "Constellation" to just "Con"), it would fit in a medium widget still, but TerminalWidget now offers an "Extra Large" size widget that makes the display much more readable.

I also (just yesterday) added a new `--background-image` flag to TerminalWidget that lets you put an image behind any other widget content, after a [request from Matt](https://mastodon.social/@mdicarlo/117100899631262592). It responds to the same `--filter` options as `--image`, so you can control opacity, blur, etc. So I put a starry background from Unsplash behind the planets widget. (You could also combine the [Random Unsplash Image recipe](https://terminalwidget.app/recipes/random-unsplash-image) with it and give it a "starry sky" search to keep randomizing the background.) 

It came out looking spectacular.

![tw-planets.jpg](https://brettterpstra.com/uploads/2026/08/tw-planets.jpg)

Here's the recipe for [Planets Updated](https://terminalwidget.app/recipes/planets-updated). You just need the Astropy Python package and the coordinates from which you want to locate the planets. Thanks again to Dr. Drang for the inspiration.

## TerminalWidget

Project: [TerminalWidget](https://brettterpstra.com/projects/terminalwidget.md)

- [Grab the Mac Power User bundle for 36% off](https://brettterpstra.com/2026/10/05/grab-the-mac-power-user-bundle-for-20-percent-off.md): 2026-10-05
- [Lock screen TerminalWidgets](https://brettterpstra.com/2026/09/05/lock-screen-terminalwidgets.md): 2026-09-05
- [New recipes and diagnostics for TerminalWidget](https://brettterpstra.com/2026/08/28/new-recipes-and-diagnostics-for-terminalwidget.md): 2026-08-28
- [TerminalWidget for Stargazers](https://brettterpstra.com/2026/08/17/terminalwidget-for-stargazers.md): 2026-08-17
- [Creating TerminalWidgets with AI](https://brettterpstra.com/2026/08/11/creating-terminalwidgets-with-ai.md): 2026-08-11
- [My TerminalWidget Dashboard](https://brettterpstra.com/2026/08/10/my-terminalwidget-dashboard.md): 2026-08-10
- [Linked text and buttons in TerminalWidget](https://brettterpstra.com/2026/08/08/linked-text-and-buttons-in-terminalwidget.md): 2026-08-08
- [Introducing TerminalWidget](https://brettterpstra.com/2026/08/01/introducing-terminalwidget.md): 2026-08-01
- [A little more flexibility for your GitHub contribution graphs](https://brettterpstra.com/2026/05/11/a-little-more-flexibility-for-your-github-contribution-graphs.md): 2026-05-11
- [Generate static images of your GitHub contribution chart](https://brettterpstra.com/2026/05/08/generate-static-images-of-your-github-contribution-chart.md): 2026-05-08
- [TerminalWidget: terminal feedback on the Desktop](https://brettterpstra.com/2026/04/20/terminalwidget-terminal-feedback-on-the-desktop.md): 2026-04-20

---

Brett is a writer and developer living in Minnesota, USA. You can follow him as ttscoff. This content is supported by readers like you. [More about Brett](https://brettterpstra.com/contact.md), including social links.

Copyright © 2026 Brett Terpstra. All rights reserved.
