- Set up your
.env
-> create.env
from.env.example
with your telegram token and chat id - Run
go build
to create an.exe
- use
./mangadownloader.exe -list -local -telegram
-list
: show list of all manga chapter from OPT-local
: downloads chapters locally-telegram
: send chapterpages to your Telegram chat
# How to get Bot Token? -> https://core.telegram.org/bots#how-do-i-create-a-bot
TELEGRAM_BOT_TOKEN = <YOUR_TELEGRAM_API_TOKEN>
# How to get Chat ID? -> https://stackoverflow.com/a/38388851
# https://api.telegram.org/bot<TOKEN>/getUpdates
TELEGRAM_CHAT_ID=<Your_ChatId>
- create a cool cli prompt to use different commands:
- chapterNumber: select chapterNumber directly
- list: show list of all manga chapter from OPT
- local: for downloading chapters locally
- send chapterpages to your Telegram chat