mirror of https://gitlab.com/litecord/litecord.git
Storage serves as a way to reduce code repeatbility. So that we
don't need to keep repeating the same SQL statements over and over,
and to detach some SQL calls into their own code (like guild fetching)
- gateway.websocket: add WebsocketObjects to hold db, state_manager,
storage and loop
- gateway.websocket: add _make_guild_list
- schema: add members.deafened, members.muted
|
||
|---|---|---|
| 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