Cistern is a native macOS menu bar app for monitoring your CircleCI builds in real time:
- Polls the CircleCI API for build changes
- Display an icon reflecting the state of the current build
- Shows notifications when a build started or ended
- macOS 13.0 or later
- Xcode 15.0 or later (for building)
Download a GitHub release, unzip, and place in your Applications folder. Note: The releases on GitHub are not signed.
- Clone the repository
- Open
Cistern.xcodeprojin Xcode - Build and run (⌘R)
- Click the menu bar icon and go to Settings to add your CircleCI API token
- Go to CircleCI
- Click your profile icon → User Settings
- Select Personal API Tokens
- Click Create New Token
- Copy the token and paste it into Cistern's settings
CircleCI’s API has some notable limitations. In particular, it does not provide an endpoint for retrieving currently running builds. The only relevant option for listing builds is an API that returns pipelines ordered by their creation time.
This creates a challenge because builds for older pipelines are not reordered when new activity occurs. In theory, a build that is currently running could belong to a pipeline created months ago, and the only way to discover it would be to paginate through the entire pipeline history.
To limit the number of requests to the CircleCI API, we only fetch pipelines created within the last 7 days. This approach captures most running builds, but it is not a perfect solution. If you are not seeing a build in Cistern, it could be due to this issue.
Cisterns are circular. Also, it starts with "CI".
