A playground that can be used as a basis for developing simplex bots.
Please report bugs, problems, ideas and bad coding ;)
Have fun!
Install SimpleX CLI and generate profile as described here.
Don't forget to generate an invitation and use it with your default profile.
Start SimpleX in websocked mode with the command:
simplex-chat -p 3030
or use the start_simplex_websocket.sh script in the repository.
Modify the simplex_bot.py as desired. Interesting parts for modification are marked with a ToDo.
Start the bot using:
python3 simplex_bot_coordinator.py
or using the start_simplex_bot.sh script in the repository.
- Basic send and receive logic
- (Stateful) multiuser support
- ScheduledFunctions: Call a function at a date and time
- RepetitiveFunctions: Call a function every x timesteps
- RepetitiveFunctions
- TimedFunctions: Call a function after a timer passed