6

im working on a decentralized messaging app and generally up until recently i thought in such a system, if a peer is offline, you cant send a message... it wouldnt be "decentralized" if there was some central queue of messages.

it took embarassingly long, but then it hit me... git... just regular git is a decentralized database.

in my setup i need the ability for others to be abe to read and only i should be able to write to it. that functionality is out-the-box in git.

git is also pretty standardized so there are many providers if users want to move away from Github.

the storage requirements for my project are fairly small. typically small text messages. the data itself thats publicly readable would be encrypted.

you are viewing a single comment's thread
view the rest of the comments
[-] FiniteBanjo@programming.dev 1 points 3 days ago

There is a Repo size limit on GitHub and Codeberg, sorry to say. It's definitely only in the MB. If you go over the size limit then there is a grace period followed by a deletion.

[-] xoron@programming.dev 1 points 3 days ago

That would be acceptable. I can limit it to only text messages.

The aim would be for it to be able to use a generic git backend. Perhaps the advice I give should be to self-host a git server.

this post was submitted on 12 Jun 2026
6 points (80.0% liked)

Git

4670 readers
10 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

  1. Follow programming.dev rules
  2. Be excellent to each other, no hostility towards users for any reason
  3. 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