{"id":15997810,"url":"https://github.com/manics/github-batch-updater","last_synced_at":"2025-08-30T15:16:04.023Z","repository":{"id":40663431,"uuid":"293523960","full_name":"manics/github-batch-updater","owner":"manics","description":"Make basic additions to multiple GitHub repositories","archived":false,"fork":false,"pushed_at":"2023-07-18T23:32:30.000Z","size":112,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-15T10:11:22.306Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/manics.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-09-07T12:37:14.000Z","updated_at":"2022-06-27T11:48:59.000Z","dependencies_parsed_at":"2024-10-08T08:04:25.379Z","dependency_job_id":"6b9d86dd-8d08-477b-9736-bfd0cb0b193b","html_url":"https://github.com/manics/github-batch-updater","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/manics/github-batch-updater","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/manics%2Fgithub-batch-updater","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/manics%2Fgithub-batch-updater/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/manics%2Fgithub-batch-updater/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/manics%2Fgithub-batch-updater/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/manics","download_url":"https://codeload.github.com/manics/github-batch-updater/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/manics%2Fgithub-batch-updater/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":272866024,"owners_count":25006313,"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","status":"online","status_checked_at":"2025-08-30T02:00:09.474Z","response_time":77,"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":"2024-10-08T08:04:12.371Z","updated_at":"2025-08-30T15:16:03.999Z","avatar_url":"https://github.com/manics.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# GitHub Batch Updater\n\nScript to help make basic additions to multiple GitHub repositories.\n\nCurrently this just adds or removes files, and opens a pull request against the default branch.\n\n## Installation\n\nRun `npm install` to install dependencies.\n\n## Usage\n\nSet the environment variable `GITHUB_TOKEN` to your GitHub personal token.\n\nRun `./main.js addfile --help` to see usage information.\n\nFor example, this will open a GitHub pull request that adds the local file `README.md` to `dir2/README-2.md` and removes `unwanted.txt` in the `manicstreetpreacher/github-api-test` repository:\n\n    ./main.js --base manicstreetpreacher/github-api-test --branch test-new-ref \\\n    --title 'This is a test' --body $'This is a test of creating a PR using [octokit rest.js](https://github.com/octokit/rest.js/)\\n\\n:octocat: :smile: :star:' --force \\\n    --addfile README.md --destfile dir2/README-2.md \\\n    --rmfile unwanted.txt\n\nNote this uses [Bash ANSI C-like escape sequences](http://wiki.bash-hackers.org/syntax/quoting?s[]=ansi\u0026s[]=sequence#ansi_c_like_strings) to pass multiple lines to the body.\n\nMultiple `--addfile` and `--rmfile` arguments can be passed.\nAll `--addfile` arguments must have a corresponding `--destfile`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmanics%2Fgithub-batch-updater","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmanics%2Fgithub-batch-updater","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmanics%2Fgithub-batch-updater/lists"}