I 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
Re:Show HN: Gitern is a Git host for hackers
by k00b on Wednesday July 22, 2020 @06:46PM
(#23922382)
Thanks! 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.
For a hacker's client to github, I'd recommend having a look at ingydotnet's git-hub which is bash + his json-bash thing.
Interesting prior art and maybe some stealable concepts :D
Re:Show HN: Gitern is a Git host for hackers
by k00b on Wednesday July 22, 2020 @07:34PM
(#23922717)
Wonderful!
Re:Show HN: Gitern is a Git host for hackers
by monkeycantype on Thursday July 23, 2020 @01:07AM
(#23924336)
Yes, 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
https://gitern.com/#downloads now provides a posix shell script for those that prefer it
Re:Show HN: Gitern is a Git host for hackers
by irgeek on Wednesday July 22, 2020 @10:44PM
(#23923684)
These 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.
Re:Show HN: Gitern is a Git host for hackers
by k00b on Wednesday July 22, 2020 @11:13PM
(#23923836)
Noted. 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!
Re:Show HN: Gitern is a Git host for hackers
by ptspts on Thursday July 23, 2020 @03:18AM
(#23924945)
112 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.
https://gitern.com/#downloads now provides a posix shell script ~2.8KB for those that prefer it
I've since documented the commands: https://gitern.com/#commands
create: ssh [email protected] gitern-create <path>
delete: ssh [email protected] gitern-delete <path>
list: ssh [email protected] gitern-list [<path>]
pubkey add: ssh [email protected] gitern-pubkey-add <account> (pubkey on stdin)
pubkey remove: ssh [email protected] gitern-pubkey-remove <SHA256 fingerprint> <account>
pubkey list: ssh [email protected] 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.