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???

      • sbird@lemmy.worldOP
        link
        fedilink
        English
        arrow-up
        0
        ·
        5 days ago

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

        • 3h5Hne7t1K@lemmy.world
          link
          fedilink
          arrow-up
          1
          ·
          5 days ago

          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
            link
            fedilink
            arrow-up
            0
            arrow-down
            1
            ·
            5 days ago

            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
              link
              fedilink
              arrow-up
              3
              ·
              5 days ago

              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
                link
                fedilink
                arrow-up
                0
                arrow-down
                1
                ·
                5 days 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
          link
          fedilink
          English
          arrow-up
          0
          arrow-down
          1
          ·
          5 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…)

        • sbird@lemmy.worldOP
          link
          fedilink
          English
          arrow-up
          0
          ·
          edit-2
          5 days ago

          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
            link
            fedilink
            arrow-up
            1
            ·
            4 days ago

            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…

  • kensand@sopuli.xyz
    link
    fedilink
    arrow-up
    1
    ·
    5 days ago

    Since you’re a bit concerned about self hosting and collaboration, I would recommend Codeberg - they are a non-profit based in Germany with widespread support and, as far as I know, is the public Forgejo instance with the largest user base.

    If you want, you can also host your own Forgejo instance and mirror your Codeberg repos to it. That way you can have two copies of your data, just in case Codeberg ever goes offline.

    You could also potentially use Gitlab, but I would personally prefer something Forgejo based. Forgejo has been much more responsive/snappier in my opinion; Forgejo is primarily written in Go, while Gitlab is mostly Ruby.