-
Squeaky Latex Folf
What's a good library for an XMPP (MUC) bot?
-
moparisthebest
Squeaky Latex Folf: https://github.com/moparisthebest/ash is built with xmpp-rs for now
-
Squeaky Latex Folf
But is xmpp-rs well-documented?
-
Squeaky Latex Folf
Or is it just WIP?
-
moparisthebest
Sorry, tokio-xmpp not xmpp-rs
-
moparisthebest
Yea I'd say it's well documented
-
Squeaky Latex Folf
I couldn't find the docs when I looked
-
moparisthebest
https://docs.rs/tokio-xmpp/3.4.0/tokio_xmpp/
-
moparisthebest
Where did you look? :/
-
Squeaky Latex Folf
gitlab
-
Squeaky Latex Folf
tokio_xmpp looks kinda low-level
-
Guus
sweet - can I use that to connect to a server that has a self-signed cert?
-
moparisthebest
Docs for rust crates will be on docs.rs and linked from their crates.io page
-
moparisthebest
xmpp-rs is more high level iirc
-
moparisthebest
Guus: uh probably not, without something like https://github.com/FiloSottile/mkcert anyway
-
singpolyma
Squeaky Latex Folf: what language/stack are you looking for?
-
Squeaky Latex Folf
I'm a C programmer, but I just want to write a simple MUC bot, without having to reinvent the wheel too much with reimplementing MUC and such that is probably required in e.g. libstrophe
-
Squeaky Latex Folf
So I'm open-minded to whatever language stack has a more full-featured high-level XMPP library
-
moparisthebest
Take ash, hack whatever you want into it, done
-
Squeaky Latex Folf
I've seen some bots use slixmpp