Skip to content

Commit 79c2712

Browse files
chore: rename the repo to token-usage-dashboard (#23)
1 parent eae0085 commit 79c2712

19 files changed

Lines changed: 62 additions & 57 deletions

‎.env.example‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Everything here is optional. Defaults are in brackets.
22

3-
# Where the history database lives [~/.local/share/ai-usage-dashboard/usage.db]
3+
# Where the history database lives [~/.local/share/token-usage-dashboard/usage.db]
44
# AIUSAGE_DB=/data/usage.db
55

66
# Where each tool keeps its transcripts, if you moved them

‎.github/CONTRIBUTING.md‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ Bug reports, typo fixes and whole features are all welcome. By joining in, you a
77

88
## Ways to contribute
99

10-
- 🐛 **Report a bug** - open a [bug report](https://github.com/NotAFlightRisk/ai-usage-dashboard/issues/new?template=bug_report.yml)
11-
- 💡 **Suggest a feature** - open a [feature request](https://github.com/NotAFlightRisk/ai-usage-dashboard/issues/new?template=feature_request.yml)
10+
- 🐛 **Report a bug** - open a [bug report](https://github.com/NotAFlightRisk/token-usage-dashboard/issues/new?template=bug_report.yml)
11+
- 💡 **Suggest a feature** - open a [feature request](https://github.com/NotAFlightRisk/token-usage-dashboard/issues/new?template=feature_request.yml)
1212
- 📖 **Improve the docs** - typos, unclear wording and missing examples are all fair game
1313
- 🔧 **Submit a fix** - see below
1414
- 🔒 **Report a vulnerability** - please _don't_ open a public issue, see [SECURITY.md](./SECURITY.md)
@@ -18,8 +18,8 @@ Bug reports, typo fixes and whole features are all welcome. By joining in, you a
1818
## Getting started
1919

2020
```bash
21-
git clone git@github.com:NotAFlightRisk/ai-usage-dashboard.git
22-
cd ai-usage-dashboard
21+
git clone git@github.com:NotAFlightRisk/token-usage-dashboard.git
22+
cd token-usage-dashboard
2323
npm install
2424
npm run dev
2525
```

‎.github/ISSUE_TEMPLATE/bug_report.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,5 +78,5 @@ body:
7878
required: true
7979
- label: I am running the latest version
8080
required: true
81-
- label: I agree to follow this project's [Code of Conduct](https://github.com/NotAFlightRisk/ai-usage-dashboard/blob/main/.github/CODE_OF_CONDUCT.md)
81+
- label: I agree to follow this project's [Code of Conduct](https://github.com/NotAFlightRisk/token-usage-dashboard/blob/main/.github/CODE_OF_CONDUCT.md)
8282
required: true

‎.github/ISSUE_TEMPLATE/config.yml‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,21 +8,21 @@ blank_issues_enabled: false
88

99
contact_links:
1010
- name: 🔒 Report a Security Vulnerability
11-
url: https://github.com/NotAFlightRisk/ai-usage-dashboard/security/policy
11+
url: https://github.com/NotAFlightRisk/token-usage-dashboard/security/policy
1212
about: Never report vulnerabilities in a public issue. Read our security policy and disclose privately.
1313

1414
- name: 📖 Documentation
15-
url: https://github.com/NotAFlightRisk/ai-usage-dashboard/blob/main/.github/README.md
15+
url: https://github.com/NotAFlightRisk/token-usage-dashboard/blob/main/.github/README.md
1616
about: Usage, configuration and deployment docs. Worth checking before filing.
1717

1818
- name: 🙋 Support & Troubleshooting
19-
url: https://github.com/NotAFlightRisk/ai-usage-dashboard/blob/main/.github/SUPPORT.md
19+
url: https://github.com/NotAFlightRisk/token-usage-dashboard/blob/main/.github/SUPPORT.md
2020
about: Not sure where something belongs? This explains where to ask what.
2121

2222
- name: 💬 Questions & Ideas
23-
url: https://github.com/NotAFlightRisk/ai-usage-dashboard/discussions
23+
url: https://github.com/NotAFlightRisk/token-usage-dashboard/discussions
2424
about: Ask a question, share an idea, or show what you've built.
2525

2626
- name: 🛠️ Contributing Guide
27-
url: https://github.com/NotAFlightRisk/ai-usage-dashboard/blob/main/.github/CONTRIBUTING.md
27+
url: https://github.com/NotAFlightRisk/token-usage-dashboard/blob/main/.github/CONTRIBUTING.md
2828
about: Want to fix it yourself? Start here for setup and the PR workflow.

‎.github/ISSUE_TEMPLATE/feature_request.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ body:
66
- type: markdown
77
attributes:
88
value: |
9-
Thanks for the suggestion! Please [search existing issues and discussions](https://github.com/NotAFlightRisk/ai-usage-dashboard/issues?q=is%3Aissue) first to avoid duplicates.
9+
Thanks for the suggestion! Please [search existing issues and discussions](https://github.com/NotAFlightRisk/token-usage-dashboard/issues?q=is%3Aissue) first to avoid duplicates.
1010
1111
- type: textarea
1212
id: problem
@@ -52,5 +52,5 @@ body:
5252
options:
5353
- label: I have searched existing issues for duplicates
5454
required: true
55-
- label: I agree to follow this project's [Code of Conduct](https://github.com/NotAFlightRisk/ai-usage-dashboard/blob/main/.github/CODE_OF_CONDUCT.md)
55+
- label: I agree to follow this project's [Code of Conduct](https://github.com/NotAFlightRisk/token-usage-dashboard/blob/main/.github/CODE_OF_CONDUCT.md)
5656
required: true

‎.github/README.md‎

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
<h1 align="center">AI usage dashboard</h1>
1+
<h1 align="center">Token usage dashboard</h1>
22
<p align="center">
33
<i>Beautiful dashboard showing a breakdown of where all of your tokens are going</i><br>
44
<b><code>npx token-usage-dashboard</code></b>
55
</p>
66

77
<p align="center">
8-
<img src="https://raw.githubusercontent.com/NotAFlightRisk/ai-usage-dashboard/main/.github/screenshot.png" width="800" alt="The dashboard, showing a usage calendar, daily totals and plan windows" />
8+
<img src="https://raw.githubusercontent.com/NotAFlightRisk/token-usage-dashboard/main/.github/screenshot.png" width="800" alt="The dashboard, showing a usage calendar, daily totals and plan windows" />
99
</p>
1010

1111
---
@@ -56,7 +56,7 @@ Most of it lives behind the gear icon: theme, default range, how often to rescan
5656
Anthropic for your plan windows, and price overrides for any model we've got wrong or don't know.
5757

5858
Paths are environment variables, since they're needed before the app starts. See
59-
[`.env.example`](https://github.com/NotAFlightRisk/ai-usage-dashboard/blob/main/.env.example) for the full list. The ones you'll actually want are
59+
[`.env.example`](https://github.com/NotAFlightRisk/token-usage-dashboard/blob/main/.env.example) for the full list. The ones you'll actually want are
6060
`AIUSAGE_DB`, `AIUSAGE_CLAUDE_DIR` and `AIUSAGE_CODEX_DIR`.
6161

6262
---
@@ -78,18 +78,18 @@ we can read, it can go in - open an issue with a sample and we'll have a look.
7878

7979
### Option 1: Docker
8080

81-
The image is on DockerHub ([`notaflightrisk/ai-usage-dashboard`](https://hub.docker.com/r/notaflightrisk/ai-usage-dashboard))
81+
The image is on DockerHub ([`notaflightrisk/token-usage-dashboard`](https://hub.docker.com/r/notaflightrisk/token-usage-dashboard))
8282
and GHCR. Mount the directories you want read, plus somewhere to keep the database:
8383

8484
```shell
8585
docker run -p 127.0.0.1:8080:8080 \
8686
-v ~/.claude:/home/node/.claude:ro \
8787
-v ~/.codex:/home/node/.codex:ro \
88-
-v ai-usage:/data \
89-
notaflightrisk/ai-usage-dashboard
88+
-v token-usage:/data \
89+
notaflightrisk/token-usage-dashboard
9090
```
9191

92-
There's a compose file in [`docker/`](https://github.com/NotAFlightRisk/ai-usage-dashboard/blob/main/docker/compose.yaml) if you'd rather. The container has
92+
There's a compose file in [`docker/`](https://github.com/NotAFlightRisk/token-usage-dashboard/blob/main/docker/compose.yaml) if you'd rather. The container has
9393
to bind `0.0.0.0` internally, so publish the port to localhost like that unless something in
9494
front of it is checking who's asking.
9595

@@ -104,7 +104,7 @@ so it comes back after a reboot:
104104

105105
### Option 3: From a release
106106

107-
Grab the tarball from [releases](https://github.com/NotAFlightRisk/ai-usage-dashboard/releases),
107+
Grab the tarball from [releases](https://github.com/NotAFlightRisk/token-usage-dashboard/releases),
108108
then `npm ci --omit=dev && npm start`.
109109

110110
### Option 4: From source
@@ -119,8 +119,8 @@ You'll need [Node](https://nodejs.org/) 22.12 or newer, plus [Git](https://git-s
119119
It's a [SvelteKit](https://svelte.dev/docs/kit) app and the build is self-contained so there's no runtime dependencies at all.
120120

121121
```bash
122-
git clone git@github.com:NotAFlightRisk/ai-usage-dashboard.git
123-
cd ai-usage-dashboard
122+
git clone git@github.com:NotAFlightRisk/token-usage-dashboard.git
123+
cd token-usage-dashboard
124124
npm install
125125
npm run dev
126126
```
@@ -134,6 +134,6 @@ The other scripts you'll want are `npm run check` (types), `npm test` (tests) an
134134
<p align="center">
135135
<a href="https://github.com/NotAFlightRisk"><img width="64" src="https://pixelflare.cc/iain/gif/penguin-dance.gif" /></a><br>
136136
<sup>
137-
<i>Licensed under <a href="https://github.com/NotAFlightRisk/ai-usage-dashboard/blob/main/LICENSE">MIT</a>, © <a href="https://peng.ly">NotAFlightRisk</a> 2026</i>
137+
<i>Licensed under <a href="https://github.com/NotAFlightRisk/token-usage-dashboard/blob/main/LICENSE">MIT</a>, © <a href="https://peng.ly">NotAFlightRisk</a> 2026</i>
138138
</sup>
139139
</p>

‎.github/SECURITY.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ and is never stored or logged.
3131
3232
Acceptable channels:
3333

34-
1. **GitHub** (preferred) - open an [advisory](https://github.com/NotAFlightRisk/ai-usage-dashboard/security/advisories/new) from the Security tab
34+
1. **GitHub** (preferred) - open an [advisory](https://github.com/NotAFlightRisk/token-usage-dashboard/security/advisories/new) from the Security tab
3535
2. **Email** - [security@peng.ly](mailto:security@peng.ly) (PGP: [`A8431F9F332FB0CD`](https://github.com/NotAFlightRisk.gpg))
3636

3737
Include the type of issue, the affected version and file paths, steps to reproduce, a PoC if you've got one, and what an attacker could actually achieve with it.

‎.github/SUPPORT.md‎

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,19 +4,19 @@ Need a hand? Here's where to go 👇
44

55
## Before you ask
66

7-
Have a look at the [README](./README.md), especially [Usage](./README.md#usage) and [Configuration](./README.md#configuration). Then search [existing issues](https://github.com/NotAFlightRisk/ai-usage-dashboard/issues?q=is%3Aissue), because someone's likely hit the same thing.
7+
Have a look at the [README](./README.md), especially [Usage](./README.md#usage) and [Configuration](./README.md#configuration). Then search [existing issues](https://github.com/NotAFlightRisk/token-usage-dashboard/issues?q=is%3Aissue), because someone's likely hit the same thing.
88

99
---
1010

1111
## Where to ask
1212

13-
| I want to... | Go here |
14-
| ------------------------------- | --------------------------------------------------------------------------------------------------------------- |
15-
| Ask a question or share an idea | [Discussions](https://github.com/NotAFlightRisk/ai-usage-dashboard/discussions) |
16-
| Report a bug | [Bug report](https://github.com/NotAFlightRisk/ai-usage-dashboard/issues/new?template=bug_report.yml) |
17-
| Request a feature | [Feature request](https://github.com/NotAFlightRisk/ai-usage-dashboard/issues/new?template=feature_request.yml) |
18-
| Report a vulnerability | [Security policy](./SECURITY.md) - **not** a public issue |
19-
| Contribute a change | [Contributing guide](./CONTRIBUTING.md) |
13+
| I want to... | Go here |
14+
| ------------------------------- | ------------------------------------------------------------------------------------------------------------------ |
15+
| Ask a question or share an idea | [Discussions](https://github.com/NotAFlightRisk/token-usage-dashboard/discussions) |
16+
| Report a bug | [Bug report](https://github.com/NotAFlightRisk/token-usage-dashboard/issues/new?template=bug_report.yml) |
17+
| Request a feature | [Feature request](https://github.com/NotAFlightRisk/token-usage-dashboard/issues/new?template=feature_request.yml) |
18+
| Report a vulnerability | [Security policy](./SECURITY.md) - **not** a public issue |
19+
| Contribute a change | [Contributing guide](./CONTRIBUTING.md) |
2020

2121
---
2222

‎.github/workflows/release.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,14 +41,14 @@ jobs:
4141
env:
4242
TAG: ${{ inputs.tag }}
4343
run: |
44-
tar -czf "ai-usage-dashboard-$TAG.tar.gz" build bin package.json package-lock.json .env.example
44+
tar -czf "token-usage-dashboard-$TAG.tar.gz" build bin package.json package-lock.json .env.example
4545
echo "Run it with: npm ci --omit=dev && npm start" >> "$GITHUB_STEP_SUMMARY"
4646
- name: Publish the release
4747
env:
4848
GH_TOKEN: ${{ github.token }}
4949
TAG: ${{ inputs.tag }}
5050
run: |
51-
gh release create "$TAG" "ai-usage-dashboard-$TAG.tar.gz" \
51+
gh release create "$TAG" "token-usage-dashboard-$TAG.tar.gz" \
5252
--title "$TAG" \
5353
--generate-notes \
5454
--repo "$GITHUB_REPOSITORY"

‎Dockerfile‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,4 @@ USER node
1717
VOLUME /data
1818
EXPOSE 8080
1919
HEALTHCHECK --interval=30s --timeout=3s CMD wget -qO- http://127.0.0.1:8080/ > /dev/null || exit 1
20-
CMD ["node", "bin/ai-usage-dashboard.js", "--no-open"]
20+
CMD ["node", "bin/token-usage-dashboard.js", "--no-open"]

0 commit comments

Comments
 (0)