News for hackers. Stuff that matters.
Re:Show HN: Encrypted Git hosting should be easy by hsn915 on Wednesday August 31, 2022 @09:31PM (#32670701)
Why S3? I don't have an aws account and don't ever plan on having one.

If you want to make git hosting easy, make a self-contained executable that requires nothing but a bare unix-like environment.

Re:Show HN: Encrypted Git hosting should be easy by KronisLV on Thursday September 01, 2022 @02:25AM (#32672709)
Well, technically with a bit of work you can use anything self-hosted that is S3 compatible.

Personally, I rather like:

  - https://www.zenko.io/
  - https://min.io/
Even if I don't really buy into AWS too much (apart from enterprise stuff), it's good that they went ahead and created a standard for blob storage that other implementations could also benefit from, due to the compatibility with various libraries etc.

Of course, there's also reliance on DynamoDB for this project, though that could also probably be swapped out for something else.

Re:Show HN: Encrypted Git hosting should be easy by nathants on Wednesday August 31, 2022 @10:10PM (#32671016)
s3 is sota, but there are others. just run git on a server! not one executable, but you can pretend.
Re:Show HN: Encrypted Git hosting should be easy by hsn915 on Wednesday August 31, 2022 @11:49PM (#32671713)
S3 is a cloud service provided by one company. It's not state of the art.
Re:Show HN: Encrypted Git hosting should be easy by paranoidrobot on Thursday September 01, 2022 @12:02AM (#32671813)
If you don't like S3 or DynamoDB then it'd be easy enough to sub them out for other things.

Many cloud providers provide an S3-Compatible object-store protocol. There's also open source projects self-hosting your own S3-Compatible object storage.

Swapping out DynamoDB for (say) Redis would also be fairly easy.

The source provided is a few hundred lines of pretty readable Golang.

While I'm not generally a fan of "If you don't like it, submit a PR to fix it" type responses - as a short example of how to implement something like this, it's a pretty decent starting point.

Re:Show HN: Encrypted Git hosting should be easy by nathants on Thursday September 01, 2022 @12:46AM (#32672115)
i can confidently say that a series of encrypted git bundles could be stored anywhere. have them be monotonically increasing integers.
Re:Show HN: Encrypted Git hosting should be easy by dewey on Thursday September 01, 2022 @06:51AM (#32674597)
> S3 is a cloud service provided by one company

At this point it's basically a standard as many blob storage providers just implement the S3 API.

Re:Show HN: Encrypted Git hosting should be easy by nathants on Thursday September 01, 2022 @12:02AM (#32671808)
then who is sota and for what metrics?

/giphy shutup and take my money

Re:Show HN: Encrypted Git hosting should be easy by hsn915 on Thursday September 01, 2022 @01:42AM (#32672443)
The ssd on your laptop
Re:Show HN: Encrypted Git hosting should be easy by nathants on Thursday September 01, 2022 @01:48AM (#32672483)
so true.