Gogs vs Forgejo

Gogs is a simple MIT-licensed Git service that marks Actions and packages as in development. Forgejo is a GPL-3.0 forge with built-in Actions and published release support windows. Here is how to choose.

On this page

Gogs vs Forgejo: which self-hosted Git forge fits your team

Choose Gogs if your team needs a small, self-hosted Git service for code hosting, pull requests and access control, and already runs CI on another system. Choose Forgejo if CI must run on the forge itself or if you want a community-governed project with published support dates. Four questions usually decide the shortlist: whether CI must run on the forge, how strict the license review is, which sign-in methods are required, and how long each release must stay supported. Forgejo Actions is a built-in CI system that hands workflows to separate runners. It is designed to be familiar to GitHub Actions users, but it is not compatible with GitHub Actions, so existing workflow files will need rewriting. The Gogs README marks Actions and packages as in development as of December 2026, so a CI requirement today points to Forgejo or to an external pipeline.

License review is the second filter. The Gogs LICENSE file is the MIT License with the copyright line for The Gogs Authors. Forgejo is licensed GPL-3.0-or-later from v9.0 onward, and earlier versions are under MIT. If your legal team treats copyleft obligations as a blocker for modified code or bundled plugins, confirm with counsel how GPL-3.0-or-later applies to your changes before you choose Forgejo. Sign-in is the third filter. The Gogs README lists LDAP, SMTP, PAM, OAuth 2.0, OpenID Connect and SAML 2.0, with some of these marked as in development, plus MFA and passkeys. List every sign-in method your identity policy requires, then check each one against the README status for the exact version you plan to deploy. Confirm Forgejo's supported sign-in methods in its documentation before assuming they match.

Release support is the last filter, and the two projects differ most in what they publish. Forgejo stable releases receive full support for three months plus a two-week window, while LTS releases, published in the first quarter of each year, receive critical bugfixes and security support for one year and three months. Forgejo v15 is the LTS release supported until July 15, 2027, and v17.0.0, released on October 15, 2026, is supported until January 28, 2027. Forgejo releases lists these dates. For Gogs, ask the maintainers in writing how long the version you deploy will receive security fixes before you commit. Also document the upgrade path your team expects to follow, because switching later becomes costlier once CI workflows and runners depend on the forge. Forgejo documents upgrades from Gitea up to Gitea v1.22 in two steps, but confirm whether a Gogs to Forgejo path exists, and test any move on a copy of your data first.

Which Gogs vs Forgejo scenario matches your team

This table matches common team scenarios to the better fit between Gogs and Forgejo. Read each row by its condition first, since one requirement such as built-in CI, a copyleft license or a support window can decide the choice. Where the project documentation does not settle a point, the row says what to confirm with the maintainers.

ScenarioBetter fitWhy
Small team that only needs Git hostingGogsGogs is MIT licensed and runs as a single binary with SQLite, PostgreSQL or MySQL. This suits teams that need no built-in CI or package registry.
Team that wants CI on the forgeForgejoForgejo Actions is built in and uses separate runners, but workflows are not GitHub Actions compatible. Gogs marks Actions as in development.
Team that needs a long support windowForgejoMatters when patch schedules are fixed. Forgejo v15 LTS is supported until July 15, 2027. Confirm Gogs' support window with its maintainers.
Team with a license review on copyleft termsGogs, if copyleft is barredGogs is MIT licensed. Forgejo is GPL-3.0-or-later from v9.0, and earlier versions are MIT, so check the version you deploy.
Team that needs specific SSO providersConfirm in both before choosingGogs lists LDAP, PAM, OAuth 2.0, OpenID Connect and SAML 2.0, with some still in development. Check your exact provider in both.
Team planning federationForgejo, as an experimentForgejo federation is experimental, built on ForgeFed over ActivityPub. Gogs does not list federation. Plan production use without it.
Team already on GiteaForgejo, if on Gitea up to v1.22Matters if you run Gitea up to v1.22. Forgejo documents a two-step upgrade, first to v10.0.x.

How Gogs and Forgejo are built and what that means for operations

