Skip to main content

DHI Orbit

A local web dashboard that shows every Claude Code chat across one or more config directories on one page.

  • A board of what needs you: questions, permission prompts, blocked jobs, and chats stalled on a usage limit.
  • Reply to a chat from the page (one normal turn in that chat), stop it, or open it in Terminal.
  • Usage limits per account (5-hour and 7-day), set up when you connect the account; never a guess.
  • A graph of accounts, chats, work items and the files they touch.
  • Optional WebGL "nebula" look (Settings, Look). The default look is plain and needs no GPU.
  • Standard library only: no dependencies, no build step, no CDN.

Viewing costs zero model tokens: DHI Orbit only reads files. A reply you send is one normal turn in that chat.

Screenshots

Screenshots are not included yet (placeholder).

Install

Requires Python 3.10 or newer.

Homebrew (macOS or Linux):

brew install Dv04/dhi-orbit/dhi-orbit

pipx:

pipx install dhi-orbit

pip, in any virtualenv:

python3 -m pip install dhi-orbit

You also need Claude Code itself (claude on your PATH).

Windows: pipx install dhi-orbit (or pip) pulls in pywinpty (ConPTY, used to type into claude attach and to run sign-in) and tzdata by itself. Use Windows 10 version 1809 or newer for ConPTY. Git for Windows is not needed. The board, replies, answering questions, sign-in, keep-warm (the PC is kept awake) and the status-line meter are ported; the Schedules panel (launchd and cron) is macOS and Linux only and stays empty on Windows, and desktop notifications are a tray balloon. Notes from Claude Code's documentation: install Claude Code natively (irm https://claude.ai/install.ps1 | iex); if you installed it with npm, run claude install once, because a .cmd launcher cannot pass new lines or quotes in a reply. A chat open in a terminal cannot be typed into from here (on any system): type /bg in that terminal and it becomes a background chat you can answer here. Only chats touched in the last 24 hours are listed: start with dhi-orbit --window-hours 168 for a week. Where Claude Code does not keep its sessions/ folder, running chats are read with claude agents --json. Windows support is beta in 0.3.11: it passes its 14 end-to-end checks and the full test suite on a Windows 11 ARM64 virtual machine (real ConPTY, real claude.exe, with and without Git for Windows), but has not been run on every kind of PC yet. Please report anything odd (Settings > Report a bug or send feedback).

Quick start

dhi-orbit

orbit is a shorter name for the same command. Then open http://127.0.0.1:8787/. dhi-orbit --help lists the options (--port, --window-hours, --every, --no-notify). macOS notifications for chats that need you are on by default; --no-notify turns them off.

On first run DHI Orbit creates its data directory, ~/.config/dhi-orbit (or $DHI_ORBIT_HOME), with mode 700, and an access token inside it (.token, mode 600). The page gets the token injected when it is served from loopback.

Upgrading from chatdash

DHI Orbit is the new name of chatdash. The chatdash command still works (as do chatdash-ask-hook, chatdash-stop-hook and chatdash-statusline), an existing ~/.config/chatdash data directory (with its chatdash.db) keeps being used, and the CHATDASH_* environment variables are still read; the DHI_ORBIT_* name wins when both are set. A status line meter or hook that chatdash installed keeps running (a small chatdash module forwards to DHI Orbit) and the meter is rewritten to the new command the next time you turn usage on for that account. While the old data directory is in use, the Schedules panel keeps managing your com.chatdash.* launchd jobs; new installs use com.dhi.orbit. Python imports are now dhi_orbit.

Connect your accounts

Open Settings > Accounts (a fresh install opens on that screen). Type a name, for example work, and press Connect account. DHI Orbit creates ~/.claude-work and runs Claude Code's own claude auth login for it: a claude.com sign-in page opens in this computer's browser, you approve, and the account shows as signed in. From another device (the page on your phone, say), open the sign-in link shown there instead, approve, and paste the code claude.com shows; it is typed into Claude Code's own prompt.

