I work 50+ hours a week writing code. My GitHub profile says I'm barely active.
Sound familiar? If you work on private repos — enterprise GitHub, Bitbucket, GitLab, self-hosted — none of that shows on your contribution graph. Recruiters see empty squares. Your profile looks dead.
I got tired of it and built contrib-mirror — a CLI that mirrors your real commit timestamps to a public repo. No code exposed. No fake commits. Just your actual work activity, finally visible.
Install
brew tap yuvrajangadsingh/contrib-mirror
brew install contrib-mirror
Or use the one-liner:
curl -fsSL https://raw.githubusercontent.com/yuvrajangadsingh/private-work-contributions-mirror/main/install.sh | bash
The setup wizard auto-detects your repos, emails, and org:
contrib-mirror --setup # configure once
contrib-mirror # sync anytime
How It Works
- Discovers repos in your work directory
- Creates bare caches (no source code touched)
- Extracts commit timestamps matching your email
- Optionally pulls PR/review/issue timestamps via GitHub API
- Creates empty commits with matching dates in a public mirror repo
- Pushes to GitHub
Zero code is ever exposed. The mirror contains only empty commits with timestamps.
It Also Tracks PRs and Reviews
GitHub counts more than commits — PRs opened, reviews submitted, and issues created all count toward your graph. With gh CLI authenticated, contrib-mirror picks those up too.
Set It and Forget It
Add a cron job or launchd agent and it syncs daily at midnight. Your graph stays green without you thinking about it.
The setup wizard handles scheduling too — just pick launchd or cron when prompted.
yuvrajangadsingh
/
greens
Your work is real. Your contribution graph should show it.
greens
Your work is real. Your contribution graph should show it.
If you commit to private/org repos all day but your GitHub profile looks empty, greens fixes that. It mirrors commit timestamps (and optionally PRs, reviews, issues) to a public repo without exposing any code.
Install
brew install yuvrajangadsingh/greens/greens
Then just run greens. Setup wizard runs on first use.
Manual install (without Homebrew)
git clone https://github.com/yuvrajangadsingh/greens.git
cd greens
bash setup.sh
What it does
- Scans your work repos (never modifies them)
- Extracts commit timestamps for your email(s) across all branches
- Optionally fetches PR/review/issue timestamps via GitHub API
- Creates empty commits with matching timestamps in a mirror repo
- Pushes to your public mirror
No code is exposed. The mirror contains empty commits with only timestamps.
Works with any git remote. Your source repos can be on GitHub, GitLab, Bitbucket, or self-hosted. greens scans the local clone, not the remote. The mirror…
Give it a star if this is useful to you.
Top comments (0)
Some comments may only be visible to logged-in visitors. Sign in to view all comments.