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.

  • SteleTrovilo@beehaw.org
    link
    fedilink
    arrow-up
    2
    ·
    2 days ago

    You have noticed that GitHub has had a lot of downtime recently, right? You’d probably prefer something more stable.

    • xoron@programming.dev
      cake
      OP
      link
      fedilink
      arrow-up
      1
      ·
      1 day ago

      Ideally I can advise people to self-host. I’m hoping to make something generic so it it can work with any git backend lit gitlab, codeberg, etc.