what is the best alternative to github ? my main requirements are that

  1. it should be free, and
  2. it should not go down or get discontinued anytime soon
@cult@lemmy.ml
link
fedilink
17β€’
edit-2
21d

Let’s do em all!:

  • GitHub: most mature/reliable
  • GitLab: the most popular and mature GitHub alternative. Generally seen as a more ethical alternative since it’s not owned by MS and is open-sourced, but is still criticized for it’s open-core business model
  • Bitbucket: the β€œthird party” of the bunch that’s no better than the first
  • GitTea: the β€œfourth party” that’s actually cool but kinda not quite there yet. Worth keeping an eye because it’s the most likely to integrate with ActivityPub soon
  • Gogs: great, but you need to self-host. GitTea is just a community hosted fork of Gogs
  • SourceForge: wow, they’re still around?
  • Codeberg: centered around open-source projects only. Managed by a non-profit org
  • Launchpad: run by Canonical (Ubuntu), has a lot of other features/goals than just hosting code
  • GitBucket: a self-hostable GitHub clone written in Scala
  • NotABug: another β€œliberated” version of Gogs
  • Radicle: imo, one of the most interesting alternatives to look at. It’s unique in that it’s build on p2p technologies. Unfortunately, it seems quite coupled with many projects in the web3 space
  • Pagure: RedHat developed git forge that can be selfhosted
  • Phorge: community fork of Facebook’s internal Phabricator forge tool which was deprecated in 2011 but got a lot of things right that GitHub is often criticized for
  • Heptapod: Gitlab modified to work with Mercurial
  • Fossil: self-contained small team collaboration tool doing its own thing entirely
  • Kallithea: git and hg web frontend with code review functionality (community fork of Rhode code)
  • RhodeCode: git and hg frontend (original codebase where Kallithea forked off)
  • Sourcehut: email centric git frontend

Would love to see other people’s one-liner blurbs on these as well

EDIT: added additional alternatives and comments (thanks @poVoq@slrpnk.net especially)

poVoq
link
fedilink
6β€’
edit-2
22d

Gitea is really worth looking into because it is the one most likely to get working ActivityPub federation soon. But recently there was some controversy about them forming a for-profit company and collecting VC funds, so probably places like Codeberg will switch to a community run fork soon.

poVoq
link
fedilink
5β€’
edit-2
22d

There is also:

  • Pagure: RedHat developed git forge that can be selfhosted
  • Phorge: Community fork of Facebook’s internal Phabricator forge tool
  • Heptapod: Gitlab modified to work with Mercurial
  • Fossil: self-contained small team collaboration tool doing its own thing entirely
  • Kallithea: git and hg web frontend with code review functionality (community fork of Rhode code)
  • Rhode code: git and hg frontend (original codebase where Kallithea forked off)
  • Sourcehut: email centric git frontend
@cult@lemmy.ml
link
fedilink
2β€’21d

Ah didn’t realize there was a Phabricator successor, thanks, will add these and your comments on GitTea to the main post

@kixik@lemmy.ml
link
fedilink
1β€’21d

I’ve been looking for a p2p alternative, which would allow a simple workflow. So I had some hope when noticing radicle. But it builds on top of the blockchain hype, I’m afraid. This cryptopedia post shows things I really don’t like.

It’s true git itself is sort of distributed, but trying to develop a workflow on top of pure git is not as easy. Email ones have been worked on, but not everyone is comfortable with them.

A p2p using openDHT would have been my preferred approach. But any ways, I thought radicle could be it. But so far I don’t like what I’m reading, even less with whom they are partnering:

Radicle has already partnered with numerous projects that share its vision via its network-promoting Seeders Program (a Radicle fund), including: Aave, Uniswap, Synthetix, The Graph, Gitcoin, and the Web3 Foundation. The Radicle crypto roadmap includes plans to implement decentralized finance (DeFi) tools and offer support for non-fungible tokens (NFTs). With over a thousand Radicle coding projects completed, this RAD crypto platform has shown that it’s a viable P2P code collaboration platform, one that has the ability to integrate with blockchain-based protocols.

Perhaps I’m just too biased. But if there’s another p2p, hopefully free/libre SW, and non blockchain, then I’d be pretty interested on it…

@lynndotpy@lemmy.ml
link
fedilink
0β€’22d

I can vouch for GitLab. I first heard of it in the self-hosted context. If it goes down, it’ll either get the community supporting it (open source), or at the very least, a plethora of β€œGuide to GitLab alternatives” style-posts.

All the alternatives! Gitlab is the most ubiquitous alternative in the privacy community I’ve seen. Seems to work quite well.