Both platforms are self-hosted Git services, but their packaging, databases, sign-in options and CI differ in ways that change daily work. Each card names one operating surface, what it means for your team, and the check to run in your own environment before you commit. Treat the Gogs README and Forgejo documentation as the reference for current status, since features marked in development can change.

Deployment packaging

Gogs ships as a single binary or Docker image, and its README lists Linux, macOS, Windows and ARM as platforms. Kubernetes support is marked as in development, so a Kubernetes rollout today means writing and maintaining your own manifests. A single binary is the simplest unit to back up, patch and roll back, while a container image fits teams that already run a container platform. Confirm the exact release you will pin, who builds and scans the image, and whether your platform team will own the manifests.

Gogs README

Supported databases

Gogs supports PostgreSQL, MySQL and SQLite3. The database you choose sets your backup, restore and failover work. SQLite3 suits a small pilot or a single host, while PostgreSQL or MySQL lets your database team apply the backup and failover tooling it already runs. Gogs provides command-line backup and restore, but production data still needs a database-level backup plan that your team tests. Confirm the database versions your Gogs release supports and who will own the database instance.

Team-use sizing baseline

The Gogs README gives a baseline of 2 CPU cores and 512MB RAM for team use. Treat it as a starting point for a small team's repositories and traffic. It is not a sizing guide for a large engineering organization. Load rises with concurrent Git operations, repository size, LFS storage and webhook volume, so the baseline holds only while those stay modest. Confirm the figure with a load test on your own repositories, and size disk throughput and database capacity separately.

Sign-in options and MFA

The Gogs README lists sign-in through LDAP, SMTP, PAM, OAuth 2.0, OpenID Connect and SAML 2.0, plus MFA and passkeys. Some of these methods are marked as in development, so the key check is whether the method your identity provider needs is listed as available. Confirm each method against the release you deploy, and test the login path with your directory's group mapping. Decide in advance how MFA enrollment and account recovery will work for break-glass administrators.

Forgejo Actions and runner architecture

Forgejo Actions is a built-in CI system that hands workflows to separate runners. It is designed to be familiar to GitHub Actions users, but it is not compatible with GitHub Actions, so existing workflow files need review before they run. The Gogs README marks Actions as in development, so Gogs teams would use an external CI system in the meantime. Operationally, you will size and patch a runner pool, choose which hosts run jobs, and keep runners away from production credentials. Confirm runner hosting, network access and the workflows you need to port.

Forgejo Actions overview

Federation status in Forgejo

Forgejo federation is experimental and under active development, using the ForgeFed protocol based on ActivityPub. Because it is experimental, an operations plan should not depend on it. The Gogs README does not list federation, so this is a difference that matters only if you expect cross-instance collaboration later. Confirm the current status in the Forgejo FAQ before writing it into requirements, and confirm which collaboration needs mirrors, webhooks and standard Git remotes can already meet.

Forgejo FAQ

Which path your Git forge decision takes

The path starts with whether the forge must run CI pipelines or provide a package registry. Gogs marks Actions and packages as in development, so a yes to either sends you to Forgejo, which has built-in Forgejo Actions and is GPL-3.0-or-later from v9.0 onward. Gogs is MIT licensed, so if the GPL-3.0 review does not accept those terms, stop at the confirm-first step. Next, confirm that each sign-in provider you need is available on the platform you choose, since Gogs marks some sign-in methods as in development. Last, compare the release support window you need with the window each project publishes, and confirm Gogs's window with its maintainers before you rely on it.

Decision path from CI and registry needs to a Gogs, Forgejo or confirm-first outcome.

Gogs vs Forgejo feature by feature

This table compares Gogs and Forgejo across licensing, databases, collaboration, sign-in, CI, automation, backup and release support. Where a cell asks you to confirm, check that item against the version you plan to deploy before you decide. The main takeaway: Gogs documents a core Git feature set but lists CI and packages as in development, while Forgejo adds built-in CI and published support windows.

