mirror of https://gitlab.com/litecord/litecord.git
It doesn't work since quart's objects only work with stuff that is already from quart, e.g the current_app stuff requires you to be inside a special hidden context that only quart functions get. Gateway code is detached from quart since quart's websocket stuff can't handle custom error codes. - auth: optional db detach - gateway.errors: add InvalidShard, ShardingRequired - gateway.gateway: pass asyncpg connection and StateManager - gateway.state: add repr, etc - gateway.state_man: add remove(), fetch_states() |
||
|---|---|---|
| litecord | ||
| .gitignore | ||
| LICENSE | ||
| Pipfile | ||
| Pipfile.lock | ||
| README.md | ||
| config.example.py | ||
| run.py | ||
| schema.sql | ||
README.md
litecord
Litecord is a free as in freedom implementation of Discord's backend services.
Rewrite of [litecord-reference]. [litecord-reference]: https://gitlab.com/lnmds/litecord-reference
Install
- Python 3.6 or higher
- PostgreSQL
We use [pipenv] to manage our dependencies. [pipenv]: https://github.com/pypa/pipenv
$ git clone https://gitlab.com/lnmds/litecord
$ cd litecord
# install all packages, including dev-packages
$ pipenv install --dev
Running
# drop into the virtualenv's shell
$ pipenv shell
# boot litecord
$ hypercorn run:app