cross-posted from: https://discuss.online/post/40941829

Details at https://twtxt.dev/ and elsewhere. This has been in development since 2016. All you do is create a txt file in www or html and include info like

# nick        = username
# url         = https://example.com/posts.txt
# avatar      = https://example.com/avatar.png
# description = Describe this

to then begin posting using a command like like

echo -e "$(date -u +'%Y-%m-%dT%H:%M:%SZ')\tHello to all of you out there! >> posts.txt

There are various registries and places you can submit your user via curl to become more discoverable by others. Also tons of spin-offs that add support for fancier markdown and such, but haven’t tried those yet.

  • Alavi@programming.dev
    link
    fedilink
    English
    arrow-up
    1
    ·
    2 days ago

    Does this work with a central server of some sort or is it decentralized and the only thing we have are text files and clients, and the clients handle everything else?

    • kiol@discuss.onlineOP
      link
      fedilink
      English
      arrow-up
      2
      ·
      2 days ago

      You simply host the txt file. It doesn’t get more decentralized, to the point that centralization is the tricky part here.

      • Alavi@programming.dev
        link
        fedilink
        English
        arrow-up
        1
        ·
        2 days ago

        And then you follow/subscribe other peoples feeds? And your client fetches them? but theres no such thing as a “global feed”?

        • kiol@discuss.onlineOP
          link
          fedilink
          English
          arrow-up
          2
          ·
          2 days ago

          It is simply a line of text, so you could always relay it into whatever system. Did you see the example where people have made it into a multi-user version on same server? https://twtxt.net/ There are also relays you can submit to to centralize.