CapabilityGogsForgejo
License and editionsMIT License, copyright The Gogs Authors. Confirm in the gogs/gogs repository whether any paid edition exists.GPL-3.0-or-later from v9.0, with earlier versions under MIT. Confirm the license of the exact version you deploy.
Databases and Git accessPostgreSQL, MySQL and SQLite3. Git over SSH, HTTP(S) and LFS are listed as supported.Confirm supported databases, Git over SSH, HTTP(S) and LFS for your version in the Forgejo documentation.
Forks, mirrors, issues, pull requests, protected branches, wikis and organizationsListed as supported in the Gogs README.Confirm each of these items for your target version in the Forgejo documentation.
Sign-in, MFA and passkeysLDAP, SMTP, PAM, OAuth 2.0, OpenID Connect and SAML 2.0 listed, some marked in development. MFA and passkeys listed.Confirm sign-in methods, MFA and passkey options for your version before designing SSO.
CI, Actions and packagesActions and packages are marked in development, so neither is available as of December 2026.Built-in Forgejo Actions with separate runners, not compatible with GitHub Actions. Confirm package registry support.
Webhooks, REST API and Prometheus metricsWebhooks, a REST API and Prometheus metrics are listed.Confirm webhook events, REST API coverage and metrics endpoints for your version.
Backup, restore and federationCommand-line backup and restore listed. Confirm federation status with the Gogs project.Confirm the backup and restore procedure in the admin docs. Federation is experimental, using ForgeFed on ActivityPub.
Release supportConfirm the current release and maintenance window on the gogs/gogs releases page before choosing.Stable releases: three months plus a two-week window. LTS (v15) supported until July 15, 2027.

What the MIT and GPL licenses mean for each platform

Gogs is released under the MIT License, and its LICENSE file gives the copyright line Copyright (c) The Gogs Authors. The license is short and permissive: you can use, copy, modify, merge, publish, distribute, sublicense and sell copies of the software. The main condition is that copies or substantial portions keep the copyright notice and permission text. The license also disclaims warranty, so support, patch timing and liability depend on your own contracts and operating practices. Check the Gogs LICENSE file for the exact wording at the tag you deploy.

  • Internal changes: You can modify Gogs for your own staff without publishing those changes, because MIT does not require source release for internal use.
  • Redistributed builds: If you ship a modified binary or container image to another party, include the license notice and copyright line with it.
  • Closed-source products: A product built on Gogs can keep proprietary terms for its own code, as long as the MIT notice stays with the Gogs portions.
  • Warranty: The license offers no warranty, so write vulnerability response and upgrade commitments into your own agreement with any provider.

Before you fork or package Gogs, check the LICENSE file at the tag you use and confirm with counsel that your packaging keeps the required notices.

What drives the running cost of Gogs and Forgejo

Both platforms carry open-source licenses, so the running cost is mostly staff time, storage and CI runners. The cards separate one-time work, such as migration and setup, from recurring work, such as upgrades, backup testing and runner maintenance. Use the question at the end of each card to build a written quote.

Staff time to operate

Recurring staff time is usually the largest running cost for both platforms. It covers patching, backup checks, database maintenance, user support and upgrade testing. Gogs ships as a single binary or Docker image, which keeps the routine footprint small. Forgejo asks more of the upgrade calendar, since stable releases get full support for three months plus a two-week window, and LTS releases get critical bugfixes and security support for one year and three months. Ask any partner for a written estimate of monthly hours, split by these tasks.

Hosting and backup storage

Both platforms need a Linux host or container, a database and attached storage for repositories, LFS objects and backups. Gogs supports PostgreSQL, MySQL and SQLite3, and its README lists command-line backup and restore. Storage cost recurs and grows with repository history, LFS content and retained backups, so ask for the retention period you plan. Test a restore on a schedule, because a backup that has never been restored is not proof of recovery. Confirm the backup tooling for your Forgejo version before you size the server.

CI runner hosts

Runner hosts are a separate recurring cost for Forgejo. Forgejo Actions is built in, but it hands workflows to separate runners, so each runner needs a machine, patching and registration. It is designed to feel familiar to GitHub Actions users, but it is not compatible with GitHub Actions, so existing pipelines need rewriting and re-testing. Gogs marks Actions as in development, so CI on Gogs means a separate system with its own cost. Ask the quote for runner count, operating system images, scaling and who maintains each runner.

Forgejo Actions overview

Upgrade cadence and support

