this post was submitted on 15 Jul 2023
25 points (83.8% liked)

Selfhosted

39893 readers
357 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.

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!

founded 1 year ago
MODERATORS
 

To use with Git

top 28 comments
sorted by: hot top controversial new old
[–] [email protected] 27 points 1 year ago
[–] [email protected] 24 points 1 year ago (1 children)
[–] [email protected] 5 points 1 year ago

Gitea here for me too, works a treat

[–] [email protected] 24 points 1 year ago (1 children)

I mainly just use bare SSH and/or point my web server to my repos as I don't really need a whole UI for stuff I'm pretty much the only one that will ever use it.

I feel like it's a git feature that's often overlook by those that have only used to GitHub/GitLab/Gitea before. Git was originally designed to just be a folder on a server you have SSH access (read-write) or HTTP(S) access (read-only).

I've used Gogs and Gitea in the past but found it overkill for my needs.

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

Exactly what I do. Unless you need fancier collaboration features--issue tracker, UI for handling PRs, etc--a bare repo on the other side of ssh plus something like cgit if you want to make the code available via a browser is perfectly sufficient.

[–] [email protected] 17 points 1 year ago (2 children)

Gitea.

I used raw SSH for years but occasionally I had to share accesss to a repo with sonebody else, and the whole dance with creating an unix user and giving proper permissions was only fun for the first time.

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

I second it.

Easy to setup and use. Works great for my small game projects.

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

To make this easiert, you could have used gitolite 🙃 That was my first attempt in 2010 or something and it worked fine.

[–] [email protected] 12 points 1 year ago (1 children)

I started on Gitlab, which was a monster to run. I moved to Gitea, until the developers started doing some questionable things. Now I'm on Forgejo (a fork of Gitea).

[–] [email protected] 7 points 1 year ago (1 children)

Can you elaborate on what questionable things they did? I am thinking of hosting my own gitea instance

[–] [email protected] 4 points 1 year ago (1 children)
[–] [email protected] 1 points 1 year ago

Thank you for the resource that's really unfortunate to read. Are there any major differences between gitea bad forgejo? If not I will probably go with forgejo then

[–] [email protected] 11 points 1 year ago* (last edited 1 year ago) (1 children)

Gitea. Because, I don't know when Big Brother will decide to snoop or takedown my repositories

But the biggest dilemma I face is everyone's on GitHub, not on my little Gitea instance. I think I should use GitHub for my public repositories where I need collaboration. Anyway, that's a different issue

[–] [email protected] 3 points 1 year ago (1 children)

@activator90
https://forgejo.org/ is attempting to solve that problem. If we all adopt it (or other federated forges that may appear), we don't need GitHub at all.

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

Holy shit, federation and external sign in on git! We live in truly exciting times

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

Personally, I use Gitea. My needs are simple though and I probably don’t use 99% of what it can do.

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

The only selfhosted github I know about is github enterprise.

If you just want to host git repos, gitea, and gitlab are good. You don't need that to host git though, git is peer based and doesn't require a fancy dashboard to work.

[–] [email protected] 3 points 1 year ago* (last edited 1 year ago) (1 children)

I have used Gogs and Gitea in the past, now Forgejo is a fork of Gitea with Woodpecker-CI

[–] [email protected] 1 points 1 year ago (1 children)
[–] [email protected] 2 points 1 year ago (1 children)

Can automate anything you want, a website or wiki use it to roll out any new changes automatically and others use it to test their software. Connects to Gitea/Forgejo as a third party application and requires that it be granted the appropriate permissions in the Settings -> Applications column.

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

I've had gitlab/gitlab-ce running on my NAS for 6+ months and it's been reliable, mostly as a central repository and off-device backup. It has CI/CD and other capabilities (gitlab/gitlab-runner, etc), but I've not implemented them.

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

I used many of them and settled for bare repos on an host with ssh access

  • gitea / gogs: too many database corruptions I am getting ptsd just talking about it
  • gitlab: too big, too resource hungry for something so simple. Didn't use 90% of the stuff that offered
  • gitbucket and onedev: those are very good and are sort of setup and forget because they just work. They have different features set so check them out.

In the end given that I just have a bunch of users and don't need many fancy features (we share patches over email and matrix) on our community server we are just using ssh and klaus as a web frontend

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

If you want a way to self host git (not github) repositories you can check this list https://www.slant.co/topics/1440/~best-self-hosted-web-based-git-repository-managers

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

https://gitolite.com/

It's basic SSH-based git, but also allows you to manage permissions for users and groups based on their SSH keys. You do all configuration by editing a file in the adminstration repo and pushing those changes to the server. I don't want a web interface or any heavy service running all the time so this suits me perfectly.

[–] [email protected] 1 points 1 year ago (1 children)

You can use gitlab. Big and feature rich. or gitea - small neat and have all important features. With gitea add something like "woodpeaker" for CI

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

@TheHolm
You may want to check out https://forgejo.org/. It's a fork of Gitea that's Fediverse-enabled.
@GatoB

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

I use stagit. It runs whenever I push code to a repo, and then serves everything as static HTML pages.

It only provides a web interface for git repos though, and for the master branch.

load more comments
view more: next ›