Skip Navigation

Selfhost your own gitea instance - selfhosted, lightweight github alternative

I've recently set up my own Gitea instance and I figured I'd share a simple guide on how to do it yourself. Hopefully this will be helpful to anyone looking to get started.

If you have any feedback please feel free to comment it bellow.

36 comments
  • There's been a hostile takeover at Gitea and it's now run / owned by a for-profit company. The developers forked the project under the name Forgejo and are continuing the work under a non-profit. See also: Their introduction post and a page comparing the two projects. Feel free to look up more, since I haven't familiarized myself with the incident all that much myself. Either way though, maybe consider using Forgejo instead of Gitea.

    • Hostile not quite, as it was a group of core developers. But still a shitty move, especially how it was done in secrecy and disregarding other devs and the larger community.

      • Perhaps not a takeover so much as a betrayal, a backstabbing? Certainly hostile to the community.

    • That's not what happened at all.

      Forgejo is actually the one in the wrong. It's an hostile fork that exist only because 3 devs were mad that they weren't hired by the company created so that the core devs of Gitea could do it full time.

      You're just repeating their lies.

      The Forgejo people never "owned" Gitea.

      • Could you please provide some sources for that? I'd like to know more.

        First of all though, there is no such thing as a "hostile fork". Being able to fork a project, for any reason, is the entire point of open source. And to be fair, not wanting to continue working for a for-profit company for free is a very good reason.

        And yeah, when you suddenly turn a FOSS project that's been developed with the help of a bunch of contributors, into a for-profit company, without making a big fuss about it beforehand and allow the contributors and community to weigh in, then yeah, that's a hostile takeover of sorts, at least in my opinion. Developers gotta make money, but they could've done that by creating a new brand instead of taking over that of a previously completely FOSS project. Forgejo is preventing that exact thing from happening by joining Codeberg (a non-profit).

  • I intentionally do not host my own git repos mostly because I need them to be available when my environment is having problems.

    I make use of local runners for CI/CD though which is nice but git is one of the few things I need to not have to worry about.

36 comments