Forgejo's support windows set the upgrade budget. v17.0.0 was released on October 15, 2026 and is supported until January 28, 2027, while v15 is the LTS release supported until July 15, 2027. Upgrade before each window closes, because every line you run needs a planned slot. Choose between a faster stable cadence and the longer LTS line based on how much upgrade work your team can absorb. For Gogs, have the maintainers or a partner confirm its release and security support policy in writing before you commit.

Forgejo releases

Commercial support options

Support contracts recur only if you buy one, so confirm who sells support before you budget for it. Forgejo's governance stays independent, with Codeberg e.V. owning its domains, so ask whether any company offers paid support for your version. Gogs is MIT licensed under The Gogs Authors, so ask the same question there. For either platform, request named support tiers, response targets in writing, covered versions, and whether upgrades and security patches are included.

Migration and retraining

Migration is one-time work, and retraining is mostly one-time too. Forgejo documents transparent upgrades from Gitea up to v1.22 in two steps, first to Forgejo v10.0.x and then to any later version. That documented path starts from Gitea, so confirm the method for moving from Gogs in writing. Retraining covers Actions workflows, runner administration and new upgrade rules for admins. Ask the quote for migration steps, a rollback plan, a test migration on a copy of your data and a list of items to rebuild, such as webhooks and SSO settings.

Forgejo upgrade guide

Moving repositories from Gogs to Forgejo, step by step

This sequence moves a Gogs instance to a tested Forgejo instance while keeping repositories, accounts and access intact. Each step ends with a check that must pass before the next one starts, and the cutover waits until the switch-back steps have been rehearsed. Much of the effort usually sits in inventory, restore testing and sign-in, so plan those steps first.

  1. Inventory repositories, users and integrations

    Before anything is copied, list every repository, user, SSH key, webhook, LFS object, protected branch, wiki and organization on the Gogs instance. The Gogs README lists most of these as features, so the inventory shows what must be carried over and what must be rebuilt. The platform owner builds the list from the admin panel and repository settings, with an owner named for each organization and each repository that carries webhooks or LFS data. The step is done when the list is reviewed and signed off, and every item has a count and an owner.

  2. Confirm the migration path with Forgejo documentation

    The Forgejo upgrade guide documents transparent upgrades from Gitea up to Gitea v1.22, in two steps: first to Forgejo v10.0.x, then to any later Forgejo version. That guide does not describe a path from Gogs, so confirm the route with the Forgejo documentation and the Forgejo project before you commit. Forgejo v15 is the LTS release supported until July 15, 2027, a reasonable target to test against once the route is confirmed. The step is done when the written migration plan names the source version, the target version and the data types the route covers.

  3. Back up Gogs and restore a copy

    Stop writes to the Gogs instance, then run the command-line backup tooling listed in the Gogs README. Restore that backup to a separate host running the same Gogs version, so the copy matches production. Your platform team runs both operations, and DeployOpen can run them as part of a fixed-scope engagement if you prefer outside help. Check the restored copy against the inventory: repositories should clone, LFS files should download, wikis should render, and protected branch rules and organization membership should match the source. The step is done when every check on the list passes against the copy, and the team has recorded which items came across cleanly.

  4. Rebuild and test sign-in

    Recreate each sign-in source on the restored copy, whether LDAP, SMTP, PAM, OAuth 2.0, OpenID Connect or SAML 2.0, along with MFA settings, based on what the identity team approved. The Gogs README marks some of these methods as in development, so do not assume a method behaves the same way on Forgejo until you have tested it. Confirm the Forgejo settings against the documentation for the version you installed. Test with a standard user, an organization member, an administrator, and an account with MFA or a passkey enrolled. The step is done when each test account signs in through the expected route, and no account gains admin rights it should not hold.

  5. Recreate webhooks and API tokens

    Webhooks and API tokens are rebuilt on Forgejo from the inventory, so start with each receiver URL and its owner. Recreate each webhook on the matching repository, generate a new secret, and ask each integration owner to create a new API token with the scope they need. Store secrets in your team's secrets manager and keep them out of tickets and chat. Send a test delivery from each webhook and make one authenticated API call per integration. The step is done when every webhook shows a successful test delivery and each integration owner confirms a working call with a new token.

  6. Re-point remotes and client configuration

    Update the origin URL in every clone, along with CI jobs, deploy scripts, backup jobs and bots that reference the Gogs host. Use the inventory to list each client group, including developer workstations, build hosts and automation accounts. Gogs has no Actions pipelines to move, so there is no workflow conversion on the Gogs side. If you adopt Forgejo Actions later, it is a built-in CI system designed to be familiar to GitHub Actions users, although its workflows are not compatible with GitHub Actions. The step is done when a test clone, push and pull succeed from a sample of each client group.

  7. Cut over with a documented rollback

    Agree a cutover window with the business owners, freeze writes on Gogs, and take a final backup. Point the Git hostname or proxy at Forgejo and confirm the new address from a sample of clients. Keep the Gogs instance available in read-only mode until the rollback window closes, and write down how to point the hostname back at Gogs. Writes made on Forgejo during the window will not exist on Gogs, so the plan must say how they are handled before any switch-back. Rehearse the switch-back steps in a test before cutover. The step is done when the platform owner signs the cutover checklist and the rollback steps have been rehearsed.

