Skip to content

kaif-00z/AutoAnimeBot

Repository files navigation

Stars Forks Python CodeFactor Maintenance Contributors PRs Welcome License
Sparkline

Description Of Latest Update

  • Added Separate Anime Channel Upload
  • Click Here To See How Separate Anime Channel Upload Look.sepul1sepul2
  • Added Button Upload Support (File Store)
  • Click Here To See How Button Upload Look.btnul
  • Added ForceSub
  • Added 480p Support
  • Added Broadcast
  • Major Modification In FFMPEG Code.
  • Modified Anime Searcher
  • Admin Panel Fixed
  • ReWritten Whole Program (Fully OOPs Based)
  • Optimized Core
  • Added Heroku Support
  • Added Custom CRF Support

Contributing

  • Any Sort of Contributions are Welcomed!
  • Try To Resove Any Task From ToDo List!

How to deploy?

Fork Repo Then click on below button of ur fork repo.

Deploy

Developer Note

  • If Hosted On Heroku Then Encoding Of Per Episode Will Take Around 20mins.
  • If You Don't Have High End VPS like 8vcpu or 32GiB RAM So Don't Deploy This Bot.
  • You Can Customize FFMPEG Code If You Know What You Are Doing.

Environmental Variable

REQUIRED VARIABLES

  • BOT_TOKEN - Get This From @Botfather In Telegram.

  • FIREBASE_URL - Get This From Firebase Realtime Database Console.

  • FIREBASE_SERVICE_ACCOUNT_FILE - Get This From Firebase Realtime Database Console.

  • MAIN_CHANNEL - ID of Channel Where Anime Will Upload.

  • CLOUD_CHANNEL - ID of Channel Where Samples And Screenshots Of Anime Will Be Uploaded.

  • LOG_CHANNEL - ID of Channel Where Status Of Proccesses Will Be Shown.

  • OWNER - ID of Owner.

OPTIONAL VARIABLES

  • SESSION - Telethon Session String Of Your Telegram Account.

  • BACKUP_CHANNEL - ID of Channel Where Anime Will Be Saved As BackUP if You Are Using Button Upload Option Then Make Sure To SET Backup Channel.

  • THUMBNAIL - JPG/PNG Link of Thumbnail FIle.

  • FFMPEG - You Can Set Custom Path Of ffmpeg if u want, default is ffmpeg.

  • SEND_SCHEDULE - True/False Send Schedule of Upcoming Anime of that day at 00:30 IST, default is False.

  • RESTART_EVERDAY - True/False It Will Restart The Bot Everyday At 00:30 IST, default is True.

  • CRF - Less CRF == High Quality, More Size , More CRF == Low Quality, Less Size, CRF Range = 20-51.

Deployment In VPS

git clone https://github.com/kaif-00z/AutoAnimeBot.git

nano .env configure env as per this or using this.

bash pkg.sh

bash run.sh

Commands

Comand

Uploading of Ongoing Animes Is Automatic

About

Donate