feat(#3): Remote scoring for GitHub/GitLab/Gitea #10

Merged
ti-paul merged 1 commit from feature/3-remote-scoring into main 2026-06-12 03:41:27 +00:00
Member

Closes #3

New: src/remote-scoring.js

  • GitHub, GitLab, Gitea API integration
  • Score: activity + popularity + community + health (0-100)
  • Grade system (A+/A/B/C/D/F)
  • Score caching with TTL
  • Token support for private repos

CLI

  • roulette remote-score

17 tests. 120 total pass.

Closes #3 ## New: src/remote-scoring.js - GitHub, GitLab, Gitea API integration - Score: activity + popularity + community + health (0-100) - Grade system (A+/A/B/C/D/F) - Score caching with TTL - Token support for private repos ## CLI - roulette remote-score <repo-url> 17 tests. **120 total pass.**
feat(#3): remote scoring for GitHub, GitLab, Gitea repos
Some checks failed
CI / test (pull_request) Failing after 0s
edbfccc915
New module src/remote-scoring.js:
- parseRepoUrl: detect platform from URL (github/gitlab/gitea)
- fetchGitHubStats/fetchGitLabStats/fetchGiteaStats: API integrations
- calculateRemoteScore: activity, popularity, community, health (0-100)
- Score caching with configurable TTL
- getGrade: A+/A/B/C/D/F grading
- renderScore: ASCII score card
- Token support for private repos

CLI: roulette remote-score <repo-url>

17 new tests. All 120 tests pass. Closes #3.
ti-paul left a comment
No description provided.
17 tests, 120 total. 3 platforms + caching. LGTM.
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
les_clankeurs/repo-roulette!10
No description provided.