OpenClubhouse-Worker
This is a simple worker for OpenClubhouse to sync CH channel data.
Run
- 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
.
Third-part Software
- Python3.8
- requests
- requests_openapi
- pymongo
- mongoDB
Reference
- 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
Todo
- 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