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.
Submitted 2 months ago by 4rkal@lemmy.world to selfhosted@lemmy.world
https://4rkal.com/posts/gitea/
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.
But check that it has all the features you need because it lays behind gitea in some aspects (like ci).
It’s also ahead of gitea in some aspects: forgejo.org/faq/#is-there-a-roadmap-for-forgejo
Doesn’t matter if those features are doomed to be locked behind a paywall shortly
Why?
In 2022, maintainers (…) founded the company Gitea Limited with the goal of offering hosting services using (proprietary) versions of Gitea. (…). The shift away from a community ownership model received some resistance from some contributors, which led to the formation of a software fork called Forgejo. From Wikipedia.
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.
I started running my own Gitea instance because I wanted a private place to host my Obsidian notes.
I don’t have the time to read the article now, but permit a question: what do you use Gitea for?
I’m holding my dotfiles on a SSH server, clone/push over SSH, and it’s enough to do Git. I don’t need a ticket system, or wiki or anything (I use plaintext notes).
$ cat ~/.ssh/config Host srv Hostname srv.mywhatever.com $ git clone srv:/path/to/repo $ cd repo $ git push
Great question
I always found setting up a git server from scratch to be quite confusing and I also like the webui that gitea offers.
But recently I have also started moving some of my github projects there so having a link (with a readme and everything) that I can share with others is important.
I’m hoping federation will allow me to get rid of my github entirely, but that’s wishful thinking I fear
Sidenote: If you just want a nice web frontend for others to view your Git repositories, you can use cgit instead.
cool guide love stuff like this
copygirl@lemmy.blahaj.zone 2 months ago
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.