Skip to content

half-duplex/sopel-http

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sopel-http

PyPi Version

Interact with your Sopel bot over HTTP

Setup

Only developers should need to install this package directly, but they can do so with a simple pip install sopel-http.

Configuration

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.

Usage

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.

About

An HTTP server for the Sopel IRC bot framework

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages