this post was submitted on 21 Apr 2025
36 points (100.0% liked)

Programming

19701 readers
265 users here now

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you're posting long videos try to add in some form of tldr for those who don't want to watch videos

Wormhole

Follow the wormhole through a path of communities !webdev@programming.dev



founded 2 years ago
MODERATORS
 

It seems that GitHub is being blocked in my region as well as other options from U.S. based companies (e.g. GitLab)

Where should I migrate my repos? Codeberg is an option as it’s Europe based so isn’t blocked in my region. Codeberg Pages is also nice to have. However, Codeberg seems to push for excluding proprietary software dependencies, which might limit the kinds of projects I can do.

Another option is to self-host Gitea, I could use my old laptop for that. Gitea doesn’t have a GitHub pages, but there seems to be third-party plugins that allow that. The downside with self-hosting (for me) is that it means I’m unable to collaborate with others (since it’ll be local) and I can’t easily share my projects. It will also probably be harder to set up.

What other options are there, or are these two the best options for me?

edit: decided on Codeberg, how do I make my static pages to work with Codeberg Pages? I've switched to a "pages" branch and the website doesn't work (https://username.codeberg.page/repo-name/)

How do I make static pages work with Codeberg???

you are viewing a single comment's thread
view the rest of the comments
[–] deathmetal27@lemmy.world 29 points 2 days ago (2 children)

Forgejo. It is a fork of Gitea.

[–] kensand@sopuli.xyz 13 points 2 days ago (1 children)
[–] scheep@lemmy.world 14 points 2 days ago (2 children)

how so? Is it easier to set up or have more features? What's the difference? please educate me :D

[–] 3h5Hne7t1K@lemmy.world 7 points 2 days ago (1 children)

Not sure if its better, did both and i havent noticed much difference. Forgejo runs codeberg though and is maintained by them. Also has CI with forgejo actions.

[–] mbirth@lemmy.ml 3 points 1 day ago (1 children)

And Gitea has Gitea Actions. The big difference - and also the sole reason ForgeJo was forked - is that Gitea has a business behind it that allows them to sell support hours to other businesses. And then use the money to progress Gitea. Similar to how Zabbix and others do it. But the community decided that this is a bad thing and moved to ForgeJo.

[–] Dunstabzugshaubitze@feddit.org 12 points 1 day ago (1 children)

gittea ltd was founded without adhering to the governance model gittea had and also claimed copyright on atleast the name and logo of gittea. many felt a non-profit would be a better way to organize development and thats how codeberg e.v. came to be.

the problem is not, and never was offering support and service against money, you can right now start selling forgejo if you'd desire to, it was allways about how the project itself should be organized.

[–] mbirth@lemmy.ml -2 points 1 day ago

While a non-profit sounds very honourable, I personally think Gitea has the more future-proof model. In fact, Gitea Actions was something they got commissioned for and were allowed to open source it as well.

This is basically how I think about it. (Not my comment.)

But we’ll see…

[–] mbirth@lemmy.ml 0 points 2 days ago

how so?

I'd like to get educated as well, please. So far, ForgeJo doesn't seem to have any specific advantage over Gitea. (And the name couldn't be worse...)

[–] scheep@lemmy.world 6 points 2 days ago (1 children)
[–] kensand@sopuli.xyz 8 points 1 day ago (2 children)

https://forgejo.org/compare-to-gitea/

CI actions and actually being free software are my main notes, but there are many reasons.

[–] scheep@lemmy.world 2 points 1 day ago* (last edited 1 day ago) (1 children)

wait...how is forgejo developed on forgejo? If there is no forgejo to begin with, how did they begin developing?

edit: maybe they switched from github to forgejo a bit later?

[–] kensand@sopuli.xyz 5 points 1 day ago (1 children)

This process is called 'bootstrapping', and is actually quite common in software. For example, the C compiler is written in C. The first iteration of the C compiler was written by hand in assembly code with a very limitted feature set, and that compiler was then used to compile the next iteration, allowing the second version (I'm not sure it was actually the second version; there may have been a few iterations in assembly) to be written in C itself.

For Forgejo, you dont actually need Forgejo to build Forgejo; just a computer with the Go compiler and any other dependencies. Then, once you have the first version, you can publish the code you have on Forgejo. Nothing too crazy there 🙂

This also leads to 'dogfooding', which is a whole other term...

[–] scheep@lemmy.world 1 points 1 day ago