This bot scans anime/comic/game/novel websites, and send telegram message to specific channel/group/chat upon new chapters releases.
Setting | Default value |
---|---|
Checking Interval | 30~60 min |
Retry Interval | 5 min |
Maximum Retry Number | 5 |
Command | Description |
---|---|
/list_config | List all valid config websites |
/list_latest | List latest chapters |
/list_last_check | List last check time |
Name | Default value | Description |
---|---|---|
TOKEN | Telegram Bot Token | |
CHAT_ID | Telegram Chat ID | |
CONFIG_YML_URL | Config file url (Optional) | |
CONFIG_YML_FILEPATH | config/list.yaml | Config file path (Optional, only used when CONFIG_YML_URL is not set) |
Choose either option below to run the application
-
Create
.env
TOKEN=<your token> CHAT_ID=<your chat_id>
-
Start the application with the following command:
pip install -r requirements.txt python main.py
-
Create
.env
TOKEN=<your token> CHAT_ID=<your chat_id>
-
Start the container with the following command:
docker-compose up -d
-
Set your bot token and chat_id in
secret/acgn-bot
# Examples in k8s/secrets/k8s-secrets.yaml, remember to change to your token/chat_id first kubectl apply -f k8s/secrets/k8s-secrets.yaml
-
Set your checking list yaml file in
configmap/acgn-bot.list.yaml
kubectl create configmap acgn-bot.list.yaml --from-file=config/list.yaml --dry-run=client -o yaml | kubectl apply -f -
-
Build local image and create deployment
docker build . -t nonjosh/acgn-bot kubectl apply -k k8s/base
Edit your list in the file list.yaml
. Restart container to apply changes.
- hack cocomanhua cloudflare DDOS protection
- Support other IM bot other than Telegram (e.g. Signal, Discord)
- Add back time range for checking