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
3M

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

@Rizilia@lemmy.zip
link
fedilink
English
53M

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

@drspod@lemmy.ml
link
fedilink
English
83M

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
43M

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

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

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

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

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

slazer2au
link
fedilink
English
373M

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.

Neshura
link
fedilink
English
193M

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.

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

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
32M

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

@PlexSheep@infosec.pub
link
fedilink
English
12M

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

zelifcam
link
fedilink
English
23M

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!

  • 1 user online
  • 124 users / day
  • 419 users / week
  • 1.16K users / month
  • 3.85K users / 6 months
  • 1 subscriber
  • 3.68K Posts
  • 74.2K Comments
  • Modlog