This is a simple worker for OpenClubhouse to sync CH channel data.
- Install python packages by
pip install -r requirements.txt
- Change the configs in
config.template.py
. - Rename
config.template.py
toconfig.py
. - Run
python main.py
.
- Python3.8
- requests
- requests_openapi
- pymongo
- mongoDB
- https://github.com/zhuowei/ClubhouseAPI
- Regex pattern for requests_openapi: replace "(/(.+):\n (post|get):\n)" with "$1 operationId: $2\n"
- https://github.com/lafin/clubhouseapi
- large channel write
- reduce the number of saved users
- update strategy
- token update (low priority) - maybe add a probability to join again
- user count update
- channel status update
- Exception notification