@Echedenyan@lemmy.ml
link
fedilink
5β€’
edit-2
22d

GitHub is propietary software (which goes agaisnt this community).

GitLab.com instance runs GitLab Enterprise Edition which is propietary. TeDoMun offers an instance using the Community Edition which is FLOSS.

I would recommend SourceHut (sr.ht) or Gitea (codeberg.org, git.disroot.org, etc)

Dessalines
link
fedilink
15β€’23d

NLNet (the same org that funds lemmy development and a lot of other great open-source projects), has funded to make gitea federated, but so far there hasn’t been much movement on it afaik.

Gitea is already far better than github, but because it lacks federation, you have to make tons of accounts on each different server.

if the admin has turned on the option, folks can log in with github or gitlab or discord or a community OAuth/LDAP/etc server.

full federation will be great, but there’s technically more options than just β€œtons of accounts” right now already.

can’t find docs, but the web admin interface makes it pretty easy to set up.

Dessalines
link
fedilink
7β€’
edit-2
23d

I do like codeberg a lot, but unfortunately they are harsh with taking down torrent-related projects. I had to move a few of my repos off there bc of it.

@hfkldjbuq@beehaw.org
link
fedilink
9β€’
edit-2
22d

https://codeberg.org which is a non-profit organization. It is free of charge, so it is democratic enabling people to use its services. You can even join the foundation https://join.codeberg.org/

BUT it uses Gitea, which registered two for-profit companies in Hong Kong… Codeberg is soft forking it because the now Gitea shareholders / trademark owners made it clear they want to maximize profits.

If you care about promoting a democratic platform for everyone, do not use sourcehut. They will charge later on; their current free model enables both gathering users (potential clients) and making you a free tester/qa for them. I believe β€œfinancial aid” is undemocratic; free should be default. If anything, it should just require commercial, for-profit entities to pay; because then by default there is no processual need for β€œfinancial aid”. We should not trust any for-profit, commercial organization anyway for such important services/platforms (version control system hosting is crucial).

From the beta onwards, unpaid accounts will be limited to read-only access to their own projects. Affected users will be emailed at least 60 days in advance of the transition. Users who host their own instance of Sourcehut, on their own servers, will be unaffected by this. Additionally, financial aid will be provided to those who cannot pay; no one is going to be priced out.

β€”https://sourcehut.org/alpha-details/

poVoq
link
fedilink
0β€’22d

I think you are doing sourcehut injustice as it is pretty much a β€œone guy” run service trying to make it an income generating job for himself. Asking for subscriptions is not unethical in that regard and you pretty much get what you pay for in that case.

Personally I don’t like sourcehut much because it relies too much on email and selfhosting it is a mess (but it is all FOSS) so I would not recommend using it, but overall it is not a bad service.

@hfkldjbuq@beehaw.org
link
fedilink
2β€’
edit-2
22d

He generating a job for himself is not what I criticize. I criticize promoting an undemocratic service for something so crucial that needs to be democratic which includes free service by default (otherwise you do not stand a chance against moving people out of GitHub and the like). I would never recommend to people in general a commercial and thus undemocratic service for key development (vcs).

And did it occur to you it is a β€œone guy” show probably because he wants it that way? That is prone to authoritarianism, and prone that sourcehut maintainer to make it a very profitable business just like GitLab and now Gitea unless founding a proper non-profit organization? A blog post about not being driven by profit is not enough; make it a proper non-profit registered organization.

In any case OP explicitly asked for a free service (which sourcehut in the future won’t be).

poVoq
link
fedilink
1β€’22d

You are making it sound like a β€œnon-profit” is a magical solution to running a service. All it does it adding some tax regulations and making it difficult for non-worker owners to extract rent profits. Most β€œnon-profits” are controlled by a few people that thus can decide their own salaries and make a profit any ways.

And there is no such thing as a β€œfree” service. Someone needs to pay for the infrastructure and operating costs one way or the other. It is just a question of how direct that payment is and if it is affordable by poorer people.

We have Codeberg. So there is no need in recommending sourcehut if the priority is promoting democratic services.

poVoq
link
fedilink
1β€’22d

Codeberg is nice overall, but I fear centralizing on them is a really bad idea (and there are signs of that happening already).

What are the signs? Gitea federation is being worked on. The Gitea fork is needed to address the Gitea for-profit issue.

poVoq
link
fedilink
1β€’
edit-2
22d

We are hosting 42010 repositories, created and maintained by 34042 users. Compared to one month ago, this is an organic growth rate of +3372 repositories (+8.7% month-over-month) and +2271 users (+7.1%).

