ani-sub is an open-source tool designed to subscribe to anime resources from Mikan. It uses a configuration file to manage subscriptions and notifications.
- Query and download anime episodes from Mikan using Prowlarr.
- Customize notifications with ntfy.
- Flexible configuration for multiple anime subscriptions.
-
Clone the repository:
git clone https://github.com/zhu327/ani-sub.git cd ani-sub
-
Build the project:
cargo build --release
-
Move the binary to /usr/local/bin:
mv target/release/ani-sub /usr/local/bin
-
Run ani-sub:
ani-sub --config path/to/config.yaml
ani-sub uses a YAML configuration file to manage subscriptions. Here's an example configuration file:
prowlarr:
url: "your_prowlarr_url"
api_key: "your_prowlarr_api_key"
indexer: 6 # your prowlarr mikan index number
ntfy:
enable: true
topic: "your_ntfy_topic"
animes:
- keywords: "LoliHouse 迷宫饭"
exclude_keywords: ""
- keywords: "桜都字幕组 葬送的芙莉莲 简体内嵌"
exclude_keywords: ""
Adjust the values based on your preferences and subscriptions.
Run ani-sub with the path to your configuration file:
ani-sub --config path/to/config.yaml
You can schedule ani-sub to run periodically using crontab
. Open your crontab configuration:
crontab -e
Add the following line to run ani-sub every hour:
0 * * * * /usr/local/bin/ani-sub --config path/to/config.yaml
This will execute ani-sub every hour and check for new episodes based on your subscriptions.
This project is licensed under the MIT License.