whatisgithub

What is pi-infobar?

phun333/pi-infobar — explained in plain English

Analysis updated 2026-05-18

48SwiftAudience · developerComplexity · 2/5LicenseSetup · easy

In one sentence

Pi Stats is a macOS menu bar app that reads local log files to show how much you have spent, and on what, while using the Pi AI coding agent.

Mindmap

mindmap
  root((repo))
    What it does
      Menu bar dashboard
      Reads local Pi logs
      Shows spend by day
    Features
      Language breakdown
      Model breakdown
      Token usage
    Tech stack
      Swift
      macOS
    Audience
      Pi agent users
      Developers
    Caveats
      Unverified app warning
      Optional remote SSH mode

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

See total spending and a daily breakdown for using the Pi AI agent.

USE CASE 2

Check which programming languages and AI models you have used most in Pi sessions.

USE CASE 3

Pull Pi agent log files from a remote server over SSH instead of only reading local files.

What is it built with?

SwiftmacOS

How does it compare?

phun333/pi-infobarwondaggvcb-oss/lazy-bear-desktopkellyvv/openreshot
Stars484651
LanguageSwiftSwiftSwift
Setup difficultyeasymoderatemoderate
Complexity2/52/53/5
Audiencedevelopergeneralgeneral

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · easy Time to first run · 5min

Because the developer lacks a paid Apple developer account, macOS flags it as unverified, the install command clears the security flag.

Released under the MIT license, so you can use, modify, and redistribute it freely as long as you keep the copyright notice.

So what is it?

Pi Stats is a small macOS application that sits in your menu bar and shows you a dashboard of how much you have spent using the Pi AI agent. It displays your total spending, a breakdown by day, which programming languages you have written code in, which AI models you used, which projects you worked on, and how many tokens you consumed. All of this is calculated by reading session log files that the Pi agent saves to your computer. The app is local by default, meaning it never sends your data anywhere. It reads files from a folder on your Mac, processes them, and shows you the results. There is an optional remote mode where you can configure it to pull log files from your own server over SSH, but even then nothing is uploaded: data only flows from your server to your Mac. Installing it takes one extra step because the developer does not have a paid Apple developer account, so macOS will initially block it as unverified. The README provides a single Terminal command that downloads the app, installs it, clears the security flag that macOS sets on downloaded applications, and opens it. There is also a manual installation path if you prefer to download a disk image file instead. Once running, a small pi symbol appears in your menu bar. Clicking it opens a panel with tabs for cost, languages, models, projects, and token usage. You can filter each view by the last day, seven days, thirty days, or all time. The app is built with Swift and supports both Apple Silicon and Intel Macs running macOS 14 or newer. The source code is available under the MIT license, and build scripts are included for anyone who wants to compile it themselves.

Copy-paste prompts

Prompt 1
Walk me through installing Pi Stats on macOS using the one line Terminal command.
Prompt 2
Explain why macOS blocks this app initially and how the install command works around it.
Prompt 3
How do I configure the optional remote SSH mode to pull logs from my own server.
Prompt 4
What data does Pi Stats read and does any of it leave my Mac.

Frequently asked questions

What is pi-infobar?

Pi Stats is a macOS menu bar app that reads local log files to show how much you have spent, and on what, while using the Pi AI coding agent.

What language is pi-infobar written in?

Mainly Swift. The stack also includes Swift, macOS.

What license does pi-infobar use?

Released under the MIT license, so you can use, modify, and redistribute it freely as long as you keep the copyright notice.

How hard is pi-infobar to set up?

Setup difficulty is rated easy, with roughly 5min to a first successful run.

Who is pi-infobar for?

Mainly developer.

Open on GitHub → Ask about another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.