DHI Orbit never sees, stores or sends your password or tokens: Claude Code writes its credentials into that account's folder exactly as when you sign in in a terminal. Accounts you already use (~/.claude, any ~/.claude-<name>) appear by themselves.

  • Disconnect hides an account from the board; its sign-in and chats are untouched. Reconnect shows it again.
  • Delete signs the account out (claude auth logout) and moves its folder to the Trash. It needs you to type the account name, and refuses while a chat on it is running. ~/.claude (your default) is only signed out and hidden, never moved.

Use an account in a terminal with CLAUDE_CONFIG_DIR=~/.claude-work claude, or start chats from the board. Only connect accounts that are yours; Anthropic's terms do not allow sharing logins.

Multi-account

DHI Orbit looks for config directories in your home folder: ~/.claude and any ~/.claude-<name> that contains both projects/ and sessions/. Each one is an account ("seat" in the UI): ~/.claude is called main, ~/.claude-work is called work. Replies, stop and new chats run through the unmodified claude binary with that account's CLAUDE_CONFIG_DIR.

Labels come from the directory name (work is shown as "Work"). Override them, and mark accounts as read-only (shown, never acted on), in config.json in the data directory. Copy config.example.json to start.

Key Default Meaning
seat_labels {} account name to display label
read_only_accounts [] accounts that are shown but never replied to, stopped, spawned on or hooked
work_item_pattern "" regex; a chat whose name matches it belongs to that work item (for example PROJ-\d+). Empty: no work items, chats group by account and folder
evidence_gate_work_items [] work items whose chats get the evidence gate on by default
default_cwd your home folder folder for chats started from the page
launchd_prefix com.dhi.orbit label prefix of the launchd jobs the Schedules panel manages
timezone this computer's IANA name used to show clock times
meter_log <data dir>/meter.log where usage readings come from (below)
public_url "" host name of a tunnel you set up yourself (below)
hidden_accounts [] accounts disconnected in Settings > Accounts (not shown on the board)
plugins {} optional helper modules, for example {"usage_live": {"path": "/dir", "module": "usage_live"}}

The binary is found from $CLAUDE_BIN, then PATH, then ~/.local/bin/claude.

Usage limits

DHI Orbit does not call any usage endpoint. Claude Code hands its status line command each account's limits (rate_limits: five_hour and seven_day, with used_percentage and resets_at), for every chat, background ones included. DHI Orbit records them with a status line of its own:

  • Connecting an account in Settings > Accounts turns it on when the account has no status line yet.
  • Any other account has a Show usage button there. If the account already has a status line, DHI Orbit keeps it: its own command runs first to record the limits, then yours runs with the same input and its output is what your terminal shows. Turn off, Disconnect, or signing out main put your status line back exactly. A status line you changed yourself afterwards is never touched.
  • Claude Code only runs the status line while a chat is open, so a new account shows "waiting for the first chat" until it has run one. With the meter off, the board says "usage not connected" instead.

The setting is the account's settings.json statusLine (your previous one is kept in dhi-orbit-statusline.json beside it). The readings go to a meter log, one tab-separated line per change: ISO time, config dir, session id, rate_limits JSON. dhi-orbit-statusline is the same command, if you prefer to call it from a status line script of your own, and contrib/statusline-meter.py is a standalone copy that only records.

A reading whose reset time has passed shows "?" and "reset since the last reading", never 0%. An optional usage_live plugin module (fetch_live(account_dir_name) returning {"five": pct, "seven": pct}) can supply a fallback reading; without it nothing is fetched.

Automatic actions

