jdev - 2022-06-10


  1. electrowinds

    Hello, Is the room for python discussion?, looking for py lib for xmpp integrations to Django thanks

  2. jonas’

    define "xmpp integrations"

  3. electrowinds

    Like reading message and file attachments and storing it into db

  4. electrowinds

    https://github.com/RasaHQ/rasa like automating a chatbot for website

  5. Kev

    What was the version of Sleek that's still maintained? Slix?

  6. Kev

    Guess so.

  7. Kev

    You might like to look at https://lab.louiz.org/poezio/slixmpp

  8. Link Mauve

    electrowinds, you might have better luck writing your chatbot outside of the website, and using an existing client like Converse.js for the chat widget on the website.

  9. Link Mauve

    That way no Django integration will be required.

  10. electrowinds

    Thank you Kev and Link Will try this first 😊

  11. Sam

    I've had better experiences with aioxmpp, that might be worth a shot

  12. Ge0rG

    And Django is not really well suited for a chat bot. And you only need it if the bot has to access or manipulate the Django ORM

  13. Ge0rG

    But then you probably are better off with a dedicated bot runtime that either access the DB or some API of your Django app, e.g. via django-rest-framework

  14. moparisthebest

    msavoritias: virtually no popular XMPP client uses a common XMPP library, they all wrote their own, take from that what you will

  15. msavoritias

    moparisthebest: well i have a life plus i like standards and collaboration. So i would rather contribute to the tigase kotlin library or to smack

  16. msavoritias

    I dont get people who have the NIH syndrome personally. I saw the flutter xmpp cilent too implementing all of xmpf from scratch...

  17. moparisthebest

    I suspect you'll find there are reasons when none of the libraries quite fit but I guess we'll see :)