github runs ms flavor of git web, while codeberg runs a fork of sorts of forgejo wich is fork of gitea.

You also forgot gitlab. bit bucket? I dont trust my personal code with any of these.

You can host gitea, forgejo, gitlab (as far as i have tested), not sure about bit bucket.

Github has many things i dont use, like CI/CD, Gitlab has them also and follows kinda close to github, you can if you want, really customize all of your actions etc. While i dont use these, and just push my commits, it dont matter wich one to use.

Ofc there are terms of service so depending on what you use your milage may vary.

Imo, self host is the only way. If you want to publish the code then gitlab, or if you dont mind the old bill snooping around with his AI eye then github.

Forgot to mention, compared to gitlab (selfhosting) gitea/forgejo uses like very very little resources. I ran gitlab for half a year, but it used too much of my ram and cpu, so then i found gitea, wich ran like only on 100mb ram and practically idle, then i found out that gitea sold out to corpos, and will have the same fate as other so called open source projects that turned into for profit projects, so people rallied up and forked it into forgejo. So i moved to forgejo (selfhost) - same repos from gitlab -> gitea -> forgejo. So far no problems πŸ™‚

Also if youre shady then you can host some "hot" code on https://git.hackliberty.org/explore/repos - they run same gitea

    kuligs2 Imo, self host is the only way. If you want to publish the code then gitlab, or if you dont mind the old bill

    Categorically opposed. That's why I'm asking.

    But it is still quite difficult for me to lift and customize it myself. It is probably possible in the future.

    Codeberg appears to be having quite a dubious and unclear policy on hosting private repos. In my book that makes it pretty much useless.

      Megalomaniak A NAS, UPS and a good internet connection.

      That's an option I'm considering. Except that instead of NAS is supposed to be a server on Core-i7-950(LGA1366)/12Gb RAM, you can even shove a SAS- drive… but the "home server" has extremely ephemeral reliability. Optics to the apartment gives a pretty decent speed, but will it be enough and how reliable in the current realities...

      xyz Codeberg appears to be having quite a dubious and unclear policy on hosting private repos.

      What's so dubious about it? Very attractive description on the site, but it is quite possible that I missed something.

      I couldn't figure out what "book" had to do with it. 😹 But DeepL, explained it to me. After all, it's two or three heads above Google in translation. But Google can translate entire pages.

      kuligs2 Many thanks for the detailed answer. I want to first understand what exactly I will need before I start building my own server.

        Tomcat What's so dubious about it?

        Well it discourages it but talks about it using some sleazy weasel wording. I don't like that. They should be up front with how much private space you can have under which specific conditions. Instead they have suspiciously ideological sounding mumbo jumbo:

        Can I use private repositories for my project?
        In many cases, yes, but please read on. Our goal is to support Free Content, and we do not act as a private hosting for everyone! However, if we see that you contribute to Free Software / Content and the ecosystem, we allow up to 100 MB of private content for your convenience. Further exceptions are spelled out in our Terms of Service:
        Private repositories are only allowed for things required for FLOSS projects, like storing secrets, team-internal discussions or hiding projects from the public until they're ready for usage and/or contribution.
        If you are still not sure if your usage is allowed or if you require a lot of private space for a Free Software project, please send us a formal request and we'll have a look.

        I couldn't care less about any service that beats around the bush like this while tacitly trying to force you to only use public repositories. But maybe it's just me because I have zero needs for public repos.

          Tomcat

          Tomcat Many thanks for the detailed answer. I want to first understand what exactly I will need before I start building my own server.

          Well i started with a pc, no UPS because it has no spinning drives. But 95% of the server uptime it will idle, so choose stuff that idles at low power consumption. Typical pc will idle at 50w, laptops 25w. raspberrypi 5w or less,

          Half year later i upgraded to a https://eu.protectli.com/vault-6-port/ the i5 model, with 32gbram, it has 2.5gbe ports so you can use it like a router too. And i run proxmox host system thats like a hypervisor where you can create VMs or LXC containers, that are like vms but closer to docker containers that uses less system resources *in image the green ones are running 24/7), and my host resources


          and power usage is around 20-25w at idle.

          I offload backups on to NAS (separate device) so thats why i have lots of HD space left.

          Im very happy, its fanless, it gets hot to touch but its nominal.
          I do updates once few weeks, and reboot it after updating too, just in case. There has been moments where the device was throwing blue screens πŸ˜ƒ but i swapped ram into other ram slot and never had problems since then. Been online for 3 months now, previously it was online 2 months and then started to do funny stuff..

          Reliability, well you have to keep an eye out on that yourself, dont depend on it if you run it from your apartment, but its usable for personal use. To me i cant function without this πŸ˜ƒ. I go to work, and want to access my projects, in past i had to keep them on usb drive, copy over and stuff, now either git pull, or just use syncthing without git (living on the edge) πŸ˜ƒ. YOu boot up pc that runs syncthing and it automagically sync files. Dont need to do anything πŸ˜ƒ. Dont forget to set up VPN ( some ISPs block certain ports or packet traffic so you will need to figure that part out when you start meddling with it) M isp blocks email and some game ports, so i have to use other ports for game hosting πŸ™‚.

          If you need help, i can be of use, because i had to learn these things myself through trial and error πŸ˜ƒ.

            xyz I don't like that.

            we allow up to 100 MB of private content for your convenience.

            When it comes to specific numbers, in the vast majority of cases the situation is dramatically clearer and different.

            Right now my project takes up 253 MB. And there is actually nothing, you could say, of the main stuff there yet. Only for the code, the space is probably enough, but I need access to the sources: models (meshes), textures and animations. Well, their proposal looks at least not serious.

            And, yeah, the wording is extremely unclear.

            kuligs2 If you need help, i can be of use, because i had to learn these things myself through trial and error

            Huge thanks. Yeah, I'll need help and I'll come to you.

            Dont forget to set up VPN

            But I have a specificity β€” in the country I live in, VPN is blocked. Fortunately we don't have "The Golden Shield Project (Great Firewall of China)" (which was created by Cisco and our local developers are quite dumb - the smart ones have left) and it is often possible to get around the restrictions, but there are problems and they are getting bigger as time goes on.

              Tomcat you need to read upon what they mean VPN. VP is a gateway to access other networks, similarly what your local ISPs do, they access other networks..

              In any case VPN here is for accessing your self hosted machines/e-machines securely. YOu just need to forward one port for VPN and through VPN server that is hosted on your device you access your home form any place in the world..

                kuligs2 you need to read upon what they mean VPN.

                I know what a VPN is. 😺 I studied it when blocking was first introduced in our country.

                On March 1, 2024, "an order will come into force, according to which VPN services that provide access to sites banned in Russia will be blocked by Roskomnadzor"…

                I had the choice of using VPN or TOR.

                Megalomaniak For private projects.

                That's obvious, but what's the reason for using a service like github? You can use git on your local platform if your only need is version control.

                  DaveTheCoder like the most of us, im guessing, we work from multiple locations - work, office, home etc etc. Not all people carry laptops around, so the best way to keep in sync is to use a git service thats hosted somewhere.

                  DaveTheCoder That's obvious, but what's the reason for using a service like github? You can use git on your local platform if your only need is version control.

                  Backup, access from various machines and for collaborators, project management and communication features, not needing to mess with server side setup, etc.. I didn't say I need only version control. By "private" I meant invisible to everybody who doesn't have the access.

                  I have been very happy with using Gitlab for all my Godot projects. The only time it didn't quite fit was when I was working on a project with more than ~5 people. After working with enough people, getting things in working order with new contributors has been fairly straightforward. Best to avoid re-uploading huge assets though (big textures... ect) or it will eat up your memory. I also am a fan of just microsoft's oneDrive which keeps my stuff backed up on multiple devices.

                  I initially chose Gitlab b/c it seemed to align better with open-source happy feelings.

                    Erich_L gitlab cant be trusted https://www.theregister.com/2022/08/04/gitlab_data_retention_policy/ it wanted to pull a unity/ubisoft/ adobe on its users.. The people pressured them but for how long.. eventually corpos will do whatever they want..

                    Self host is the only way.. also forget onedrive, use syncthing..all you need is a server (physical machine), Or if you never turn off your home pc then youre all set. Syncthing is as easy as just install, point to a folder, add other pc's via qrcode or key. thats it.. no port forwards, nothing, it just works πŸ˜ƒ

                      6 days later

                      kuligs2 That article is both old and just a rumor. I wouldn't suggest relying on any one service. I spent the day listening to data science podcasts and the there's a consensus that you'd better build your systems to not be too tied in to any one service. I use two services which means one can be a backup (either onedrive or gitlab).
                      The onedrive subscription gives me access to office apps which I enjoy, and I also enjoy how easy onedrive is to setup on all my devices.
                      There's so much work on my plate I unfortunately have no desire whatsoever to self-host anything.

                        Erich_L I completely understand the lazyness to mess with self host stuff.. i hate when things suddenly break for no reason too.. But you gotta think what kind of data you create and store, if its sensitive or personal, why would you want to store it on someones else computer?

                        And lately corporations are just being too scummy about their products. Look at adobe, SNOY, the list goes on..