← Back to context

Comment by EchelonFuxMe

8 years ago

1. Electricity cost 2. Need for constant electricity 3. Internet cost 4. Need for constant Internet access 5. Cost of hardware 6. Heat generated by the running hardware 7. Noise generated by the running hardware 8. Space occupied by the hardware 9. Need to update and maintain hardware/software 10. Worse discoverability for your repos 11. ISP asking questions 12. Government asking questions 13. Police asking questions

Then again, I live in a "developing" country so most of these might not be an issue for you.

This is a weird comment.

"Self-hosting" doesn't have to mean having a giant server farm at home. You could put it on an AWS/GCP/Azure free-tier VPS instance.

A lot of these would be problems anywhere. Reliability/uptime of electricity/internet is problematic everywhere, although noise/heat I don't see why it would really be much of a problem anywhere.

Most of these aren't an issue if you're self-hosting in the cloud though. You can cheap VPS for a couple of $ a month.

  • Can't afford it. $1 goes a long way here.

    • Not everyone will need to self-host, it is still possible to host your projects at someone else's instance. If you live in a place where $1 is a lot of money (where is this by the way?) you could either share a server with others who each chip in their $0.10 or just find an open instance somewhere. There are plenty of organisations which host services like these, Github is the best-known but by no means the only alternative.

  • Have you tried running GitLab on a $3 VPS?

    • Gitlab, no. Gogs [1] or Gitea [2], no problem. I run Gitea on an Intel SS4200 (2.4 GHz Pentium E2200, 2 GB, 8 TB JBOD), it hardly causes a blip on this rather anaemic system. The process generally takes up around 35 MB (RSS), it talks to a PostgreSQL database server on the same box. You would not want to run a service the size of Github on this but for a personal repository it is more than enough. If your projects get so popular that they outgrow the hardware or VPS just move to a higher tier.

      [1] https://gogs.io/

      [2] https://gitea.io/

    • For personal projects I find it sufficient to simply have a VPS (or even just a shell account) that I can ssh into.