Config file

Reporting settings live in one optional TOML file. The terminal dashboard needs none of them.

Where the file lives

report, backfill, daemon, login, whoami, logout, setup, and config show read ~/.firekeeper/config.toml, or the file $FIREKEEPER_CONFIG names (a missing file named that way is an error). Precedence is flags, then environment (FIREKEEPER_SERVER, FIREKEEPER_TOKEN, FIREKEEPER_PROVIDERS as a comma list, FIREKEEPER_INTERVAL), then the file, then defaults. The file is optional; unknown keys are an error, so a typo cannot silently drop an exclusion. It holds a token, so keep it private (chmod 600).

Example

server = "https://dash.example.com"
token = "fk_..."                 # ingest token
providers = ["codex", "claude"]  # upload allowlist; empty uploads nothing
interval = "30s"                 # daemon only
scan_ended = true                # report and daemon: also upload ended sessions found on disk
scan_lookback = "24h"            # how far back that first looks
exclude = [
  "~/clients",                   # this directory and everything below it
  "~/work/*-secret",             # globs: * stays within one path segment
  "github.com/acme",             # every repository with an acme remote
  "gitlab.example.com/team/*-private",
]

[redact]
paths = ["~/clients"]            # also scrubbed to [REDACTED:path] in uploads

[claude_cloud]
enabled = false                  # daemon: import Claude Code on the web sessions (off by default)
interval = "15m"                 # time between cloud passes, at least 10m

Excluding directories and repositories

exclude entries that start with / or ~ are directory globs, matched against a session's working directory and its Git root and their parents. Anything else is a Git remote pattern, matched against every url in the repository's .git/config after both are reduced to host/owner/repo, so [email protected]:acme/api.git and https://github.com/acme/api both read as github.com/acme/api. .firekeeper-ignore still works as before. Keys that only the separate dashboard server reads (prices, repo_url_template, trusted_proxies, and the [github] table) are accepted and ignored here, so one file can serve both programs.

Check the merged configuration

firekeeper config show prints the merged configuration with the token masked and notes where each layered setting came from. login and logout edit only the top-level server and token keys, keep the rest of the file as it is, and leave it mode 0600.

Files Firekeeper writes

Files Firekeeper reads and writes outside the provider data it only reads:

Path Written by Holds
~/.firekeeper/setup-complete interactive setup completed first-run setup for this user
~/.firekeeper/machine-id any command that identifies the machine this machine's id
~/.firekeeper/state.json, state.lock report, backfill, daemon per-file read offsets and their lock
~/.firekeeper/cloud/claude/ backfill --claude-cloud, daemon with [claude_cloud] cached Claude Code on the web sessions (Unix files 0600, directory 0700; Windows inherits parent ACL)
~/.firekeeper/claude-cloud-status.json daemon with [claude_cloud] time and warning of the last cloud pass, no secrets (mode 0600)
~/.firekeeper/config.toml you; login and logout edit server and token reporting configuration
~/.firekeeper/daemon.log, daemon.lock daemon log and single-instance lock