Special thanks to the generous sponsorship by:
stream recorder && automatic upload
These instructions will get you a copy of the project up and running on your local machine for development purposes.
docker run -d --name recorder --restart always -v /path/to/your/config.toml:/app/config.toml -v /path/to/your/videos:/app/videos ghcr.io/hldh214/recorder
# rebuild the image and recreate the container
docker compose build && docker compose up -d && docker image prune -f
# watch
docker exec -it recorder-recorder-1 watch -c -n 1 tree -D -C --du -h /app/videos/record
# dev kit
docker exec -it recorder-recorder-1 bash -c 'apt update && apt install -y zsh git vim tree curl && sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)" "" --unattended && git clone --depth=1 https://github.com/amix/vimrc.git ~/.vim_runtime && sh ~/.vim_runtime/install_awesome_vimrc.sh'
# inspect
docker exec -it recorder-recorder-1 zsh
# python interpreter
docker exec -it recorder-recorder-1 python3
# recorder module command
docker exec -it recorder-recorder-1 python3 recorder/utils/huya_danmaku_mongo.py generate-with-highlight
python >= 3.7
[node](https://github.com/nvm-sh/nvm)
[mongodb](https://www.mongodb.com/)
git clone https://github.com/hldh214/recorder.git
cd ./recorder
pip install -r requirements.txt
python -m recorder
- google-api - Brilliant api client
- toml - Tom's Obvious, Minimal Language for configure
- tqdm - Progress Bar with <3
- pyjwt - JSON Web Token implementation in Python
- cachetools - Extensible memoizing collections and decorators
- arrow - Better dates & times for Python
- tenacity - Retrying library for Python
- pymongo - The Python driver for MongoDB
Feel free to contribute.
- Found a bug? Try to find it in issue tracker https://github.com/hldh214/recorder/issues ... If this bug is missing - you can add an issue about it.
- Can/want/like develop? Create pull request and I will check it in nearest time!
We use SemVer for versioning. For the versions available, see the tags on this repository.
This project is licensed under the MIT License - see the LICENSE file for details