URL: https://github.com/peterbe/xbar-my-prs

xbar-my-prs is a plugin I wrote for something called xbar which is a macOS app that let's you write scripts that then show up in the macOS menu bar. Mine is about fetching information about my recent GitHub pull requests.

A picture of it in action:

Every minute, it does this GitHub search: is:pr author:@me sort:updated

Then it parses the results and attempts to display a neat summary.

And each time it runs, it stores a copy of the result in the /tmp directory so that it can compare what the result became compared to before. So if something has changed in the last minute, it displays a summary of the change(s). Example:

How you can get it too

First you have to install xbar onto your macOS.

At the time of writing you can't install it with Homebrew. Working on that. But all you need is just and Bun and then you can install it like this:


git clone https://github.com/peterbe/xbar-my-prs.git && cd xbar-my-prs
just install
just ship

If all goes well, it should have crated an executable file at:


~/Library/Application\ Support/xbar/plugins/my-prs.1m.bin

on your system. And that should be all xbar needs to know there's a new plugin to run.

Comments

Your email will never ever be published.

Previous:
Optimizing Bun compiled binary for gg2 January 13, 2026 Bun, TypeScript
Related by category:
Bun vs. Go for a basic web server benchmark October 24, 2025 Bun
Benchmarking oxlint vs biome December 12, 2025 Bun, TypeScript
Hosting your static web site with Firebase Hosting November 3, 2025 Bun
Testing out vite 8 on SPA: Vite 8 is 5x faster December 6, 2025 Bun, TypeScript
Related by keyword:
Hello-world server in Bun vs Fastify September 9, 2023 Node, JavaScript, Bun
ts-node vs. esrun vs. esno vs. bun August 28, 2023 Node, JavaScript
Leibniz formula for π in Python, JavaScript, and Ruby March 14, 2024 Python, JavaScript
Trying out (and liking!) MeetingBar for macOS July 25, 2024 macOS