Hacker News new | ask | show | jobs
by davidrusu 2898 days ago
I've been working on this distributed offline-first datastore that uses the Git protocol as the network layer. I'm calling it GitDB (but the Git trademark is getting more strictly enforced these days so that'll need to change).

The idea is that we should be able to build tools where the user can understand and manage where data is stored while at the same time keeping many of the conveniences of modern apps, like cross-device sync.

As a user, you can decide if you trust Github, Gitlab, Bitbucket, etc. and pay them to host your data.

The first tool I wanted to build with GitDB was a password manager but seeing this post made me wonder if there would be enough people who wanted this level of control over data, does this sound like something you'd be into?

This work is all super early, but would love to gauge the interest from others.

If someone wants to help build this thing: https://github.com/the-gitdb-cooperative/gitdb

2 comments

Pass (https://www.passwordstore.org/) uses git as a password database in a similar way.
AFAIK pass won't handle conflicts for you (please correct me if I'm wrong!).

This isn't a big problem for a password manager since conflicting changes are very uncommon, but for other apps this starts to get more important.

It just does what git does. Since every site has its own file containing just a password, merging conflicts isn't a common issue.
I hope it only uses normal git stuff, so that I can selfhost it too on my laptop or on my computer at home as I do with my private git repos?
Yep, just pure git, it's nothing fancy on that front.