6 ms·
I'm not really looking for a new git repository hosting service but this seems cool. I was a bit disappointed that I had to download a cli tool after signing up
by mawalu 6y ago
I'm not really looking for a new git repository hosting service but this seems cool. I was a bit disappointed that I had to download a cli tool after signing up. It would be cool if you could do all the management non-git operations via ssh and without any additional client software
- k00b 6y agoYou can actually! The cli is just a really dumb wrapper around ssh execs. create: ssh git@gitern.com gitern-create <path> delete: ssh git@gitern.com gitern-delete <path> list: ssh git@gitern.com gitern-list [<path>] pubkey add: ssh git@gitern.com gitern-pubkey-add <account> (pubkey on stdin) pubkey remove: ssh git@gitern.com gitern-pubkey-remove <SHA256 fingerprint> <account> pubkey list: ssh git@gitern.com gitern-pubkey-list Edit: Eventually the cli will provide a lot more (and self document what's available) so I do recommend using it, but you can happily get along with these "raw" commands for now.
- hgo 6y agoI love it. Would feel more comfortable with a bash source-file I could copy than an installer tbh. This reminds me, as I suppose you expect, of a lovely ssh-based chat service i saw on here a while back: https://news.ycombinator.com/item?id=8743374 https://news.ycombinator.com/item?id=8743374
- k00b 6y agoThanks! I agree. I want to provide more client-side options eventually (e.g. a static binary or pick your language flavor cli), but had a bunch of tradeoffs to consider for first pass. I'll likely open source the client side and keep the ssh api backward compatible, so perhaps this can happen soon. Re: ssh-based chat. I found that post very very early on while exploring gitern as just an idea! Very formative of gitern.
- monkeycantype 6y agoYes, I'm sorry to say I feel the same. I set up my public key with you, but not willing to run a strange new executable on my machine
- k00b 6y agohttps://gitern.com/#downloads https://gitern.com/#downloads now provides a posix shell script for those that prefer it
- irgeek 6y agoThese should absolutely be documented on the site! When I looked at the CLI source I almost walked away. 112MB spread across 12k files from a developer I don't know is _way_ too scary to trust with access to my SSH private keys. Being able to manage it without that CLI tool, though, makes it something I might try out.
- k00b 6y agoNoted. I think the path I'll be taking is documentation and providing a bash script for those that would prefer it. Thank you for the feedback!
- ptspts 6y ago112 MB is way overkill for a command-line tool which can issue a few commands over ssh. This should be a shell script shorter than 5 KiB.
- k00b 6y agohttps://gitern.com/#downloads https://gitern.com/#downloads now provides a posix shell script ~2.8KB for those that prefer it
- k00b 6y agoI've since documented the commands: https://gitern.com/#commands https://gitern.com/#commands