Where Git forge projects usually run long

Sign-in is usually the first place these projects stall. Gogs lists LDAP, SMTP, PAM, OAuth 2.0, OpenID Connect and SAML 2.0 as sign-in options, with some marked as in development, so the first check is which method your build supports for production use. Test a real login against your identity provider with a group of ordinary users, including one account that should be denied access. Confirm how provider groups map to organization roles, whether accounts are created on first sign-in, and what happens to existing local accounts once external sign-in is enabled. Gogs also lists MFA and passkeys, so confirm how they interact with the external provider before users move over. Then check migrated history on a copy of the repositories: compare commit counts, tags, branches and LFS objects against the source, and fetch a large file from a clean clone.

Webhooks and the systems that consume them are the next long tail. Gogs lists webhooks and a REST API, so every consumer that receives push or pull request events needs its endpoint, secret and event selection checked again after the move, since hostnames and certificates often change. Build servers, chat notifications, deployment triggers and scripts that call the API with a personal access token should each receive a test event from the new instance. Write a list of every consumer before cutover and record which ones depend on a specific API path or response field. Check that the LFS endpoint in each client configuration resolves. Gogs marks Actions and packages as in development, so any pipeline or registry dependency running elsewhere needs a documented replacement plan before the date is fixed.

If the target is Forgejo, add a separate track for CI. Forgejo Actions is a built-in system that hands workflows to separate runners. It is designed to be familiar to GitHub Actions users, but it is not compatible with GitHub Actions, so existing workflow files need review, and their actions, expressions and runner labels should be tested on a runner you operate. Plan the runner hosts, their network access to the forge, how they register, and where build caches live. Confirm the runner setup in your own environment before you commit to a cutover date. Also choose a Forgejo release you can keep patched: v15 is the LTS release supported until July 15, 2027, while stable releases get a shorter support window, so compare the window with your upgrade cadence. The Forgejo Actions overview is the natural starting point for the runner model.

What buyers ask before they hire help with Gogs or Forgejo

What drives the cost and effort of a Gogs or Forgejo rollout or migration?

Scope and dependencies drive most of the cost, and the work splits into one-time setup and recurring operations. One-time work covers choosing the database (PostgreSQL, MySQL or SQLite3 are the options listed for Gogs), setting up sign-in through your identity provider, configuring backup and restore, moving repositories, issues and access settings, rewriting webhooks and CI pipelines, and hardening the host. Recurring work covers upgrades, patching, backup restore tests and monitoring. Effort rises with the number of repositories, the number of pipelines that depend on the current forge, and the number of integrations. Your team needs a named owner for the database and network, someone who can approve the SSO configuration, and people who know which repositories matter. Ask for a quote built from a written scope that lists deliverables, environments, handover and any retest.

Can our own team move from Gogs or Forgejo without outside help?

Yes, a team with Linux, database and Git administration experience can often handle a small move alone, and most of the risk sits in planning and testing. Start on a test instance, restore a copy of the database, migrate a few representative repositories, then check sign-in and access for each group. Outside help usually adds value when the move covers many repositories, unusual SSO setups, CI pipelines that need rewriting, air-gapped hosting, or evidence that an auditor will review. An outside team can also write the runbook, rehearse the cutover and document backup and restore so your staff can operate the platform after handover. Decide based on how many people have done this before and how much downtime the business will accept.

