{"id":13565669,"url":"https://github.com/octoherd/script-star-or-unstar","last_synced_at":"2025-04-03T23:30:26.362Z","repository":{"id":43332687,"uuid":"343952290","full_name":"octoherd/script-star-or-unstar","owner":"octoherd","description":"An octoherd script to add or remove star","archived":false,"fork":false,"pushed_at":"2025-03-25T04:02:34.000Z","size":215,"stargazers_count":6,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-25T05:18:49.731Z","etag":null,"topics":["octoherd-script"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"isc","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/octoherd.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":"CODE_OF_CONDUCT.md","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":"2021-03-03T00:28:38.000Z","updated_at":"2025-03-25T04:02:38.000Z","dependencies_parsed_at":"2024-01-16T18:59:42.755Z","dependency_job_id":"a53d9d28-1ccf-4b5c-a652-dd01f770f133","html_url":"https://github.com/octoherd/script-star-or-unstar","commit_stats":{"total_commits":100,"total_committers":4,"mean_commits":25.0,"dds":"0.21999999999999997","last_synced_commit":"bd36f8eaa3b2302fc79cec7ee777cb9d3c337f8c"},"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/octoherd%2Fscript-star-or-unstar","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/octoherd%2Fscript-star-or-unstar/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/octoherd%2Fscript-star-or-unstar/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/octoherd%2Fscript-star-or-unstar/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/octoherd","download_url":"https://codeload.github.com/octoherd/script-star-or-unstar/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247097531,"owners_count":20883120,"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":["octoherd-script"],"created_at":"2024-08-01T13:01:52.657Z","updated_at":"2025-04-03T23:30:24.462Z","avatar_url":"https://github.com/octoherd.png","language":"JavaScript","funding_links":[],"categories":["JavaScript","Scripts"],"sub_categories":[],"readme":"# star or unstar\n\n\u003e An [octoherd](https://github.com/octoherd) script to add or remove star\n\n## Usage\n\nMinimal usage\n\n```\n$ npx @octoherd/script-star-or-unstar \\\n  --path-to-folders \"scripts\"\n```\n\nPass all options as CLI flags to avoid user prompts\n\n```\n$ npx @octoherd/script-star-or-unstar \\\n  -T ghp_0123456789abcdefghjklmnopqrstuvwxyzA \\\n  -R \"octoherd/repository-with-script-folders\"\n```\n\nAdd `--unstar` flag to unstar.\n\n## Options\n\n| option                       | type             | description                                                                                                                                                                                                                                 |\n| ---------------------------- | ---------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `--unstar`                   | boolean          | Set to remove a star instead of adding one.                                                                                                                                                                                                 |\n| `--octoherd-token`, `-T`     | string           | A personal access token ([create](https://github.com/settings/tokens/new?scopes=repo)). Script will create one if option is not set                                                                                                         |\n| `--octoherd-repos`, `-R`     | array of strings | One or multiple space-separated repositories in the form of `repo-owner/repo-name`. `repo-owner/*` will find all repositories for one owner. `*` will find all repositories the user has access to. Will prompt for repositories if not set |\n| `--octoherd-bypass-confirms` | boolean          | Bypass prompts to confirm mutating requests                                                                                                                                                                                                 |\n\n## License\n\n[ISC](LICENSE.md)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foctoherd%2Fscript-star-or-unstar","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Foctoherd%2Fscript-star-or-unstar","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foctoherd%2Fscript-star-or-unstar/lists"}