Local-first Kiro Credits dashboard with AWS Athena refresh and multi-architecture Docker images.
91
A local-first dashboard for viewing Kiro Credits usage across subscribed users. It collects usage data through AWS CLI and Athena, stores validated snapshots locally, and provides a browser dashboard plus UTF-8 BOM CSV export.
chowrex/kiro-credit-usage-webThis image is published as a multi-architecture manifest:
linux/amd64 for common x86_64 Linux serverslinux/arm64 for Apple Silicon and ARM Linux servers0.1.1 — stable release imagelatest — latest published stable releaseFor reproducible deployment, use a versioned tag such as 0.1.1 rather than latest.
The repository includes the required Compose deployment assets:
docker/
├── Dockerfile
├── compose.yaml
├── container.env.example
└── kiro-credit-usage.crontab.template
Create a private environment file outside the repository:
cp docker/container.env.example /etc/kiro-credit-usage/container.env
chmod 600 /etc/kiro-credit-usage/container.env
Set the image version and required host paths:
KIRO_IMAGE_TAG=0.1.1
KIRO_CONFIG_FILE=/srv/kiro-credit-usage/config.local.toml
KIRO_DATA_DIR=/srv/kiro-credit-usage/data
KIRO_AWS_DIR=/srv/kiro-credit-usage/aws-profile
KIRO_ADMIN_TOKEN_FILE=/srv/kiro-credit-usage/.admin-token
KIRO_UID=1000
KIRO_GID=1000
KIRO_HTTP_PORT=8080
Pull and start the long-running dashboard container:
docker compose \
--env-file /etc/kiro-credit-usage/container.env \
-f docker/compose.yaml pull web
docker compose \
--env-file /etc/kiro-credit-usage/container.env \
-f docker/compose.yaml up --no-build --detach web
The dashboard listens on 0.0.0.0:8080 by default.
The refresh service is a one-shot container. It reads the mounted AWS profile and writes snapshots only to the mounted data directory.
docker compose \
--env-file /etc/kiro-credit-usage/container.env \
-f docker/compose.yaml run --rm --no-build refresh
The repository provides a host-crontab template for a daily refresh at Beijing time 10:00:
docker/kiro-credit-usage.crontab.template
Cron runs on the host. It starts an ephemeral refresh container and does not require a separate cron container.
config.local.toml, the AWS profile directory, and the administrator token as read-only paths.data/ directory and /tmp are writable.Content type
Image
Digest
sha256:1db2f2384…
Size
112.7 MB
Last updated
2 days ago
docker pull chowrex/kiro-credit-usage-web