GitHub self-hosted alternative
I run MansionNET, a small privacy-first FOSS services platform self-hosted on my own hardware. The latest addition is a public Forgejo instance, and I wanted to share it with you all! I also went into the direction of modifying the frontend, so hopefully it looks a bit more disctinctive :)
The setup is:
• Forgejo 11.0.14 LTS, native APT install (Codeberg repo), open registration with email confirmation + built-in image CAPTCHA
• Ubuntu 24.04 VM on Proxmox (4 vCPU / 4 GB RAM, 30 GB NVMe system + 1 TB HDD for repos/LFS)
• PostgreSQL 16
• Caddy LXC terminates TLS and reverse-proxies everything; Let's Encrypt certs auto-issued
• Daily backups to a Proxmox Backup Server
Edge hardening at Caddy:
This part was acually very interesting! As soon as the deploy was done, I saw a flood of /commits/, /blame/, /raw/commit/ requests, which ended up being a classic AI training crawler behaviour, targeting per line authorship data from blame views. So Caddy now 403s training crawlers by User Agent regex (GPTBot, ClaudeBot, CCBot, Bytespider, Meta-ExternalAgent, Applebot-Extended, Google-Extended, etc.). Forgejo logs went from continuous spam to occasional human visits actually :D
The theme:
This is the part I'm very proud of. The whole MansionNET aesthetic is terminal flavoured, with cream-on-near-black, MansionNET green accents, VT323 for branded surfaces, dashed borders.
What's distinctive vs. just another Forgejo:
• No corporate Git aesthetics, it looks and feels like a community computer, not GitHub-lite
• Built-in CAPTCHA, no third-party tracker pixels anywhere
• Sibling services footer links to the rest of MansionNET (search, radio, home), so the forge is one room in a larger house
Come use it / come hang out:
Open registration is live and you're genuinely welcome to host a project on it, be it personal stuff, small FOSS work, mirrors of things you'd rather not leave on GitHub. Or just mirror a GitHub repo, that's ok too :)
URL is: https://git.inthemansion.com
MansionNET is also a few other rooms beyond Git:
• IRC - the actual community hub. irc.inthemansion.com:6697 (TLS) from any client, or webchat at https://webirc.inthemansion.com if you don't have one set up. This is where I hang out and where you can ping me with questions about the setup.
• SearXNG - privacy-respecting metasearch at https://search.inthemansion.com
• Radio - community internet radio (AzuraCast) at https://radio.inthemansion.com, 320kbps, no listener tracking
MY whole self-hosting journey started few years back with a thought about degoogling and getting away from the usual "clouds" and now ended up in full public services that are free to use :)
Thank you for getting this far in the post and cheers!