Brutkey

Nelson
@skyfaller@jawns.club

Time to discuss self-hosted alternatives to GitHub!

First, has anyone simply put a bare git repo on a server somewhere, pushed via SSH, and called it a day?

https://idiomdrottning.org/hosting-git-repos

Do you really need more than a remote to push to and pull from, for your personal projects? If you've tried this, what obstacles did you encounter and what features did you miss?

#GiveUpGitHub #SelfHosting #git #SSH #BareRepos


Jenny :TransButterfly:​ :3hearts:
@SymTrkl@anarres.family

@skyfaller@jawns.club Technically yes, I use a repo with a post-recieve hook to push updates to my website. But it's dead simple, since my local git uses the SSH key I'd already have for the server anyway.

My main problem is that I need an offsite backup, and hosting it on the same server that hosts the website it's meant to be backing up is somewhat suboptimal.
neobot_laugh_sweat But if I need to, I could absolutely pull or clone from that repo if I needed to.

Berkubernetus
@fuzzychef@m6n.io

@skyfaller@jawns.club I think the Postgres project still self-hosts. Self-hosting git is the easy part, and I'd argue the least valuable part of GH. It's having issues and permissions management and threaded review and tying in to releases that would be hard to replace, to say nothing of network effects. Postgres could do this because they already had other systems for these things.

Nelson
@skyfaller@jawns.club

Next, have you tried a static site generator for browsing git repos? Here's a list of SSGs for git, sorted by latest commit (fresh to stale):

* reporat
https://www.ratfactor.com/repos/reporat/
* git-arr
https://blitiri.com.ar/p/git-arr/
* depp
https://git.8pit.net/depp/
* itsy-gitsy
https://git.trevorbentley.com/itsy-gitsy/file/README.md
* pgit
https://pgit.pico.sh/
* stagit
https://codemadness.org/git/stagit/file/README.html
* gituwa
https://git.mcksp.com/gituwa/
* repo2html
https://git.m455.casa/repo2html/

#GiveUpGitHub #git #SelfHosting #SSGs #StaticWebsites #StaticSiteGenerators

Nelson
@skyfaller@jawns.club

@fuzzychef@m6n.io We choose to go to the moon, not because it is easy, but because it is hard!

https://hachyderm.io/@aburka/111644887621546972

Berkubernetus
@fuzzychef@m6n.io

@skyfaller@jawns.club I prefer:

We do this, not because it is easy, but because we THOUGHT it would be easy.

Nelson
@skyfaller@jawns.club

To avoid self-hosting a full-fledged code forge, you might want to simply store issues in the git repo itself. Have you tried using git-bug, git-issue, or some other decentralized bug tracker?

*
https://github.com/git-bug/git-bug
*
https://github.com/dspinellis/git-issue

Last time I tried git-bug I failed to import my issues from GitHub and gave up, but maybe it works now, it seems there is a new & more active maintainer.

#GiveUpGitHub #git #BugTracking #issues #SelfHosting #GitBug

Nelson
@skyfaller@jawns.club

If you're worried about hosting anything on the open web because fucking crawlers for LLMs are overloading indie websites, maybe you'd rather browse your git repo via SSH:

https://github.com/charmbracelet/soft-serve

Have you used Soft Serve? Are you aware of any similar projects for browsing git repos over SSH?

Big caveats:

* Charm (the company behind it) has taken VC funding, and therefore is probably doomed
* Last VC round was lead by "Gradient, Google’s AI-focused venture fund". They're all-in on AI bullshit

Nelson
@skyfaller@jawns.club

Finally, if you really need a full code forge, with issue tracking and everything, what is the simplest, most light-weight code forge you can self-host?

Is it Forgejo? "Lightweight: Forgejo can easily be hosted on nearly every machine. Running on a Raspberry? Small cloud instance? No problem!"
https://codeberg.org/forgejo/forgejo

That sounds great to me, but is Forgejo simple enough that I won't regret taking on the maintenance burden? Is there something even faster?

#GiveUpGitHub #git #SelfHosting

jes!
@j3s@merveilles.town

@skyfaller@jawns.club perhaps https://tangled.sh?

Nelson
@skyfaller@jawns.club

@j3s@merveilles.town I do not feel good about Bluesky / AT Proto, but maybe something like Tangled will be a killer app that forces me to get an account. Not yet, tho.

Basically I don't want to join any new services where I don't feel like I have agency/control, and I'm not convinced Bluesky gives meaningful power to the community/people.

jes!
@j3s@merveilles.town

@skyfaller@jawns.club i'm honestly not sure how i feel abt bluesky, but tangled is amazing. they're def all-in on the bsky integration tho

The Nexus of Privacy
@thenexusofprivacy@infosec.exchange

yeah, I was just talking about this on Bluesky -- I don't see it as an either-or. It's a great chance for tangled.sh and Forgejo to connect with each other via federation or bridging or whatever makes sense.

https://bsky.app/profile/did:plc:xhrel3d6gxb2tt26u5rqo5y3/post/3lw5ylod7sk2x

@skyfaller@jawns.club @j3s@merveilles.town