---
title: A GitHub Stars widget for WordPress
date: 2021-04-02 15:58
slug: a-github-stars-widget-for-wordpress
categories:
- Code
tags:
- Wordpress
- developer
- wordpress
- github
---

![GitHub mascot (Octocat) with Star](https://brettterpstra.com/uploads/2021/04/octostar.png)

Backstory: my co-host on [Overtired](https://overtiredpod.com/), [Christina Warren](https://twitter.com/film_girl/), has a constantly growing collection of [repositories she's starred on GitHub](https://github.com/filmgirl?tab=stars). As a developer advocate for a Big Tech company, she always keeps her finger on the pulse of the new and cool developer stuff, and her stars serve as a curated list of "projects to watch." It came up on an episode a while ago, and I decided we should have a way to display the latest ones.

The Overtired site uses WordPress, so even though I'm not doing a lot of WordPress development these days, I figured I'd dust off my PHP skills and whip up a plugin for this. It's pretty barebones, but it does the job, and you can plug in any username to get their latest stars as a widget.

You can see it in action on [overtiredpod.com](https://overtiredpod.com/), all the way down in the footer. I actually have never tried it as a sidebar widget, but it's really simple markup and I'm just assuming it will work.

![stars_screenshot.jpg](https://brettterpstra.com/uploads/2021/04/stars_screenshot.jpg)

As with a lot of my little side projects, this one has a finite audience. A convergence of GitHub users who think their stars are worth sharing and happen to be running a WordPress blog. If that describes you, I have just the thing.

Check out [the project page](/projects/github-stars/) for more details. I doubt this will ever see many updates, but it's tested with WP 5.7 and should be good for the foreseeable future.

**[Download WordPress GitHub Stars Widget v1.0.1](https://brettterpstra.com/downloads/github-stars-widget1.0.1.zip)**

A WordPress widget to display your GitHub stars

[More info](https://brettterpstra.com/projects/github-stars/)

(I would add this to the WordPress plugin directory for fun, but you still have to set everything up in Subversion and I don't even have `svn` installed these days, let alone remember how to use it. If it were a bigger project, I might consider it, but it's just not worth it.)

## WordPress GitHub Stars Widget

Project: [WordPress GitHub Stars Widget](https://brettterpstra.com/projects/github-stars.md)

---

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.
