I’m having fun coding Poxtit, a Python code that, thanks to slixmpp Python library, allow post xmpp room messages to Mastodon account, follow fediverse’s users and replicate their public posts to any room.

  • poVoq@slrpnk.netM
    link
    fedilink
    arrow-up
    1
    ·
    edit-2
    1 year ago

    Yes, I came across this yesterday on Codeberg. Looks quite neat!

    How is the access controlled? Can anyone in the MUC post via the bot?

    Edit: btw. this community is a bit abandoned, better subscribe to !xmpp@slrpnk.net

    • splaOP
      link
      fedilink
      arrow-up
      2
      ·
      1 year ago

      The access is controlled by a user database. Only the owner of the bot (the one who runs the code) can add users. Anybody in the muc can post to the fediverse if it’s in the bot user database.