TBH have you tried just basic git? There’s a web interface built into git itself and you can use ssh for your repositories. It’s simple and just works. If you need a faster web interface there’s also cgit. There’s no bells and whistles either. Just configure ssh, drop your repos in /srv and get to work.
If you need more that just standard basic git the. The other suggestions here are great especially forgjo!
Yeah that was my thoughts too. It’s not like it can’t be bypassed but it’s not “easy.” This is kinda how I see it going for commercial 3D printers. It’s not a bad thing either. I’ve always been a fan of making people earn dangerous knowledge & skills. Even in fictional universes like Star Trek there’s restrictions on using a replicator to make weapons.
So it’s not unreasonable, imho, to put some kind of guard rails up that force people to actively bypass restrictions in making weapons.
The trick will be telling the difference between making a nerf gun, action figure guns, and an actual weapon. That I don’t see being possible at this time. Too many edge cases that don’t neatly fit.