Everything that sends text into a chat on its own has a mode, off, dry-run or on, set in config.json (or on the Settings page). The default is dry-run: it logs what it would do and sends nothing. The modes are limit_resume, decision_hook, stop_gate, shadow_drafts, corrections, handoff and idle_compact. Automatic keep-warm (a tiny ping before a chat's prompt cache expires) is off until you switch it on in the toolbar. Permission prompts are never answered automatically.

Two optional Claude Code hooks feed the board. They are not installed for you; register them yourself in the Claude Code configuration of each account you want covered:

  • dhi-orbit-ask-hook, a PreToolUse hook with matcher AskUserQuestion: puts a background chat's question on the board.
  • dhi-orbit-stop-hook, a Stop hook: records a receipt (files changed, checks run) for each turn and, when the evidence gate is on, asks the chat for verification evidence before it ends. At most 3 blocks per turn.

Both fail open: any error, a read-only account, or a non-background session prints nothing and the chat carries on.

Codex and Cursor chats

If the Codex CLI (~/.codex) or the Cursor CLI (~/.cursor/chats) is installed, its chats appear in the same lists as your Claude Code chats (Board, Sessions, Graph, search, the chat view), labelled Codex or Cursor. Reading is verified against Codex 0.160 and Cursor 2026.09. A reply you type reaches the same thread (codex exec resume, cursor-agent --resume) and runs detached, so a long turn does not hold the page; it is refused while a Codex turn is still running. Limit resume, idle compaction, keep-warm and handoff only ever drive Claude Code and never act on these chats. Turn a tool off with "providers_off": ["cursor"] in config.json.

How a reply is delivered

Chat Route
background session, idle or stopped typed into claude attach <id> through a pty, confirmed by reading the prompt back from the transcript
open in a terminal tab refused: Return does not submit through a paste into Claude's input box, and two writers corrupt a session
closed chat with no background job claude --resume <id> --bg "<text>" (a copy under a new id; the first reply re-caches the context once)
working right now refused until idle, or queued and sent when it goes idle

Use it on your phone

DHI Orbit listens only on 127.0.0.1 on the computer that runs it, so a phone cannot reach it directly, and there is no hosted version. To use it from a phone you put a tunnel of your own in front of it and sign in once with a key. The steps below use a Cloudflare Tunnel; any tunnel that forwards a host name to http://127.0.0.1:8787 works the same way on Orbit's side.

You need a domain on Cloudflare (the free plan is enough), cloudflared installed on the computer that runs Orbit, and Orbit running.

  1. Create the tunnel and point a host name at it (once):

    cloudflared tunnel login
    cloudflared tunnel create orbit
    cloudflared tunnel route dns orbit orbit.example.com
    
  2. Forward that host name to Orbit in ~/.cloudflared/config.yml:

    tunnel: <the id printed by "tunnel create">
    credentials-file: /home/you/.cloudflared/<the id>.json
    ingress:
      - hostname: orbit.example.com
        service: http://127.0.0.1:8787
      - service: http_status:404
    
  3. Tell Orbit that host name is allowed and that a key may sign you in. Create public.json in the data directory (~/.config/dhi-orbit, or $DHI_ORBIT_HOME):

    {"host": "orbit.example.com", "key_login": true}
    

    Orbit reads this file on every request, so no restart is needed. Any other host name is refused.

  4. Start the tunnel, and keep it running (as a service, so it survives a reboot; see Cloudflare's cloudflared service install):

    cloudflared tunnel run orbit
    
  5. On the phone, open https://orbit.example.com. It asks for the access key: the contents of the file .token in the data directory (cat ~/.config/dhi-orbit/.token on the computer). Or open https://orbit.example.com/#k=<the key> and it signs in by itself; the part after # is never sent to the server and the page removes it from the address bar. The sign-in sets a cookie for 30 days (Secure, HttpOnly, this device only). After that the dashboard opens directly.

  6. Optional: add it to the home screen (iPhone: Share, Add to Home Screen; Android: the browser menu, Add to Home screen) to open it full screen.

On a phone the dashboard shows one screen at a time: the Sessions list, and a chat when you tap one (the Sessions link in the chat goes back). You can answer a question or approve a tool call from the chat screen, and the Attach button opens the phone's file picker to send a screenshot or document with your reply.

Keep the key private. Anyone who has the host name and the key can read and reply to your chats and run the actions on the board. Wrong keys are limited to 10 per hour per address. To change the key, delete .token in the data directory and restart Orbit; every device then signs in again with the new one.

For a team, or if you would rather not use a key, Cloudflare Access can sign people in instead: in public.json give team_domain (your <team>.cloudflareaccess.com name) and emails (the addresses allowed in) in place of key_login. With a host and neither sign-in method configured, Orbit stays locked.

Security model

  • The server binds to 127.0.0.1 only. The Host header is checked (no DNS rebinding).
  • Every /api call needs the token from <data dir>/.token (header X-Token or ?token=). The token file is created with mode 600 in a mode 700 directory.
  • Sends go only through the unmodified claude binary under each account. DHI Orbit makes no network calls of its own, except gh pr view (if gh is installed) to show whether a PR is still open, and, only if you configure the identity-header check below, one request to that identity endpoint.
  • Reaching it from other devices is your choice and your setup: put a tunnel of your own in front of the loopback port and describe it in <data dir>/public.json (host, and either "key_login": true for a one-time key sign-in that sets a 30-day cookie, or team_domain plus emails for an identity-header check). With no public.json and no public_url, any other Host is refused. With a host but no sign-in method configured, it stays locked.

Compatibility

DHI Orbit reads undocumented Claude Code internals. These are not a stable interface and may change in any Claude Code update, which can break parts of DHI Orbit:

  • <config dir>/sessions/<pid>.json (live session records) and <config dir>/jobs/<id>/state.json (background jobs),
  • the transcripts, <config dir>/projects/*/*.jsonl,
  • the screen output of claude attach and claude logs, parsed to read and answer permission prompts and questions.

Tested with Claude Code 2.1.289 on macOS. If something looks wrong after an update, the board may be showing stale or missing data; limits and health show UNKNOWN rather than OK when a source cannot be read.

macOS-only parts: notifications use osascript there (a tray balloon on Windows, notify-send on Linux), opening a chat in a terminal works on macOS and Windows, and the Schedules panel uses launchctl. DHI Orbit is developed on macOS; a clean pipx install on Linux was tested end to end (accounts, sign-in, board, nebula).

Quality settings

Settings > Quality scales how much the background, Sky and Graph draw, per browser: frame rate limit, render resolution, nebula detail, particles, glow, glass blur, and switches for the animated background and interface animations. Presets Low, Balanced (the default, identical to before), High and Ultra set them all at once. Turn them up on a strong GPU, down on a modest laptop or battery.

Development

python3 -m pytest -q

tools/mock/server.py serves the UI with synthetic data (no real chats are read); tools/acceptance/ holds the UI checks. docs/DESIGN.md records the visual design.

Report a bug or send feedback

Settings > Report a bug or send feedback opens a new issue on https://github.com/Dv04/dhi-orbit/issues with your text filled in (Bug or Feedback, optionally with the DHI Orbit version and browser). Nothing is sent from the dashboard: you review the issue on GitHub and submit it yourself.

About

Built by Dev Sanghvi at DHI (https://dhi-tech.com).

License

MIT, see LICENSE.

Metadata

Release files for dhi-orbit 0.3.11

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for dhi-orbit 0.3.11
File Size Uploaded Provenance Actions
dhi_orbit-0.3.11.tar.gz 374.7 kB Without provenance Details for dhi_orbit-0.3.11.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for dhi-orbit 0.3.11
File Interpreter ABI Platform Actions
dhi_orbit-0.3.11-py3-none-any.whl Python 3 none any Details for dhi_orbit-0.3.11-py3-none-any.whl

Total release size: 726.8 kB

Release files / dhi_orbit-0.3.11.tar.gz

Download URL dhi_orbit-0.3.11.tar.gz
Size 374.7 kB
Tags Source
SHA-256 checksum
How to use checksums
04a945068f4b4f8d8660b45beeb0a22b4dc3fc2877cf8108834ca7a0bbce0165
BLAKE2b-256 checksum
How to use checksums
6390132df7751f017c1ac431d2dffc78d9adf972af5d8fb295661ffdbe390d26
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.10.18

Release files / dhi_orbit-0.3.11-py3-none-any.whl

Download URL dhi_orbit-0.3.11-py3-none-any.whl
Size 352.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0d39b794ef1eee8804d7c7fdc078a3f8df6b47362b3a607bda8cda618f0d814a
BLAKE2b-256 checksum
How to use checksums
135344815c11d0dfa17677d4485f49a787a58dcc99717a6d3921e2b1cdcc8b3b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.10.18

Security for dhi-orbit 0.3.11

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page