A GitHub Stars widget for WordPress
Backstory: my co-host on Overtired, Christina Warren, has a constantly growing collection of repositories she’s starred on GitHub. 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, 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.
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 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.
WordPress GitHub Stars Widget v1.0.1
Download WordPress GitHub Stars Widget v1.0.1
A WordPress widget to display your GitHub stars
Updated 03/24/22. Changelog
(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.)