summaryrefslogtreecommitdiff
path: root/internal/showcase/metadata.go
AgeCommit message (Collapse)Author
2026-05-29chore(showcase): remove dead countLinesOfCode helper (sq)Paul Buetow
2026-05-28refactor(version): unify version tag detection across packages (gq)Paul Buetow
2026-05-27showcase: activity check uses all-branch last-commit date to avoid false โ†ตPaul Buetow
inactivity Problem: projects with active development on a non-default branch (e.g. all recent work on 'master' while the workdir HEAD is on 'screenshots') were being greyed out in the rank-history SVG despite recent commits. Fix: - Add LastActivityDate string to RepoMetadata, computed with 'git log --all -1 --pretty=format:%ai' (all local branches, no fetch). Code stats (AvgCommitAge, CommitCount, LOC, score) remain HEAD-only per the configured-branch rules. - SVG inactivity check uses LastActivityDate (falling back to LastCommitDate if the field is absent in older cache entries). - getLastActivityDate() added to metadata.go alongside getLastCommitDate(). Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-28feat(showcase): support per-repo stats branchesv0.16.0Paul Buetow
2026-03-11fix(showcase): penalize unreleased repositoriesv0.15.4Paul Buetow
2026-03-11fix(showcase): rebalance scoring and compact historyv0.15.3Paul Buetow
2025-12-31feat: implement logarithmic scoring system for showcase rankingv0.11.0Paul Buetow
- Remove vibe-coded and AI-assisted detection from showcase - Add project rank numbers to showcase headers - Implement logarithmic score: log10(LOC) * 1000 / (avgCommitAge + 1) - Replace 'Recent Activity' display with 'Score' - Update sorting to use score (highest first) - Score balances project size and recent activity - Bump version to 0.11.0 ๐Ÿค– Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2025-10-31feat: implement amp AI tool support and replace Taskfile with Magev0.10.0Paul Buetow
- Add amp as default AI tool for release notes and showcase generation - Fallback chain: amp โ†’ hexai โ†’ claude โ†’ aichat - Replace Taskfile.yaml with magefile.go for build automation - Update all documentation (README.md, AGENTS.md, doc/development.md) - Update version to 0.10.0 Amp-Thread-ID: https://ampcode.com/threads/T-735ba1e2-0255-4b43-8ed1-6c0d2f78301b Co-authored-by: Amp <amp@ampcode.com>
2025-07-09feat: add latest release version and date to project summariesPaul Buetow
- Display latest release tag and date for each project - Filter tags to only show version-like tags (e.g., v1.0, 2.3, 1.0.0) - Projects with releases show "๐Ÿท๏ธ Latest Release: v1.0.0 (2024-01-15)" - Projects without releases show "๐Ÿงช Status: Experimental (no releases yet)" - Added LatestTagDate field to metadata structure ๐Ÿค– Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-09feat: add SVG image support and experimental project detectionPaul Buetow
- Fix image extraction regex to handle unquoted HTML img src attributes - Add detection of version tags and experimental status for projects - Display "Experimental (no releases yet)" for projects without tags - Successfully extracts SVG images from projects like ior ๐Ÿค– Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-08feat: separate documentation from code in showcase statisticsPaul Buetow
- Add new Documentation field to RepoMetadata structure - Update language detector to categorize Markdown, reStructuredText, LaTeX, etc. as documentation - Display documentation statistics separately in both project entries and overall stats - Calculate lines of code and documentation independently - Show "Documentation: Markdown (100.0%)" style formatting ๐Ÿค– Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-08feat: show language usage percentages in showcasePaul Buetow
- Languages are now counted by lines of code - Displayed with percentages ordered by usage (highest first) - Format: 'Go (88.8%), Markdown (5.5%), ...' - Only shows languages with at least 0.1% usage - More accurate representation of project composition ๐Ÿค– Generated with Claude Code Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-08feat: change average commit age calculation to last 42 commitsPaul Buetow
- Changed from 100 to 42 commits for average age calculation - 42 is the answer to life, the universe, and everything! - Updates both the calculation and display messages ๐Ÿค– Generated with Claude Code Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-07feat: add comprehensive showcase generation with metadata and imagesPaul Buetow
- Add --showcase flag to generate project showcases using Claude - Extract repository metadata (languages, commits, LOC, dates, license) - Support image extraction from README files (local and remote) - Add caching with --force flag to regenerate - Add exclude_from_showcase config option - Add standalone showcase mode (--showcase without sync) - Sort projects by recent activity (avg age of last 100 commits) - Output in Gemini Gemtext template format (.gmi.tpl) - Fix backup location fetching when --backup flag not set ๐Ÿค– Generated with Claude Code Co-Authored-By: Claude <noreply@anthropic.com>