ehmo/Repo Tokens

Zero-config token counting and context-window badges for any codebase

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
pathPath to scan (defaults to repo root)no.
context-windowContext window size for percentage calculationno200000
encodingTiktoken encoding namenocl100k_base
badge-pathPath to write SVG badge (empty to skip)no.github/badges/tokens.svg
readmePath to README file for marker replacementnoREADME.md
markerHTML comment marker name in READMEnotoken-count
include-testsInclude test files in token countnofalse
namedescription
tokensTotal token count (e.g. 34940)
percentagePercentage of context window (e.g. 17)
badgeBadge text (e.g. 34.9k tokens · 17% of context window)
jsonFull JSON output with per-project breakdown