Selfhost your own gitea instance - selfhosted, lightweight github alternative | 4rkal's blog
4rkal.com
external-link
In this article I’ll walk you through how you can run your own gitea instance. But first What is gitea? Gitea is a painless selfhosted Git service. It is written in Go and is extremely lightweight. I run a gitea instance on my Le Potato and it barely uses any resources. Why use gitea (vs GitHub, GitLab etc) I started running my own Gitea instance because I wanted a private place to host my Obsidian notes.

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.

Neshura
link
fedilink
English
146
edit-2
1M

I’ll be that guy: Use forgejo instead, its main contributor is a Non-Profit compared to Gitea’s For-Profit owners

@4rkal@lemmy.world
creator
link
fedilink
English
191M

Silly question but what is the problem with gitea being for profit?

@9point6@lemmy.world
link
fedilink
English
651M

I guess out of fear that we get another gitlab situation, where the open source offering has a load of key features eventually kept behind a paywall

Neshura
link
fedilink
English
191M

As the other commenter already said it’s an abundance of caution. GItea is already moving in the direction of SaaS and an easily self-hostable solution runs counter to that plan (Gitea is already offering a managed Cloud so this is not a hypothetical). One thing that has already happened is Gitea introducing a Contributor License Agreement, effectively allowing them to change the license of the code at any time.

slazer2au
link
fedilink
English
371M

At some point they will do a Redis or Terraform and say no more open source, pay us to use it.

All contributions are now owned by us and not by the person who wrote it.

@Rizilia@lemmy.zip
link
fedilink
English
51M

Well I learned something new today… maybe its time to plan a migration

@drspod@lemmy.ml
link
fedilink
English
81M

I think for now Forgejo is a drop-in replacement. However since they are a hard-fork, at some point in the future they will diverge enough to be mutually incompatible, so the clock is ticking on migrating.

@Rizilia@lemmy.zip
link
fedilink
English
41M

From what I have read on the FAQ they already did a hard fork from Gitea version 1.21.11 on, which was earlier this year

https://forgejo.org/faq/#im-sold-are-migrations-from-gitea-to-forgejo-possible

@PenisDuckCuck9001@lemmynsfw.com
link
fedilink
English
9
edit-2
1M

Thanks, I always keep forgetting what this ones called. I use a build of gitea from before it became shit but I keep telling myself I need to change to “that better one”.

@bastion@feddit.nl
link
fedilink
English
31M

If it helps, it’s supposed to be a drop-in replacement.

@PlexSheep@infosec.pub
link
fedilink
English
11M

It’s a hard fork by now, but the switch should still be pretty painless.

zelifcam
link
fedilink
English
21M

Same. It’s been on my list for too long.

Create a post

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don’t control.

Rules:

  1. Be civil: we’re here to support and learn from one another. Insults won’t be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it’s not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don’t duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

  • 0 users online
  • 279 users / day
  • 589 users / week
  • 1.34K users / month
  • 4.55K users / 6 months
  • 1 subscriber
  • 3.49K Posts
  • 69.8K Comments
  • Modlog