whatisgithub

What is opencode-dash?

muhammadomarmuhdhar/opencode-dash — explained in plain English

Analysis updated 2026-05-18

2JavaScriptAudience · developerComplexity · 2/5LicenseSetup · easy

In one sentence

A self-hosted, local-only dashboard that visualizes your opencode CLI usage: sessions, tokens, costs, and models.

Mindmap

mindmap
  root((opencode-dash))
    What it does
      Visualizes opencode usage
      Tracks cost and tokens
      Activity heatmap
    Tech stack
      Node.js CLI
      SQLite
      Evidence.dev
    Use cases
      Cost tracking
      Usage analytics
    Audience
      Developers using opencode
      Teams tracking LLM spend

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

Visualize how much you're spending on opencode CLI sessions across models and providers.

USE CASE 2

See a daily activity heatmap of your coding agent usage without any account or backend.

USE CASE 3

Track token usage broken down by input, output, and reasoning tokens.

USE CASE 4

Build and host a static version of the dashboard for a team to view.

What is it built with?

JavaScriptNode.jsSQLiteEvidence.devSvelte

How does it compare?

muhammadomarmuhdhar/opencode-dash3imed-jaberi/cryptography-si-isamm3imed-jaberi/koa-isomorphic-router
Stars222
LanguageJavaScriptJavaScriptJavaScript
Last pushed2021-09-252021-02-06
MaintenanceDormantDormant
Setup difficultyeasyeasyeasy
Complexity2/51/52/5
Audiencedeveloperresearcherdeveloper

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

How do you get it running?

Difficulty · easy Time to first run · 5min

Requires opencode CLI already installed and used locally so its SQLite database exists.

Use freely for any purpose, including commercial use, as long as you keep the copyright notice.

So what is it?

opencode-dash is a self-hosted dashboard that turns usage data from the opencode command line tool into visual charts and graphs. It reads a local SQLite database that opencode already creates on a user's machine, then shows sessions, token counts, costs, which AI models were used, and which coding agents were involved. To run it, someone installs the dependencies and runs a single command, which opens a dashboard in their web browser on localhost. The tool automatically detects whether it is running on macOS, Linux, or Windows and finds the opencode database in the right location without any manual configuration. Because everything runs locally, there is no backend server, no account to create, and no data ever leaves the user's device. The dashboard includes a calendar style heatmap of daily activity, a breakdown of which AI models were used most often shown as a pie chart, and detailed cost pages showing input, output, and reasoning token usage broken down by day, model, and provider. It is built on a tool called Evidence.dev, which turns SQL queries into a lightweight reporting website, and the final output can also be built as a static site and hosted anywhere. For anyone wanting to contribute, the README lays out the project's folder structure, the database tables opencode fills in automatically that the dashboard reads from, and step by step commands for setting up a local development copy, running tests, and building the project. The project is released under the ISC license, a short permissive license similar to MIT.

Copy-paste prompts

Prompt 1
Help me install and run opencode-dash to view my opencode CLI usage.
Prompt 2
Explain what the cost page in opencode-dash shows me about my token usage.
Prompt 3
Show me how to build opencode-dash as a static site I can host elsewhere.
Prompt 4
Help me set up a local development copy of opencode-dash to contribute.

Frequently asked questions

What is opencode-dash?

A self-hosted, local-only dashboard that visualizes your opencode CLI usage: sessions, tokens, costs, and models.

What language is opencode-dash written in?

Mainly JavaScript. The stack also includes JavaScript, Node.js, SQLite.

What license does opencode-dash use?

Use freely for any purpose, including commercial use, as long as you keep the copyright notice.

How hard is opencode-dash to set up?

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

Who is opencode-dash for?

Mainly developer.

Open on GitHub → Ask about another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.