Does Gogs or Forgejo have a paid edition to buy?

Both projects are open source, and the license terms in each repository are what you accept when you deploy. Gogs is MIT licensed, and Forgejo is GPL-3.0-or-later from v9.0 onward, with earlier versions under MIT. Confirm in writing with the maintainers and any commercial vendor whether a paid edition, support contract or hosted option exists, what it covers, and whether it changes the terms you accept. For Forgejo, ask how governance and domain ownership are arranged, since Codeberg e.V. owns its domains while project governance stays independent. Paid services from DeployOpen are a separate engagement that covers implementation and support on your infrastructure, quoted from a written scope.

Which Forgejo release should we deploy, v15 LTS or v17.0.0?

For production, choose the v15 LTS line, which is supported until July 15, 2027, unless you have a specific need for features in v17.0.0. Forgejo v17.0.0 was released on October 15, 2026 and reaches the end of support on January 28, 2027, so a deployment started on it now would need an upgrade before that date. Stable releases receive full support for three months plus a two-week window, while LTS releases get critical bugfixes and security support for one year and three months. Check the Forgejo releases page on the day you install, because point releases can change the details. Before go-live, confirm your upgrade path from the chosen line to the next one, including database steps, plugins and any custom templates.

Do Forgejo workflows run unchanged from GitHub Actions?

No. Forgejo Actions is a built-in CI system that sends jobs to separate runners, and it is designed to feel familiar to GitHub Actions users, but it is not compatible with GitHub Actions. Expect to review every workflow file, the runner labels, the secrets and variables setup, and any third-party actions your pipelines call. Simple build and test jobs often need small syntax and runner changes, while workflows that depend on GitHub-hosted runners, GitHub APIs or marketplace actions may need rewrites. Ask for an inventory of pipelines before you scope the work, and run a sample of them on a Forgejo runner in a test environment. Confirm current feature support in the Forgejo Actions documentation for the version you plan to run.

Does Gogs publish a release support policy I can check?

Check this before you commit: look for a documented support policy in the Gogs repository and its release pages, then ask the maintainers in writing which release lines receive security fixes, for how long, and how upgrades are handled. Gogs is MIT licensed, so your team can maintain a fork if upstream support does not meet your needs, but that moves patching, testing and vulnerability triage onto your staff. The Gogs README marks Actions and packages as in development, so confirm the status of any feature your plans depend on. If a vendor risk review needs a dated support window, make it a written requirement in the scope document and do not assume one.

How DeployOpen helps you choose and run a Git forge

DeployOpen is a Chainscore Labs company that plans, implements, hardens, backs up, upgrades and supports self-hosted open-source platforms inside your own cloud accounts, data centers or air-gapped networks. For Gogs vs Forgejo, we start by matching the license, feature needs and operating effort to your environment, then build only what the written scope covers.

How we scope

  • We confirm the license terms for each candidate, including Gogs under MIT and Forgejo under GPL-3.0-or-later from v9.0 onward.
  • The written scope lists the features you need, such as CI or a package registry, and what is excluded.
  • Engagements are fixed-scope, with deliverables and timelines agreed in writing before work starts.

How we build

  • We set up the database for your chosen engine, such as PostgreSQL, MySQL or SQLite3 for Gogs.
  • We configure sign-in through your identity provider, confirming which methods each platform supports in your version.
  • We run security testing on the deployed instance, including repository permissions, webhooks and the REST API.

How we hand over

  • We document the install, the backup and restore procedure, and the upgrade steps for your chosen version.
  • We rehearse backup and restore from the command line before handover, using the tooling each platform provides.
  • We deliver the scoped controls and evidence in writing for your compliance team to review.

How we support

  • Ongoing support, upgrades and continuous testing are available as retainers, covering version changes as they arrive.
  • Forgejo's LTS release v15 is supported until July 15, 2027, which sets one upgrade window to plan around.
  • Gogs release and maintenance status should be confirmed at scoping, since Actions and packages are still marked in development.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.