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

Nyo 9175f9e7f2 .BANCHO. .FIX. Fix utf-8 characters not being displayed correctly in chatlogs 4 days ago
common @ 7262d62693 784c4a11f1 .BANCHO. Switch from mirrorapi to cheesegull for beatmap update requests 5 days ago
constants 784c4a11f1 .BANCHO. Switch from mirrorapi to cheesegull for beatmap update requests 5 days ago
events 62b67da9fb .HIDE. General refactoring 3 weeks ago
handlers 18a7c47db6 .BANCHO. Add tornado-sentry capture decorators 3 weeks ago
helpers 9175f9e7f2 .BANCHO. .FIX. Fix utf-8 characters not being displayed correctly in chatlogs 4 days ago
irc 62b67da9fb .HIDE. General refactoring 3 weeks ago
objects 9880c5004d .BANCHO. .FIX. Chat mods can now write in moderated channel and access #admin channel 5 days ago
pubSubHandlers 84f1fb566c .BANCHO. Removed dashes in when tracking notes for CM 2 weeks ago
.gitignore a8a1dfb1bc .HIDE. Update .gitignore 1 month ago
.gitmodules 2407ecc3bf .HIDE. Change submodule url to new git server and use HTTPS instead of SSH 5 days ago
.landscape.yaml f85640ae39 .HIDE. Update landscape config file 3 weeks ago
LICENSE 5b0c1b4d5d Edit LICENSE and README 5 months ago
README.md f8cc0c738c Add code health badge in README 1 month ago
filters.txt a5fd8b0431 .BANCHO. .FIX. Fix chat filters 5 months ago
full_build.sh 2f54a56b7a Add full build script 1 month ago
pep.py fc3736eba8 .BANCHO. Remove double prefix on bancho start schiavo message 2 weeks ago
requirements.txt 62b67da9fb .HIDE. General refactoring 3 weeks ago
setup.py 9d562e7acd .BANCHO. Dynamic setup.py file 1 month ago
version c6417c31ed ⬆️ v1.11.2 ⬆️ 2 weeks ago

README.md

pep.py Code Health

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.