|
1 | 1 | # AnimePipeline
|
2 | 2 |
|
3 |
| -auto encode new anime episode |
| 3 | +auto encode new anime episode, driven by [**FinalRip**](https://github.com/TensoRaws/FinalRip) |
| 4 | + |
| 5 | +[](https://codecov.io/gh/TensoRaws/AnimePipeline) |
| 6 | +[](https://github.com/TensoRaws/AnimePipeline/actions/workflows/CI-test.yml) |
| 7 | +[](https://github.com/TensoRaws/AnimePipeline/actions/workflows/CI-docker.yml) |
| 8 | +[](https://github.com/TensoRaws/AnimePipeline/actions/workflows/Release.yml) |
| 9 | +[](https://badge.fury.io/py/animepipeline) |
| 10 | + |
| 11 | + |
| 12 | +### Architecture |
| 13 | + |
| 14 | + |
| 15 | + |
| 16 | +### Installation |
| 17 | + |
| 18 | +FinalRip is required, if you don't familiar with it, please play with it first. |
| 19 | + |
| 20 | +Python 3.9 or higher is required, we use poetry to manage dependencies. |
| 21 | + |
| 22 | +btw, `make` is required to run the commands in the `Makefile`. |
| 23 | + |
| 24 | +```bash |
| 25 | +poetry install |
| 26 | +make run |
| 27 | +``` |
| 28 | + |
| 29 | +or you can use docker to run the project, see [docker-compose.yml](./deploy/docker-compose.yml) for more details. |
| 30 | + |
| 31 | +### Configuration |
| 32 | + |
| 33 | +#### Server Config: |
| 34 | + |
| 35 | +- loop interval: the interval of the loop, default is 200s |
| 36 | +- _download path_: the path to save the downloaded torrent file, if you use docker, you should mount the volume to the container, then use the path in the container. like `/downloads` |
| 37 | +- telegram bot token & channel id: your own bot token and channel id |
| 38 | +- telegram bot api: use tg bot local mode, see [telegram-bot-api](https://core.telegram.org/api/obtaining_api_id) for more details. |
| 39 | + |
| 40 | +#### RSS Config: |
| 41 | + |
| 42 | +you should provide the compatible params and scripts in the [params](./conf/params) and [scripts](./conf/scripts) folder. |
| 43 | + |
| 44 | +**the file name will be used as the key** |
| 45 | + |
| 46 | +- base: the default settings, can be overridden in the rss list |
| 47 | +- link: the rss link, make sure it's a valid rss link |
| 48 | +- pattern: to match the episode(int), use regex |
| 49 | + |
| 50 | +### Reference |
| 51 | + |
| 52 | +- [**FinalRip**](https://github.com/TensoRaws/FinalRip) |
| 53 | +- [FFmpeg](https://github.com/FFmpeg/FFmpeg) |
| 54 | +- [VapourSynth](https://github.com/vapoursynth/vapoursynth) |
| 55 | +- [asyncio](https://docs.python.org/3/library/asyncio.html) |
| 56 | +- [httpx](https://github.com/encode/httpx) |
| 57 | +- [qbittorrent](https://github.com/qbittorrent/qBittorrent) |
| 58 | +- [qbittorrent-api](https://github.com/rmartin16/qbittorrent-api) |
| 59 | +- [telegram-bot-api](https://github.com/tdlib/telegram-bot-api) |
| 60 | +- [python-telegram-bot](https://github.com/python-telegram-bot/python-telegram-bot) |
| 61 | + |
| 62 | +### License |
| 63 | + |
| 64 | +This project is licensed under the GPL-3.0 license - see the [LICENSE file](https://github.com/TensoRaws/AnimePipeline/blob/main/LICENSE) for details. |
0 commit comments