this post was submitted on 12 Jun 2026
3 points (71.4% liked)
Git
4670 readers
11 users here now
Git is a free and open source distributed version control system designed to handle everything from small to very large projects with speed and efficiency.
Resources
Rules
- Follow programming.dev rules
- Be excellent to each other, no hostility towards users for any reason
- No spam of tools/companies/advertisements. It’s OK to post your own stuff part of the time, but the primary use of the community should not be self-promotion.
Git Logo by Jason Long is licensed under the Creative Commons Attribution 3.0 Unported License.
founded 3 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Self-hosting an XMPP server is not harder than self-hosting a git server, and hosters exists en masse for both. I really don't see the actual benefit of using git here, but I do see a lot of unecessary friction because it'd be using the protocol against the grain...
In my app I'm aiming for minimal steps to get started. The frontend is a pwa which works out the box as a webapp.
There is a focus on local-first storage. When connected over webrtc, no backend storage is needed.
This approach with git would be optional. Users have frequently asked about the ability to send messages offline (a completely normal expectation for messaging app). It seemed like a hard limit until this idea with git. My app works without this feature, but with nuanced tradeoffs.
If I host a git-sever myself, but that would be centralising my project.
I see. So, the benefit is that one can start using the app locally but restricted to live chat only and can add git as an optional message cache for offline users?
I think there's a couple blockchain-based ones out there that have similar zero-setup costs, but give you the offline messages right away by putting them in the chain. And one could package at least XMPP and DeltaChat/Email in such a way, since they rely on resending to offline recipients and can run fine locally.
I guess we'd need a full description of your protocol; Maybe there is a benefit I'm not seeing. Anyway: Have fun and good luck
=^_^=That's right. Git as an offline cache. When you read a peers message, you can also update you own git repo to say you read it, and so when the peer comes online they can update their side to delete the messages (keeping the size small)... Going further against the grain, the app doesn't care about the history of messages deleted, so I expect to add things for purging history.
I considered the Blockchain, but i think the git approach is better. It's hard to describe what I'm imagining. I'd like to put together a demo when I get time.
I have a full-ish description of the protocol.
https://positive-intentions.com/docs/technical/whitepaper/complete-protocol-spec
Instead of reading that, if you really want to know more, I would suggest you ask me for clarity. (Nothing about this git approach is mentioned there.)
Thx, I'll dig into the spec next week ;-)
feel free to reach out. im reluctant to waste your time on reading through all that draft. its fairly unique and more going against the grain... not typically a good sign.
my project is far from finished including all the spec and docs.