Ripple's bancho server https://ripple.moe

Giuseppe Guerra cae82bd107 Delete timed out tokens 2 weeks ago
common @ 32a02e4d56 Update submodules 3 months ago
constants Howl porcoddio l'indentazione 5 months ago
events Trying to fix the user metadata problem. Will this kill performance? 3 months ago
handlers .BANCHO. Add tornado-sentry capture decorators 6 months ago
helpers .BANCHO. .FIX. Fix utf-8 characters not being displayed correctly in chatlogs 6 months ago
irc .HIDE. General refactoring 6 months ago
objects Delete timed out tokens 2 weeks ago
pubSubHandlers .BANCHO. Removed dashes in when tracking notes for CM 6 months ago
.gitignore .HIDE. Update .gitignore 7 months ago
.gitmodules .HIDE. Change submodule url to new git server and use HTTPS instead of SSH 6 months ago
.landscape.yaml .HIDE. Update landscape config file 6 months ago
LICENSE Edit LICENSE and README 11 months ago
README.md Add code health badge in README 7 months ago
filters.txt Update 'filters.txt' 3 months ago
full_build.sh Add full build script 7 months ago
pep.py .BANCHO. Remove double prefix on bancho start schiavo message 6 months ago
requirements.txt .HIDE. General refactoring 6 months ago
setup.py .BANCHO. Dynamic setup.py file 7 months ago
version 1.12.1 3 months ago

README.md

pep.py Code Health

  • Origin: https://git.zxq.co/ripple/pep.py
  • Mirror: https://github.com/osuripple/pep.py

This is Ripple's bancho server. It handles:

  • Client login
  • Online users listing and statuses
  • Public and private chat
  • Spectator
  • Multiplayer
  • Fokabot

Requirements

  • Python 3.5
  • Cython
  • C compiler
  • MySQLdb (mysqlclient)
  • Tornado
  • Bcrypt
  • Raven

How to set up pep.py

First of all, initialize and update the submodules

$ git submodule init && git submodule update

afterwards, install the required dependencies with pip

$ pip install -r requirements.txt

then, compile all *.pyx files to *.so or *.dll files using setup.py (distutils file)

$ python3 setup.py build_ext --inplace

finally, run pep.py once to create the default config file and edit it

$ python3 pep.py
...
$ nano config.ini

you can run pep.py by typing

$ python3 pep.py

License

All code in this repository is licensed under the GNU AGPL 3 License.
See the "LICENSE" file for more information
This project contains code taken by reference from miniircd by Joel Rosdahl.