Ripple's bancho server https://ripple.moe
python
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Giuseppe Guerra b3879e37a4 Update requests to 2.20.0 2 weeks ago
common @ f47628a2ee Updated submodule common 4 months ago
constants Opsie wopsie 3 months ago
events The ascension of the Madonna (the 15th of August is approaching) 3 months ago
handlers ??? 3 months ago
helpers fuck lithium 1 month ago
irc Fix broken sentry client 3 months ago
objects Add !bloodcat command, automatically send bloodcat links in #spectator 3 months ago
pubSubHandlers .BANCHO. Removed dashes in when tracking notes for CM 1 year ago
.gitignore Add .pyenv to .gitignore 7 months ago
.gitmodules .HIDE. Change submodule url to new git server and use HTTPS instead of SSH 1 year ago
.landscape.yaml .HIDE. Update landscape config file 1 year ago
LICENSE Edit LICENSE and README 2 years ago
README.md Add code health badge in README 1 year ago
filters.txt Update 'filters.txt' 1 year ago
full_build.sh Add full build script 1 year ago
pep.py Add AGPL license agreement 4 months ago
requirements.txt Update requests to 2.20.0 2 weeks ago
setup.py Ignore .pyx files in .pyenv 7 months ago
version 🔼 1.13.7 🔼 3 months 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.