9 ms·
Soft-serve: A tasty, self-hostable Git server for the command line
- johnea 4y agoThis is all uinclear to me. --> pacman -S ssh git Voilà, you're self hosting a git server...
- nerdponx 4y agoRight, but you could easily end up writing a bunch of custom automation scripts and/or APIs around this, at which point (unless you really like DIYing stuff) you might better off with something like Soft-serve.
- qbasic_forever 4y agoNow manage users and granular user-level access to repos... it's doable but you're going to write a boatload of one-off scripts and hacks, which tools like soft-serve have already implemented.
- _ikke_ 4y agopacman -S gitolite
- qbasic_forever 4y agoYes or just install soft-serve, another git server implementation (with much more sane documentation IMHO, gitolite is great but the docs are a scatterbrained mess). The point is that a git server isn't just ssh and git except in the most barebones simple use case.
- hydroid7 4y agoThat looks awesome for RPI home server.
- derefnull 4y agoIf you are interested in comparing this offering to other existing tools, you may consider: - gitolite https://gitolite.com/gitolite/overview.html , and - cgit for http front-end https://git.zx2c4.com/cgit/about/ which is what https://kernel.org/ https://kernel.org/ uses (https://www.kernel.org/doc/projects/korg/gitolite/index.html https://www.kernel.org/doc/projects/korg/gitolite/index.html)
- eddieroger 4y agoI love days like today, $SYSTEM goes down, then we get a thread about $ALTERNATIVES, and now posts about $ALTERNATIVE[X]. I like the look of this and the other stuff from the folks behind it, but I'm curious if anyone is using it "for real." I would love to use this over others with web UIs, but at this point I am also in the market for Git+Actions-analog, which Gitea and Drone (and now just Gitea) fill on their own. Am I missing the mark on this tool's use case, or is it not just to the place where it can do such things yet.
- capableweb 4y agoSoft-serve is not really an alternative to GitHub, unless you literally only use GitHub for the git functionality itself, but then you could just use any Linux server + openssh + git to get basically the same functionality. But I see people tend to use GitHub for much more than just Git, for better or worse.
- eyegor 4y agoIf you actually want a github alternative, use gitlab. Can't speak to the web experience, but self hosted is miles better than any of the alternatives. I found gitea to be fairly lacking.
- garganzol 4y agoThe project has interesting approach to UI: differences between GUI and CUI (aka console user interface) are almost erased.
- 8organicbits 4y agoAll of the https://charm.sh/ https://charm.sh/ tools are beautiful like this. I've been looking for an opportunity to build on these, but haven't had a chance yet.
- nacs 4y agoThose TUIs makes me want to learn Go.. (Does anyone know alternatives to this for nodejs though?)
- garganzol 4y agoThe tech is not very specific to Go. I remember the library called Turbo Vision from Borland Inc. which gave similar console superpowers in the early 1990s. Internally it was not that different from a typical GUI toolkit - controls, modal windows, layout, but it worked exclusively for text mode. Products based on that technology were quite impressive back in the day: Turbo Pascal 7.0, Turbo C. The only thing that I really missed back then was drag and drop (in console) and it's still an unachievium nowadays, afaik.
- password4321 4y agoModern Turbo Vision 2.0 https://news.ycombinator.com/item?id=30732274 https://news.ycombinator.com/item?id=30732274
- MatthewPhillips 4y agoI'm very curious what their business strategy is.
- nerdponx 4y agoTheir website implies that they are available for hire for enterprise consulting.
- INTPenis 4y agoNow that more and more people are living as digital nomads, I just want a git server with S3 backend support so I can host it in the cloud. I want to self-host, but I also don't want any infrastructure.
- hydroid7 4y agoYou're my friend, I'm just looking for the same!
- sdfhbdf 4y agoS3 sounds very inefficient for storing git objects. Unless you're talking converting git protocol to S3 Object Versions API which might sound like an interesting project.
- INTPenis 4y agoI only say S3 because it's a cheap type of online storage that does not require any of your own infrastructure.
- ikiris 4y agoso you want to self host via the cloud? ... why not just use the cloud at that point and skip having to roll your own everything?
- INTPenis 4y agoThat's not SELF-hosting. Self-hosting, with emphasis on the self, to me is taking it into your own hands. Using the cloud can be very liberating these days, you can do it in a vendor agnostic way where you own all your domains, your data and can move freely between any cloud provider.
- nicoburns 4y agoThere's a sense in which using the cloud isn't SELF hosting either. Although I get what you mean.
- benatkin 4y agoHmm I'm sold on git over https. One of many things that forgejo has right.
- raggi 4y agoStill using gitosis, and still happy with it.
- jonas-w 4y agoI wish that this TUI could integrate directly with gitea or gitlab and wouldn't be a standalone server.
- candiddevmike 4y agoSlightly OT: how feasible is it to do issue management as markdown within a monorepo, anyone have any experience with this? Fossil does this already, but I think git could do it just as well?
- password4321 4y agoGit-bug: Distributed, offline-first bug tracker embedded in Git https://news.ycombinator.com/item?id=33730417 https://news.ycombinator.com/item?id=33730417 https://github.com/MichaelMure/git-bug https://github.com/MichaelMure/git-bug
- tester457 4y agoI almost want to try this but I think github does a better job of keeping my data safely hosted than I would.
- chrismorgan 4y agoNote that `ssh git.charm.sh` is a serious privacy and security hazard: it will leak your local user name and the public keys for any keys you can authenticate with (enough to e.g. identify your GitHub account), and if you have ForwardAgent on (convenient but dangerous—if you use it, look into ProxyJump instead) it will allow the remote machine to impersonate you (e.g. push to any GitHub repository you can push to). I recommend using an invocation like this instead when testing things like this; I think it’s enough (but welcome correction): ssh -o PubkeyAuthentication=no -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -a nobody@git.charm.sh
- GauntletWizard 4y ago[flagged]
- dang 4y agoWe've had to warn you before that personal attacks will get you banned here. Please don't do it again. https://news.ycombinator.com/newsguidelines.html https://news.ycombinator.com/newsguidelines.html
- foepys 4y agoThe last part of your reply is extremely condescending and an absolutely unnecessary ad hominem attack. People have been conscious about publishing their raw email address for ages be a use it attracts all kinds of bad actors, from spambots to outright scammers impersonating somebody else for social engineering. Publishing your social circle involuntarily can be something people actually do not want but are unaware that this is happening.
- chrismorgan 4y agoI think you may have misunderstood the privacy hazard I’m talking about. `ssh git.charm.sh` leaks your SSH identities, which is akin to announcing “Hi, I’m gauntletwizard on GitHub” (and quite possibly “I work for ACME Corporation”) by merely connecting, which is not something people are generally aware of or expect (that’s why I pointed it out). This allows for perfect tracking, and such tracking can easily support various nefarious actions. By contrast, HTTP only allows comparatively generic fingerprinting via things like your IP address and user agent characteristics, though certainly in some circumstances it can be possible to identify a user uniquely from these—but you’ll have to work at least a bit for it. More generally, over HTTP if someone wants to know that you’re gauntletwizard on GitHub, they’ll have to go via a GitHub OAuth flow, where you get told they want to know your account name, public email address, whatever, and you get to decide whether to allow this.
- daveguy 4y agoIsn't the easiest self hostable git server just another copy of the repo in a different location?
- iveqy 4y agoI tried to use it, but my git repo was too big and it become painfully slow. I filed a bug an the issue was fixed within a few weeks. Very good interaction with the developers! However that also meant that I needed an alternative. So let's break down what soft-serve do: 1. It's a ssh server/git server 2. It can list git repositories 3. It can browse git repositories For: 1. you can use your current ssh server and for extra protection use the git-shell that comes with git. 2. Is easily solved with git-shell-commands (see man git-shell) 3. Is not something I need. If you want to browse you'll need to clone. Although soft-serve is beautiful, it's a lot of added complexity for not very much functionality. If/when they add CI/CD, pull requests (perhaps a git-appraise based interface). It will be awesome and I'll give it a new try.