{"repo":"PatNei/GITHUB2FORGEJO","free":true,"listed":false,"github":"https://github.com/PatNei/GITHUB2FORGEJO","clone":"git clone https://github.com/PatNei/GITHUB2FORGEJO.git","description":"Github 2 Forgejo: This script migrates your GitHub repositories to a Forgejo instance using the Forgejo API. It fetches your repositories from GitHub and automatically creates matching repositories on Forgejo. Use it for backups, migrating, or maintaining a self-hosted mirror of your GitHub projects.","language":"Shell","stars":97,"topics":["forgejo","gitea","github","migration"],"license":"GPL-3.0","category":"self-hosted-apps","readme_excerpt":"[!IMPORTANT] Mirror mode requires Forgejo v15.0.0+. A bug where authentication credentials were not properly saved when creating mirrors has been fixed in Forgejo v15.0.0 LTS. Please update to v15+ to use the mirror strategy reliably. This script is inspired by and based on RGBCube's original version, rewritten in Bash. GitHub ➡️ Forgejo Migration Script in Bash This is a Bash script for migrating repositories from a GitHub user or organization account to a specified Forgejo instance. By default, it migrates all repositories , but you can filter them by using a fine-grained GitHub token with specific repository access. It supports mirroring or one-time cloning and includes a cleanup feature for removing repositories on Forgejo that no longer exist on GitHub. Features - Migrates all (or selected) repositories for a GitHub user or organization. - User or Org Detection : Automatically detects if the account is a User or Organization. - Supports selecting public , private , or both repository visibilities. - Mirror mode : repositories stay in sync with GitHub. - Clone mode : one-time copy without ongoing sync. - Archive Transfer : Optionally transfers the archived status so archived repos remain read-only on Forgejo. - Skip Forks : Option to ignore forked repositories during migration. - Visibility Filter : Migrate only private, only public, or all repositories. - Dry Run Mode : Preview what would happen without making changes. - Optional cleanup of outdated mirrors on Forgejo. -","default_branch":null,"files":null,"tree":[],"storefront":"/r/PatNei","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/PatNei/GITHUB2FORGEJO/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}