{"id":21230837,"url":"https://github.com/tpkahlon/github-unstar","last_synced_at":"2025-07-10T16:33:08.822Z","repository":{"id":37726208,"uuid":"434867423","full_name":"tpkahlon/github-unstar","owner":"tpkahlon","description":"Unstar all your GitHub repositories in a matter of seconds.","archived":false,"fork":false,"pushed_at":"2021-12-04T11:05:47.000Z","size":18,"stargazers_count":43,"open_issues_count":1,"forks_count":6,"subscribers_count":3,"default_branch":"main","last_synced_at":"2024-10-13T10:52:44.705Z","etag":null,"topics":["github","github-unstar","unstar"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/github-unstar","language":"JavaScript","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/tpkahlon.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-12-04T10:12:37.000Z","updated_at":"2024-09-12T21:12:15.000Z","dependencies_parsed_at":"2022-09-06T15:11:42.360Z","dependency_job_id":null,"html_url":"https://github.com/tpkahlon/github-unstar","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tpkahlon%2Fgithub-unstar","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tpkahlon%2Fgithub-unstar/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tpkahlon%2Fgithub-unstar/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tpkahlon%2Fgithub-unstar/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tpkahlon","download_url":"https://codeload.github.com/tpkahlon/github-unstar/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225083125,"owners_count":17418237,"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":["github","github-unstar","unstar"],"created_at":"2024-11-20T23:39:37.373Z","updated_at":"2024-11-20T23:39:38.077Z","avatar_url":"https://github.com/tpkahlon.png","language":"JavaScript","readme":"# Introduction\n\nWhen I created an account on GitHub, I unconsciously starred gazillion repositories. Over the years, I realised the number has accumulated into thousands.\n\nThere is no easy way to unstar them. It takes manual labor to click through each repository and unstar it. To add to your frustration, there is a pagination in place. You can only unstar few items at once, then you have to paginate. Annoying, isn't it?\n\nOver time, you will grow as a developer and all these starred repositories make no sense to you. You would prefer to keep this to bookmark certain repositories that you use on a daily basis.\n\nOver past year, I tried many different projects that other created to unstar my repositories. All of them were outdated. Some used Ruby, Python etc. which I am not familiar with enough. Some used older API endpoint which makes them useless.\n\nI went through Github API documentation, always found it hard to track down this specific issue. This weekend, I sit down and explored their API documentation with clear mind again. Wolla, I see a light at the end of the tunnel.\n\nHow do I solve this problem?\n\nCome to your resuce in 2021, `npm i -g github-unstar`.\n\nRun the command using `github-unstar`. It will ask for your personal access token. Generate that in GitHub account for one time usage. Make sure to check all privileges while generating the token.\n\nIn few seconds, all your starred mess will be taken care of. Mind you if you have starred projects in range of 10k+, you may need to run this command few times again because Github API has maximum limit for each loop I run. If that happens, wait for a minute, and rerun the `github-unstar` command again.\n\n## Install\n\n- `npm i -g github-unstar`\n- `yarn global add github-unstar`\n\n## Usage\n\n```js\ngithub-unstar;\n```\n\n## Does it even work?\n\nSee my own account for proof. I had 1K+ stars prior to Dec 3, 2021. Check it now.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftpkahlon%2Fgithub-unstar","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftpkahlon%2Fgithub-unstar","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftpkahlon%2Fgithub-unstar/lists"}