mirror of
https://github.com/jlu5/PyLink.git
synced 2024-12-29 14:12:39 +01:00
18576ad488
- reset connection state and last ping time on reconnect - move Ping timeout logic to somewhere where it'd actually run - the code for breaking out of the run() loop on a ping timeout could previously only run when a ping timeout hadn't occured yet - consistently use log.warning() instead of log.warn() This hopefully fixes PyLink going into a disconnect/reconnect loop sometimes instead of reconnecting properly. |
||
---|---|---|
log | ||
plugins | ||
protocols | ||
tests | ||
.gitignore | ||
classes.py | ||
conf.py | ||
config.yml.example | ||
coreplugin.py | ||
kill.sh | ||
LICENSE | ||
log.py | ||
main.py | ||
README.md | ||
start-cpulimit.sh | ||
utils.py |
PyLink
PyLink is an extensible, plugin-based IRC PseudoService written in Python. It aims to be a replacement for the now-defunct Janus.
Usage
PyLink is a work in progress and thus may be very unstable! No warranty is provided if this completely wrecks your network and causes widespread rioting amongst your users!
That said, please report any bugs you find to the issue tracker. Pull requests are open if you’d like to contribute.
Dependencies
Dependencies currently include:
- Python 3.4+
- PyYAML (
pip install pyyaml
orapt-get install python3-yaml
)
Supported IRCds
- InspIRCd 2.0.x - module
inspircd
- charybdis (3.5.x / git master) - module
ts6
- Elemental-IRCd (6.6.x / git master) - module
ts6
Installation
Rename
config.yml.example
toconfig.yml
and configure your instance there. Not all options are properly implemented yet, and the configuration schema isn’t finalized yet - this means your configuration may break in an update!Run
main.py
from the command line.Profit???