Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ai-eks/OpenClubhouse-Worker
A simple worker for OpenClubhouse to sync data.
https://github.com/ai-eks/OpenClubhouse-Worker
clubhouse mongo python
Last synced: 4 days ago
JSON representation
A simple worker for OpenClubhouse to sync data.
- Host: GitHub
- URL: https://github.com/ai-eks/OpenClubhouse-Worker
- Owner: ai-eks
- License: mit
- Archived: true
- Created: 2021-02-16T00:27:20.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2021-02-22T14:26:30.000Z (over 3 years ago)
- Last Synced: 2024-09-27T17:22:27.121Z (about 2 months ago)
- Topics: clubhouse, mongo, python
- Language: Python
- Homepage: https://opench.aix.uy
- Size: 33.2 KB
- Stars: 97
- Watchers: 7
- Forks: 44
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# OpenClubhouse-Worker
This is a simple worker for [OpenClubhouse](https://github.com/ai-eks/OpenClubhouse) to sync CH channel data.
## Run
1. Install python packages by `pip install -r requirements.txt`
2. Change the configs in `config.template.py`.
3. Rename `config.template.py` to `config.py`.
4. Run `python main.py`.## Third-part Software
- Python3.8
- requests
- requests_openapi
- pymongo
- mongoDB## Reference
-
- Regex pattern for requests_openapi: replace "(/(.+):\n (post|get):\n)" with "$1 operationId: $2\n"
-## Todo
- [x] large channel write
- reduce the number of saved users
- [ ] update strategy
- [ ] token update (low priority) - maybe add a probability to join again
- [x] user count update
- [x] channel status update
- [ ] Exception notification