{"id":47890492,"url":"https://github.com/devlikebear/git-contrib","last_synced_at":"2026-04-04T03:01:09.883Z","repository":{"id":349051517,"uuid":"1200522314","full_name":"devlikebear/git-contrib","owner":"devlikebear","description":null,"archived":false,"fork":false,"pushed_at":"2026-04-04T01:03:13.000Z","size":37,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-04-04T02:22:29.990Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/devlikebear.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-04-03T14:11:15.000Z","updated_at":"2026-04-04T01:03:16.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/devlikebear/git-contrib","commit_stats":null,"previous_names":["devlikebear/git_contrib"],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/devlikebear/git-contrib","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devlikebear%2Fgit-contrib","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devlikebear%2Fgit-contrib/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devlikebear%2Fgit-contrib/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devlikebear%2Fgit-contrib/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/devlikebear","download_url":"https://codeload.github.com/devlikebear/git-contrib/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devlikebear%2Fgit-contrib/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31385935,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-04T01:22:39.193Z","status":"online","status_checked_at":"2026-04-04T02:00:07.569Z","response_time":60,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-04-04T03:00:53.813Z","updated_at":"2026-04-04T03:01:09.869Z","avatar_url":"https://github.com/devlikebear.png","language":"HTML","readme":"# git-contrib\n\n여러 Git 리포지토리를 분석하여 개발자별 기여 통계를 HTML/JSON 리포트로 생성하는 CLI 도구입니다.\n\n## Features\n\n- **멀티리포 분석** — 여러 리포지토리를 동시에 분석 (goroutine 병렬 수집)\n- **개발자별 기여 통계** — 커밋 수, 추가/삭제 LOC, 순증감, 활동일, 일평균 커밋/LOC\n- **기간별 상세** — 일간/주간/월간 탭으로 Top 20 개발자의 기간별 활동 확인\n- **리포별 탭** — 종합 + 리포별 독립 분석 (통계, 차트, 순위, 기간별 상세)\n- **타임시리즈 차트** — 일간 활동 라인 차트 (커밋/LOC 전환, 개발자별 필터)\n- **Author alias** — 동일 인물의 여러 git username을 하나로 병합\n- **다크 테마 HTML 리포트** — 단일 HTML 파일, 외부 의존성 없음\n- **JSON 출력** — 분석 결과를 구조화된 JSON으로 내보내기\n\n## Installation\n\n### Homebrew (macOS)\n\n```bash\nbrew tap devlikebear/tap\nbrew install git-contrib\n```\n\n### Go install\n\n```bash\ngo install github.com/devlikebear/git-contrib/cmd@latest\n```\n\n### Binary\n\n[Releases](https://github.com/devlikebear/git-contrib/releases)에서 플랫폼에 맞는 바이너리를 다운로드하세요.\n\n## Usage\n\n### 1. 설정 파일 생성\n\n```bash\ncp config.yaml.sample config.yaml\n```\n\n`config.yaml`을 편집하여 분석할 리포지토리 경로와 기간을 설정합니다:\n\n```yaml\nsince: \"2024-01-01\"\nuntil: \"2024-12-31\"\nrepos:\n  - /path/to/repo1\n  - /path/to/repo2\noutput: \"report.html\"\n\n# Author alias mapping (optional, case-insensitive)\nauthors:\n  Teknium:\n    - teknium1\n    - teknum\n```\n\n### 2. 실행\n\n```bash\n# config.yaml 사용\ngit-contrib\n\n# CLI 플래그로 오버라이드\ngit-contrib --repos /path/repo1,/path/repo2 --since 2025-01-01 --until 2025-12-31\n\n# 설정 파일 경로 지정\ngit-contrib -c my-config.yaml -o my-report.html\n\n# JSON 출력 (파일 확장자로 자동 감지)\ngit-contrib -o report.json\n```\n\n### 3. 리포트 확인\n\n```bash\nopen report.html\n```\n\n## CLI Flags\n\n| Flag | Short | Description | Default |\n|------|-------|-------------|---------|\n| `--config` | `-c` | 설정 파일 경로 | `config.yaml` |\n| `--since` | | 시작 날짜 (YYYY-MM-DD) | config 값 |\n| `--until` | | 종료 날짜 (YYYY-MM-DD) | config 값 |\n| `--output` | `-o` | 출력 파일명 | config 값 |\n| `--repos` | `-r` | 리포지토리 경로 (쉼표 구분) | config 값 |\n| `--version` | | 버전 출력 | |\n\n## Report Sections\n\n### 종합 탭\n- 커밋 수 바 차트 (Top 20)\n- 일간 활동 타임시리즈 (커밋/LOC 전환, 개발자 필터)\n- 개발자 종합 순위 테이블\n- 기간별 상세 (일간/주간/월간)\n\n### 리포별 탭\n각 리포지토리별로 동일한 분석 결과를 독립적으로 확인할 수 있습니다.\n\n## Development\n\n```bash\n# 빌드\nmake build\n\n# 실행\nmake run\n\n# 테스트\nmake test\n```\n\n## License\n\nMIT\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevlikebear%2Fgit-contrib","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdevlikebear%2Fgit-contrib","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevlikebear%2Fgit-contrib/lists"}