- Category
- Utilities
- Publisher
- FabienGreard
- Repository
- Open repository
- Release
- Open release
- Current version
- v0.0.66
- Release date
- 2026-11-18
- Package size
- macOS 13.0 MB
TouchGrassBar
A macOS menu bar app for checking Codex and Claude limits, seeing locally observed token activity, and comparing public Token Scores on the Doomerboard.
README
TouchGrassBar
A macOS menu-bar app for checking Codex and Claude limits, seeing locally observed token activity, and comparing public Token Scores on the Doomerboard.
TouchGrassBar is an open, playful consumer project. It is not an employee-monitoring or productivity product.
Workspace
apps/desktop— Tauri, React, Vite, and Tailwind CSSapps/landing— Astro and Tailwind CSSpackages/backend— Convex schema and functionspackages/contracts— shared sanitized data contractspackages/ui— shared UI primitives and themepackages/tooling— strict TypeScript and Oxlint configuration
Commands
Install Bun, the stable Rust toolchain, and the macOS prerequisites for Tauri, then run:
bun setup
bun env:check
bun quality
bun dev
On first use, setup creates an anonymous local Convex deployment with no
Convex account. If .env.local already selects a deployment, setup validates
and preserves that selection. All development commands read the root
.env.local, including commands started inside a workspace package.
bun dev starts the selected Convex backend, the signed native desktop app,
and the landing site. The desktop runner derives a visible development label
and isolated runtime namespace from the worktree. It uses the stable
app.touchgrass.bar.dev bundle identifier and the configured development
provisioning profile for Keychain access.
Use a package command when you need one surface:
cd apps/desktop && bun dev
cd packages/backend && bun dev
cd apps/landing && bun dev
The desktop command starts its required backend. Backend startup never changes the deployment selection. Select cloud development explicitly when needed:
bun convex:login
bun convex:switch:dev
bun env:check
The switch commands write the selected profile and its target marker to the
root .env.local.
convex:switch:local fully replaces .env.local and selects a local deployment.
convex:switch:dev and convex:switch:prod fully replace .env.local with the
selected ignored environment profile. They do not change .env.dev or
.env.prod. convex:deploy deploys the backend to production and requires
explicit production authority. The backend package also exposes convex as a
direct Convex CLI passthrough, like the desktop package exposes tauri.
Build a real signed development application bundle with no Vite or Convex server:
bun desktop:bundle
The hot development app and development bundle use the same development
Keychain service. The release workflow uses the production bundle identifier,
Developer ID signing, hardened runtime, timestamping, notarization, and
stapling. Its release environment must provide the production provisioning
profile through APPLE_PROVISIONING_PROFILE_BASE64. The workflow validates the
profile, certificate, final entitlements, embedded profile, notarization ticket,
and Gatekeeper result. desktop:release is available only to release CI and
never reads a developer .env.local.
Cleanup commands have separate data boundaries:
bun clean
bun reset
bun reset:bundle
bun reset:release
clean removes only build output and caches. Reset commands never clean build
output or caches. reset removes all development state in the worktree, then
creates a fresh local setup. It preserves every remote Convex deployment and
all production state. The command starts the reset without a confirmation
prompt. reset:bundle removes only the packaged development app data and shared
development Keychain items. It preserves the built app and local Convex data.
reset:release removes only the release app data and release Keychain items on
this Mac. It requires strong confirmation and never deletes the production
Convex database.
All JavaScript and TypeScript dependency management and scripts run through Bun. TypeScript tests use Vitest; native tests use Cargo. Rust is limited to the Tauri native core.
Read CONTEXT.md, the product definition, and the architecture before changing domain behavior.
License
TouchGrassBar is available under the MIT License. Copyright (c) 2026 Fabien Greard.
More details from the publisher
Release notes
TouchGrassBar v0.0.66