Skip to content
CAI
Software that uses CAICheck a score

DenverCoder1/github-readme-streak-stats

61.5

Adequate · 17 November 2026

5k

lines of production code

PHP

with JavaScript

5

measurements over time

CAI band scale
CAI trend line
CAI lens gauges

What this system is

Features

Add interactive color picker and accordion components to the demo site

The demo site now includes a new color picker widget (jscolor) for selecting colors and an animated accordion component for organizing content. Users can now interactively choose colors within the demo interface and expand/collapse sections with smooth animations, enhancing the usability of the demonstration environment.

src/demo/js · high confidence

Added GitHub Codespaces configuration

Developers can now open the project directly in GitHub Codespaces. A new devcontainer setup provides a pre-configured Ubuntu 24.04 environment with PHP, Composer, and other necessary tools, automatically installing dependencies and configuring environment variables upon creation.

.devcontainer · high confidence

Automated translation progress tracking in README

A new PHP script (\scripts/translation-progress.php\) has been added to automatically calculate and display translation completion percentages for each locale. The script scans the translations file, computes the coverage of key phrases (such as 'Total Contributions' and 'Current Streak'), and updates the README with a table of HTML badges showing the progress for each language, including links to the specific line numbers in the source file.

scripts · high confidence

Introduce file-based caching and user whitelist for stats generation

The \src\ module now includes a file-based caching system (via \src/cache.php\) that stores generated stats for 24 hours to reduce repeated API calls, controlled by the \DISABLE\_CACHE\ environment variable. Additionally, a new whitelist feature (\src/whitelist.php\) restricts stats generation to specific GitHub usernames defined in the \WHITELIST\ environment variable, returning a 403 error for non-whitelisted users.

src · high confidence

Introduction of dark mode support and theme-aware styling for the demo site

The demo site now supports a dark theme, allowing users to toggle between light and dark modes. This is implemented via CSS custom properties in \style.css\ that define distinct color palettes for \:root\ and \\[data-theme="dark"\]\, affecting backgrounds, text, borders, and interactive elements like buttons and inputs. A dedicated \toggle-dark.css\ file introduces a fixed-position toggle button (\.darkmode\) that adapts its appearance to the current theme and repositions for mobile screens. Additionally, the styling ensures consistent font usage, improved mobile responsiveness for property panels, and theme-aware dropdown arrows.

src/demo/css · high confidence

New PHP-based demo site for previewing and customizing streak stats

The demo interface has moved to src/demo and is now served by a new PHP application (index.php, preview.php, icon.svg). Users can now preview generated cards directly in the browser, customize options such as theme, locale, date format, short numbers, card dimensions, and output type (SVG, PNG, JSON), and toggle dark mode. The demo also supports weekly streak mode, excluding specific days, hiding sections, and includes favicons and Google Analytics tracking.

src/demo · high confidence

Repository restructured with Docker support and GitHub Action

The project has been reorganized to support multiple deployment methods. A new Dockerfile and Procfile enable containerized deployment, while a new action.yml file allows the streak stats to be generated directly within GitHub Actions workflows. The application code has been refactored from a single index.php/card.php structure into a src/ directory with a new bin/generate-card.php entry point, and the root README has been updated with comprehensive setup instructions for these new options.

(repo-wide) · high confidence

Behavioural changes

1 commit (0 fixes) modifying bin

A change to existing behaviour in bin — 1 commit, 1 file: “feat: Add GitHub Actions card generation (\#904)” (refs \#904).

bin · medium confidence · unverified

Test coverage

Added test suite for caching, rendering, and configuration

Added new PHPUnit tests covering the file-based caching system (CacheTest), theme and color parameter handling (OptionsTest), SVG card generation and styling (RenderTest), contribution statistics and streak logic (StatsTest), and locale/translation normalization (TranslationsTest).

tests · high confidence

Dependencies

Project dependencies and tooling configuration updated

The project's dependency manifests have been significantly restructured. The PHP environment now requires PHP 8.2 and the intl extension, utilizing vlucas/phpdotenv ^5.3 for configuration and phpunit ^11 for testing, while replacing the previous guzzlehttp/guzzle and paquettg/php-html-parser dependencies. Additionally, a new Node.js tooling setup has been introduced with package.json and package-lock.json, specifying Node 22.x as the engine and adding prettier ^3.6.2 and @prettier/plugin-php ^0.24.0 as development dependencies for code formatting.

(dependencies) · high confidence

Written by cca.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.

How this codebase got here

Score

  • CAI 63.0 → 61.5 (-1.5)
  • Rubric changed (rubric-2026.11.2 → rubric-2026.11.4) — scores are not directly comparable.

Lenses

  • Code Health 71.8 → 67.8 (-4.0)
  • Architecture 100.0 → 92.7 (-7.3)
  • Maturity 57.4 → 56.2 (-1.2)
  • Readiness 58.9 → 58.9 (0.0)
  • Security 73.2 → 73.2 (0.0)

Resolved (1)

  • No ADRs found

New (5)

  • Edited copy of a member (56 corresponding lines) (src/stats.php)
  • No ADRs found (Procfile)
  • Off the main sequence: src
  • Orphaned file (src/cache.php)
  • Orphaned files with no living knowledge

Changes since last survey

  • 5 commits — 3 feature/other, 2 fixes

By area

  • (root) — 2 commits
  • scripts/translation-progress.php — 1 commit
  • src/translations.php — 1 commit
  • tests/CardTest.php — 1 commit

Notable commits

  • fix: fix(locale): add standard korean date format [Y.]n.j to ko locale (#962)
  • fix: fix: Change progress bar image source to new URL (#960)
  • change: docs(readme): Update translation progress
  • change: docs(readme): Update translation progress
  • change: test(card): Add PHPUnit tests for card functions (#963)

Written by cca.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.

Survey your own repository

DenverCoder1/github-readme-streak-stats was measured the same way every project in this corpus was: the same rubric, at a pinned commit, with the result published in full. Point a surveyor at a repository you know and see whether you agree with it.

About this page

  • The score is its most recent published measurement, taken on 17 November 2026 at a pinned commit. It is not a live figure and does not change until the project is measured again.
  • Measured at commit 82c2ef5144cfd567e9095c0e7e7a6d2948a1de52 — the exact code this score is about.
  • Scored under rubric-2026.11.4 — the same rubric and the same method as every other entry in this index.
  • Measured by Canine Code Analyzer (cca.canine.dev) using cca measure-2026.11.84+preprod-d645ca9bbedd.