https://blog.codeberg.org/letter-from-codeberg-hackathon-translation-service-more.html

I hope Gitea federation will reduce this trend, but for now this centralisation is not good at all.

@hfkldjbuq@beehaw.org
link
fedilink
1β€’
edit-2
22d

An issue I see is that public instances are not properly announced/listed.

and for sourcehut, i could not find anything.

I like to use this website when I want an alternative to what I’m using: https://alternativeto.net/software/github/

musicmatze
link
fedilink
2β€’22d

How about switching to https://www.opensourcealternative.to/ ?

@Tiuku@sopuli.xyz
link
fedilink
2β€’22d

Me too! While the site itself is not FOSS, it has a handy Open source filter when looking for alternatives.

another vote for Gitea - much easier to host than gitlab in my experience, lots of great features (e.g. it can work as a single sign on system for other apps, host docker images and PHP packages, and integrates well with Drone for CI/CD), and if you don’t wanna run it yourself I’ll also big up Codeberg as another person suggested

Jonny
link
fedilink
4β€’
edit-2
23d

Gitlab Community edition self hosted. E.g with my arm64 Docket Image. The source code can be found on my instance, gitlab and github πŸ™‚

Johnny Mojo
link
fedilink
2β€’22d

You can get a public ip address for it if you want to share/collaborate using noip or similar service and a few minutes setting up your router.

Lots of people say Sourcehut, and I agree. It may not always be free, but I believe it’s still free for OSS projects. All of the sourcecode is available, and the instructions for running your own servers is decent. It’s been around for years, and I’d be surprised if it went down; it’s never had an outage as long as I’ve been using it.

It has source repos, issue tracking, CI, mailing lists, and wikis. The pages are also lightweight, with little to no javascript.

You might find it ugly. It has no web-based PR/merge tooling (but has instructions on how to manage PR/merging using the mailing lists). It has a couple of restrictions on what kinds of projects you can host with gem (no cryptocurrency projects). It’s a developer’s tool, and built for people who have a fair amount of competency outside of web interfaces.

I love Sourcehut; I’ve been paying for it since before I needed to, and even though I’m not using it for commercial purposes… but it’s not for everyone.

@jbowen@lemmy.ml
link
fedilink
3β€’22d

I think the site is clean and pretty. I’ve also been paying for it for a couple of years now ($2/mo, I think). Hosting costs need to be covered somehow and if you’re not paying for it, then it’s likely data about you is being sold in some way.

@kixik@lemmy.ml
link
fedilink
1β€’
edit-2
22d

well, it seems soucehut will have a web based work flow, or so it seems from this postmarketos post:

We talked to Drew DeVault (the main developer of SourceHut) and he told us that having the whole review process in the web UI available is one of the top priorities for SourceHut

…

SourceHut is prioritising to implement an entirely web-based flow for contributors.

This things don’t happen in one day, so don’t hold your breath yet, but it seems it’s coming at some point…

Sure, and that would attract more people for certain. Current workflows are established and work really well, too.

weeezes
link
fedilink
2β€’22d
fuzzy
link
fedilink
1β€’22d

@Icarus surprised to not see cgit here yet. https://git.zx2c4.com/cgit/
free (libre) and fast, easy to host

@cult@lemmy.ml
link
fedilink
1β€’22d

What’s wrong with GitLab? Definitely the most mature alternative.

If you’re really interested in something that will not go down or get discontinued anytime soon, I’d also suggest taking a look at Radicle which is P2P and free

@Tiuku@sopuli.xyz
link
fedilink
7β€’22d

I believe that their open-core business model is the biggest con. New features aren’t guaranteed to land on the free version.

@cult@lemmy.ml
link
fedilink
2β€’21d

I see, I wasn’t aware. Thanks for the info!

musicmatze
link
fedilink
2β€’22d

GitLab was known to be a resource hog not too long ago. I cannot comment on its current state, as I don’t use it, but someone I know has to maintain an instance with a few developers and they have a cronjob to kill the system and reboot it every once in a while because GitLab eats the system if not restarted every once in a while…

@sizeoftheuniverse@lemmy.ml
link
fedilink
4β€’
edit-2
3d

deleted by creator

All about open source! Feel free to ask questions, and share news, and interesting stuff!

Useful Links

Rules

  • Posts must be relevant to the open source ideology
  • No NSFW content
  • No hate speech, bigotry, etc

Related Communities

Community icon from opensource.org, but we are not affiliated with them.

  • 0 users online
  • 8 users / day
  • 18 users / week
  • 74 users / month
  • 296 users / 6 months
  • 1 subscriber
  • 283 Posts
  • 1.05K Comments
  • Modlog