{"id":25599882,"url":"https://github.com/endormi/upstream","last_synced_at":"2026-04-13T21:31:08.185Z","repository":{"id":117887996,"uuid":"507260210","full_name":"endormi/upstream","owner":"endormi","description":"Automatically upstream a repo","archived":false,"fork":false,"pushed_at":"2026-01-01T01:29:40.000Z","size":14,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-01-05T16:18:25.490Z","etag":null,"topics":["bash-script","fork","forked-repo","git","github-api","upstream"],"latest_commit_sha":null,"homepage":"","language":"Shell","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/endormi.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2022-06-25T08:48:27.000Z","updated_at":"2026-01-01T01:29:44.000Z","dependencies_parsed_at":null,"dependency_job_id":"fec55cc4-a417-4f67-acef-bd58b06a884e","html_url":"https://github.com/endormi/upstream","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/endormi/upstream","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/endormi%2Fupstream","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/endormi%2Fupstream/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/endormi%2Fupstream/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/endormi%2Fupstream/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/endormi","download_url":"https://codeload.github.com/endormi/upstream/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/endormi%2Fupstream/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31771786,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-13T20:17:16.280Z","status":"ssl_error","status_checked_at":"2026-04-13T20:17:08.216Z","response_time":93,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["bash-script","fork","forked-repo","git","github-api","upstream"],"created_at":"2025-02-21T14:41:14.935Z","updated_at":"2026-04-13T21:31:08.144Z","avatar_url":"https://github.com/endormi.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Upstream\n\nBASH script to automatically upstream a forked repo.\n\n## Usage\n\nFirst you need to generate a personal access token. Follow this [tutorial](https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token) and then copy-paste the value to `ACCESS_TOKEN`.\n\nClone the repository:\n\n```\ngit clone https://github.com/endormi/upstream.git\n```\n\n\u003e You have the option to check a global and/or local repository.\n\nRun (check local repository):\n\n```\nchmod +x upstream.sh\n./upstream.sh\n```\n\nRun (check global repository):\n\nProvide the argument in the format of `owner/repository` for example `endormi/upstream`.\n\n```\nchmod +x upstream.sh\n./upstream.sh owner/repository\n```\n\nCheck [local_example.sh](https://github.com/endormi/upstream/blob/main/local_example.sh) (just a quick script) to see how to merge-upstream multiple repositories locally.\n\nCheck [global_example.sh](https://github.com/endormi/upstream/blob/main/global_example.sh) (just a quick script) to see how to merge-upstream multiple repositories globally.\n\n**NOTE**: Curl request to GitHub API might get rejected due to API rate-limiting (if you use it too many times).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fendormi%2Fupstream","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fendormi%2Fupstream","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fendormi%2Fupstream/lists"}