---
title: MiMo-Streak — Terminal activity heatmap, model breakdown, and cost
  tracker for MiMoCode — by Jad Madi (@jadmadi)
description: Activity heatmap, streaks, model distribution, and cost tracking
  CLI for Xiaomi MiMoCode usage data with adaptive WCAG AAA terminal colors and
  zero native dependencies.
href: /project/mimo-streak/
author: Jad Madi
category: Developer Tools & Cost
domain: Developer Tools & Infrastructure
status: Active
license: MIT
year: "2026"
version: 0.1.1
---

# MiMo-Streak — Terminal activity heatmap, model breakdown, and cost tracker for MiMoCode

Activity heatmap, streaks, model distribution, and cost tracking CLI for Xiaomi MiMoCode usage data with adaptive WCAG AAA terminal colors and zero native dependencies.

## Project Overview

- **Website**: https://jadmadi.net/project/mimo-streak/
- **Version**: 0.1.1
- **Live Platform**: https://jadmadi.net/project/mimo-streak
- **Repository**: https://github.com/jadmadi/mimo-streak
- **Documentation**: https://github.com/jadmadi/mimo-streak/blob/main/README.md
- **Package**: https://www.npmjs.com/package/mimo-streak
- **Domain**: Developer Tools & Infrastructure
- **Category**: Developer Tools & Cost
- **Status**: Active
- **Year**: 2026
- **License**: MIT (permissive)
- **Author**: [@JadMadi](https://x.com/jadmadi)

## Quick Install & Run

### Linux & macOS

```bash
pnpm dlx mimo-streak
```

### Windows (PowerShell)

```powershell
pnpm dlx mimo-streak
```

## The Problem It Solves

Developers using MiMoCode lack a lightweight, terminal-native way to track model usage split, daily API expenditures, and coding streaks across projects.

## The Solution

A fast, zero-dependency TypeScript CLI that reads local MiMoCode SQLite logs and renders WCAG AAA accessible activity heatmaps, model breakdowns, and project analytics directly in the terminal.

## Key Features & Capabilities

- 5-level GitHub-style activity heatmap with today indicator (◈) and streak tracking (current and longest consecutive days)
- Token usage and API cost breakdown by model (mimo-streak models)
- Project directory activity breakdown and session counting (mimo-streak projects)
- Weekly trend sparklines and summary metrics (mimo-streak trends)
- Adaptive color rendering for light and dark terminal backgrounds adhering to WCAG AAA contrast
- Zero native dependencies using Node.js built-in node:sqlite module
- JSON output support (--json) for scripting and dashboard automation
- Configurable heatmap width from 4 to 104 weeks and project filtering

## Technical Specifications & Architecture

- **Languages**: TypeScript, SQLite
- **Frameworks / Libraries**: Node.js (>=22.5.0), node:sqlite
- **Architecture**: Zero native dependencies, built-in node:sqlite parser, WCAG AAA adaptive palette
- **License Model**: MIT

## Frequently Asked Questions

### Does MiMo-Streak support both light and dark terminals?

Yes. It automatically detects terminal background luminance and renders adaptive ANSI colors with WCAG AAA contrast.

### What are the runtime requirements to run MiMo-Streak?

MiMo-Streak requires Node.js >= 22.5.0 to use the built-in node:sqlite module without any native compiler dependencies.

### Where does MiMo-Streak read data from?

It reads local SQLite data directly from ~/.local/share/mimocode/mimocode.db (or a custom path via --db). No data ever leaves your machine.

### How do I run MiMo-Streak on-demand without installing?

Run it instantly using pnpm dlx mimo-streak or npx mimo-streak.

## Links & References

- Project Page on Crosscurrent Code: https://jadmadi.net/project/mimo-streak/
- Full Projects Directory: https://jadmadi.net/projects/
- Author Profile: https://jadmadi.net/about/
