AI 产品解读Display Source Lines of Code (SLOC) statistics for public GitHub repositories directly on the GitHub page.
GitHub's built-in language statistics only show percentages, not actual file counts or line counts. Users who need detailed SLOC breakdowns (files, lines, code, comments, blanks per language) must clone the repo or use external tools. This extension provides this information in a sidebar card without cloning.
1. User installs extension. 2. User navigates to a public GitHub repository page. 3. Content script detects the repo and sends a message to the background service worker. 4. Background worker checks local cache; if not cached or expired, it calls api.octocounts.com/api/analyze with the repo URL. 5. API returns SLOC data (possibly async via job ID). 6. Content script displays the data in a sidebar card on the GitHub page. 7. User can configure settings via the popup (position, cache TTL, etc.).
Display SLOC statistics (files, lines, code, comments, blanks) per programming languageShow statistics directly on GitHub repository pages (sidebar card)Support for public repositories onlyCache results locally to avoid repeated API callsConfigurable card position (top/bottom of sidebar)Option to hide GitHub's language section and replace with OctoCounts data
- 目标用户
- Developers / Code reviewers / Technical writers / Open source maintainers / Anyone needing detailed code metrics for GitHub repos
- The extension relies on an external API (api.octocounts.com) which may have rate limits or future changes not visible in the client code. The analysis assumes the API remains free and accessible. The extension's behavior on private repos is limited to showing a notice (no analysis performed).
付费分析未识别到付费功能
The extension is described as open source and shows no evidence of paid features, subscriptions, or billing integration. The keyword 'pro' found in static analysis was a false positive (part of 'modulepreload' or 'pro' in CSS classes, not referring to a paid tier). There are no references to Stripe, PayPal, subscription plans, upgrade prompts, or license keys in the source code.
- 置信度
- 90
- 支付平台
- --
- 来源
- AI / 高
- 需要登录
- 否
- 登录理由
- The extension works on public GitHub repositories without requiring any user authentication. The content script runs on github.com/*/* pages, and the background service worker calls api.octocounts.com without passing any user tokens or session cookies. The popup settings do not include any login or account management UI. The extension explicitly states it only supports public repos and does not gate functionality behind a login wall.