charmbracelet / soft-serve

The mighty, self-hostable Git server for the command line🍦
MIT License
5.16k stars 127 forks source link

Tailscale integration #535

Open arunoruto opened 2 months ago

arunoruto commented 2 months ago

Is your feature request related to a problem? Please describe. Managing users, or in this case keys, can be a bit troublesome. While I like self-hosting many things, I am not a fan of user management since it is error-prone and a bit cumbersome. So, in the case of soft serve, it would be cool to have the option to offload it to a service like Tailscale or OpenPubkey. I love the tailscale SSH feature, which lets me log in without using my password or managing keys and makes my workflow much easier.

Describe the solution you'd like Connect the soft-serve to a tailscale instance and communicate about users and keys to it. You don't need to provide the keys yourself; fetch them from a server and tie them to a user in a database.

Describe alternatives you've considered An alternative to this would be OpenPubkey, but other than this, the proposed default workflow of soft-serve would be the only alternative.

Disclaimer I am not sure if this is possible, but if it is, it would make up for a really cool workflow!