this post was submitted on 11 Nov 2023
2 points (75.0% liked)

Self-Hosted Main

511 readers
1 users here now

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.

For Example

We welcome posts that include suggestions for good self-hosted alternatives to popular online services, how they are better, or how they give back control of your data. Also include hints and tips for less technical readers.

Useful Lists

founded 1 year ago
MODERATORS
 

Hi, i'm a software developer and i want to implement a self hosted git server on my home server. I hear about gitea, gogs, gitlab, GitBucket, kallithea, etc... but i don't know how choose.

top 20 comments
sorted by: hot top controversial new old
[–] [email protected] 3 points 1 year ago

Forgejo maybe? (Gitea fork)

https://forgejo.org/faq/

[–] [email protected] 2 points 1 year ago
[–] [email protected] 2 points 1 year ago

I recently moved from gogs to gitlab. Mostly for the built in CI. Pretty happy with it. Install one, and try it for a bit, only way to know if it suits you. Its not too hard to switch between them if you have to transition later on, just git clone and repush to the new server.

[–] [email protected] 1 points 1 year ago

Gitea is what I use. I see a lot of recommendations for gitlab, but I have some experience with it as well as github and for the life of me I can't understand the gitlab people.

Do they not see the persistent and ridiculous bugs? Merge requests are ajax based and their initial load stage frequently shows errors like 'branch "master" does not exist' and then 1s later ajax loads and shows the MR. But then when you go to view the diff, half the diffs don't load and when you click on them they still don't load until you decide to click on somewhere else, then the page loads and highjacks your scroll to take you to god knows where.

Gitlab is a mess. If you just use it for yourself I guess it's fine, but if you're installing it for the web-frontend, literally any other git front-end is better.

[–] [email protected] 1 points 1 year ago

I use OneDev. I haven't tried anything else since I'm happy with it.

Things I like

Personal git server

Web interface

Automated Build pipeline

Ability to clone repos on github locally for my own copy. Given githubs reputation for deleting repos it doesn't like, this is a good way for me to have my own source server.

Always online, always available .

[–] [email protected] 1 points 1 year ago
[–] [email protected] 1 points 1 year ago

Just plain git over ssh does the job for me. Nothing else needed to "host" it.

[–] [email protected] 1 points 1 year ago
[–] [email protected] 1 points 1 year ago
[–] [email protected] 1 points 1 year ago

I used gitlab for a while, but it was a bit resource-heavy for my two whole projects. So just a heads up I suppose.

[–] [email protected] 1 points 1 year ago
[–] [email protected] 1 points 1 year ago
[–] [email protected] 1 points 1 year ago

I personally love onedev.

[–] [email protected] 1 points 1 year ago

I am currently experimenting with soft serve, which is just a terminal interface to git. Looks fairly nice so far, doesn't clutter my server and seems to run stable (at least the last week, just started testing). I also wanted to test gitea but this is just for my solo stuff and gitea looks like it would be overkill for that

[–] [email protected] 1 points 1 year ago

Gitolite is an excellent choice if you want to host multiple Git repositories and regulate access to them without any unnecessary bloatware. It focuses solely on Git repositories and access control. Setting it up is relatively straightforward.

[–] [email protected] 1 points 1 year ago

Gitea 👍🏻

[–] [email protected] 1 points 1 year ago

I am currently using Gitea and DroneCI, as well as Jenkins (on other servers). Gitea and DroneCI run well on my server with limited resources, and I mainly use them to host private projects and mirror Github repositories for backup.

Gitea's interface is relatively outdated, but I believe the community will have plans to renovate it in the future.

[–] [email protected] 1 points 1 year ago

Does gitea have gists or snippets yet? Or does Forgejo?

[–] [email protected] 1 points 1 year ago

In my opinion, Gitness, its very Good git ui server, for self-host with DI (https://github.com/harness/gitness)

[–] [email protected] 1 points 1 year ago

used bonobo for a while and was happy with it.