Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
version: 2
updates:
- package-ecosystem: github-actions
directory: /
schedule:
interval: weekly
groups:
github-actions:
patterns:
- "*"
46 changes: 46 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
name: CI

on:
push:
branches:
- main
pull_request:
workflow_dispatch:

permissions:
contents: read

concurrency:
group: ci-${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
test:
name: Tests (Python ${{ matrix.python-version }})
runs-on: ubuntu-24.04
strategy:
fail-fast: false
matrix:
python-version:
- "3.8"
- "3.14"
steps:
- name: Checkout
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1

- name: Set up Python
uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6.0.0
with:
python-version: ${{ matrix.python-version }}

- name: Check Python syntax
run: |
python -m py_compile burnrate.py tools/mkfixture.py tools/selftest.py
python -m json.tool .claude-plugin/marketplace.json >/dev/null
python -m json.tool .claude-plugin/plugin.json >/dev/null

- name: Check shell syntax
run: bash -n .githooks/pre-push extras/install_usage_logger.sh extras/usage_logger.sh

- name: Run self-test
run: python tools/selftest.py
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# burnrate

[![CI](https://github.com/crenshawdev/burnrate/actions/workflows/ci.yml/badge.svg)](https://github.com/crenshawdev/burnrate/actions/workflows/ci.yml)
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](LICENSE)

A single-file, on-demand dashboard of your own Claude Code token usage.

Run it and one self-contained `dashboard.html` opens in your browser: daily burn
Expand Down