XMPP Bot for mozhi
Find a file
2025-11-02 00:22:57 +05:30
config.ini Init 2025-11-02 00:22:57 +05:30
main.py Init 2025-11-02 00:22:57 +05:30
README.md Init 2025-11-02 00:22:57 +05:30

Mozhi XMPP

XMPP Bot for Mozhi

License: AGPLv3

Usage:

NICKNAME SOURCE TARGET ENGINE TEXT
Eg.
mozhi en fr deepl hello world!
NICKNAME TARGET ENGINE TEXT
Eg.
mozhi fr google hello world!
NICKNAME SOURCE TARGET TEXT
Eg.
mozhi en fr hello world!
NICKNAME TARGET TEXT
Eg.
mozhi fr hello world!

Configuration

config.ini has default details

default engine and mozhi server url can be set in the beginning of main.py

Running

Install dependencies:

  • requests
  • configparser
  • asyncio
  • slixmpp
  • zmq
  • threading

Run python3 ./main.py