Interact with your Sopel bot over HTTP
Only developers should need to install this package directly, but they can do
so with a simple pip install sopel-http
.
You can change which IP addresses and ports sopel-http
binds to in your Sopel
configuration. For example, to bind to port 8080 on all IPs (including public!):
[http]
bind = "[::]:8080"
By default it listens on 127.0.0.1 and ::1 (localhost), port 8094.
See the example plugin, sopel-http-example.
Once you've created and registered the flask Blueprint as shown in the example, you can use it more or less like any other flask application.