{"id":20224674,"url":"https://github.com/charpeni/sync-external-contributions","last_synced_at":"2025-05-12T14:47:58.499Z","repository":{"id":41827399,"uuid":"102290570","full_name":"charpeni/sync-external-contributions","owner":"charpeni","description":"📝 Sync your external contributions to GitHub :octocat:","archived":false,"fork":false,"pushed_at":"2024-08-13T16:35:02.000Z","size":50,"stargazers_count":41,"open_issues_count":0,"forks_count":6,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-05-06T04:58:12.659Z","etag":null,"topics":["contribution-graph","contributions","contributions-calendar","git","github"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/charpeni.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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}},"created_at":"2017-09-03T19:59:10.000Z","updated_at":"2025-04-24T15:06:42.000Z","dependencies_parsed_at":"2024-08-13T19:00:32.218Z","dependency_job_id":"ac5a5588-0e77-4a9a-a4cf-7c9af6fb92ab","html_url":"https://github.com/charpeni/sync-external-contributions","commit_stats":{"total_commits":9,"total_committers":2,"mean_commits":4.5,"dds":"0.11111111111111116","last_synced_commit":"80af985b6cb5241fade504af9346e04848dc53f6"},"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/charpeni%2Fsync-external-contributions","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/charpeni%2Fsync-external-contributions/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/charpeni%2Fsync-external-contributions/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/charpeni%2Fsync-external-contributions/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/charpeni","download_url":"https://codeload.github.com/charpeni/sync-external-contributions/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253758187,"owners_count":21959545,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["contribution-graph","contributions","contributions-calendar","git","github"],"created_at":"2024-11-14T07:07:27.088Z","updated_at":"2025-05-12T14:47:58.453Z","avatar_url":"https://github.com/charpeni.png","language":"JavaScript","readme":"# Sync External Contributions [![npm](https://img.shields.io/npm/v/sync-external-contributions.svg)](https://www.npmjs.com/package/sync-external-contributions)\n\n![header](https://user-images.githubusercontent.com/7189823/30006552-96e72362-90c8-11e7-8034-56f45bf72771.jpg)\n\nUtilize [git-standup](https://github.com/kamranahmedse/git-standup) to read all your authored contributions on local repositories and generate a GitHub contribution activity for each commit linked to you.\n\n**Privacy Focused:** The script respects your NDA and privacy by not copying commit content. Instead, it lists all authored commit SHAs and writes them to a file, ensuring a secure process.\n\n## Purpose\n\nThis script is designed for situations where your work is not hosted on GitHub. Missing GitHub contributions can misrepresent your activity, especially when working on projects or contracts that use different source control systems.\n\n\u003e [!NOTE]\n\u003e **Should External Contributions Be Included?**\n\u003e\n\u003e The inclusion of external contributions in your GitHub activity is debatable. However, since GitHub allows displaying private contributions, including these can reflect your complete activity.\n\n## Usage\n\nFirst, you'll need a git repository where the contributions will be synced.\n\nCreate it where you want it (e.g. `~/external-contributions`), run `git init` inside and push your initial commit with an empty file named `COMMITS`.\n\nCreate your repository on GitHub and add it as origin, origin will be automatically synced after each runs.\n\nTo sync every commits that you've done in `~/some-project` into `~/external-contributions`:\n\n```\nnpx sync-external-contributions --source ~/some-project --destination ~/external-contributions\n```\n\n```\nOptions\n\n  --source string[]      Source repositories to fetch commits\n  --destination string   Destination repository to sync contributions into\n  --days number          Specify the number of days back to include\n  --folder-depth         Specify the number of subfolders to look for repos in source\n  --dry-run              Will execute script without syncing\n  --force                Force push to the destination (implicit with reset)\n  --reset                Reset the destination repository\n  --silent               Will not prompt\n  -h, --help\n```\n\n## License\n\nsync-external-contributions is [MIT Licensed](LICENSE).\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcharpeni%2Fsync-external-contributions","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcharpeni%2Fsync-external-contributions","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcharpeni%2Fsync-external-contributions/lists"}