{"id":19221597,"url":"https://github.com/sebj54/gogs-to-github","last_synced_at":"2025-08-11T07:18:21.986Z","repository":{"id":57251805,"uuid":"308676447","full_name":"sebj54/gogs-to-github","owner":"sebj54","description":"A tool to help you migrate Gogs repositories to Github","archived":false,"fork":false,"pushed_at":"2020-11-10T09:47:37.000Z","size":38,"stargazers_count":2,"open_issues_count":2,"forks_count":3,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-29T15:01:36.260Z","etag":null,"topics":["github","github-api","gogs","gogs-api","migration","migration-tool"],"latest_commit_sha":null,"homepage":"","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/sebj54.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":"2020-10-30T15:51:30.000Z","updated_at":"2022-04-25T14:01:01.000Z","dependencies_parsed_at":"2022-09-05T21:11:49.319Z","dependency_job_id":null,"html_url":"https://github.com/sebj54/gogs-to-github","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/sebj54/gogs-to-github","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sebj54%2Fgogs-to-github","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sebj54%2Fgogs-to-github/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sebj54%2Fgogs-to-github/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sebj54%2Fgogs-to-github/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sebj54","download_url":"https://codeload.github.com/sebj54/gogs-to-github/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sebj54%2Fgogs-to-github/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":269844415,"owners_count":24484193,"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-11T02:00:10.019Z","response_time":75,"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":["github","github-api","gogs","gogs-api","migration","migration-tool"],"created_at":"2024-11-09T14:43:37.782Z","updated_at":"2025-08-11T07:18:21.925Z","avatar_url":"https://github.com/sebj54.png","language":"JavaScript","readme":"# gogs-to-github\n\nA tool to help you migrate Gogs repositories to Github.\n\n## Features\n\n- Migrate repositories from Gogs to Github\n    - Create repositories\n    - Create labels\n    - Create milestones\n    - Create issues and comments\n    - Keep issue numerotation\n    - Create webhooks\n- Display commands to clone old repositories and push to new ones (you just have to copy/paste)\n\n**⚠ This tool does not migrate pull requests because Gogs does not provide an API for pull requests (see https://github.com/gogs/gogs/issues/2253).**\n\n## Installation and usage\n\n```\ngit clone https://github.com/sebj54/gogs-to-github\ncd gogs-to-github\nnpm ci\nGOGS_ACCESS_TOKEN=____YOUR_GOGS_TOKEN____\nGOGS_URL=https://____YOUR_GOGS_URL____\nGITHUB_ACCESS_TOKEN=____YOUR_GITHUB_TOKEN____\nnpm start\n```\n\n### Configuration\n\nTo be able to run migration, you will need to set 3 environment variables:\n\n- `GOGS_ACCESS_TOKEN`: A Gogs access token (Create one from *Settings → Applications*)\n- `GOGS_URL`: Your Gogs instance URL (without trailing slash)\n- `GITHUB_ACCESS_TOKEN`: A GitHub access token with `repo` and `admin:repo_hook` scopes (Create one from https://github.com/settings/tokens)\n\nYou can define these variables directly from your CLI or use a `.env` root file. You can copy the structure of the `env.dist` file and fill the variables.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsebj54%2Fgogs-to-github","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsebj54%2Fgogs-to-github","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsebj54%2Fgogs-to-github/lists"}