Skip to content

TensoRaws/AnimePipeline

Folders and files

NameName
Last commit message
Last commit date

Latest commit

6d03b30 · Jan 3, 2025

History

23 Commits
Dec 22, 2024
Jan 3, 2025
Oct 25, 2024
Dec 24, 2024
Dec 25, 2024
Dec 24, 2024
Oct 25, 2024
Dec 25, 2024
Oct 25, 2024
Oct 25, 2024
Oct 14, 2024
Oct 25, 2024
Jan 3, 2025
Dec 22, 2024
Jan 3, 2025

Repository files navigation

AnimePipeline

auto encode new anime episode, driven by FinalRip

codecov CI-test CI-test-cli Docker Build CI Release PyPI version GitHub

Architecture

AnimePipeline

Installation

FinalRip is required, if you don't familiar with it, please play with it first.

Python 3.9 or higher is required, we use poetry to manage dependencies.

btw, make is required to run the commands in the Makefile.

poetry install
make run

or you can use docker to run the project, see docker-compose.yml for more details.

CLI

some useful command line tools are provided, you can use them to rename or generate some info

pip install animepipeline
ap-rename -h
ap-btf -h

Configuration

Server Config:

  • loop interval: the interval of the loop, default is 200s
  • 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
  • telegram bot token & channel id: your own bot token and channel id

RSS Config:

supports hot reloading, which means you can update your config without needing to restart the service.

you should provide the compatible params and scripts in the params and scripts folder.

the file name will be used as the key

  • base: the default settings, can be overridden in the rss list
  • link: the rss link, make sure it's a valid rss link
  • pattern: to match the episode(int), use regex

Reference

License

This project is licensed under the GPL-3.0 license - see the LICENSE file for details.