/Auto-anime

Primary LanguagePythonGNU General Public License v3.0GPL-3.0

Stars Forks Python CodeFactor Maintenance Contributors PRs Welcome License
Sparkline

Description Of Latest Update

  • ReWritten Whole Program (Fully OOPs Based)
  • Optimized Core
  • Added Heroku Support
  • Added Button Upload Support (File Store)
  • Click Here To See How Button Upload Look.btnul
  • 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.

  • REDIS_URI - Get This From redis.com

  • REDIS_PASSWORD - Get This From redis.com

  • 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

  • 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