Buckets:

MehulCoder/AutoBotUploader / AutoAnimeBot-main
432 kB
28 files
Updated 5 months ago
Name
Size
libs
functions
database
core
assest
.github
run.sh14 Bytes
xet
requirements.txt231 Bytes
xet
pkg.sh107 Bytes
xet
heroku.yml66 Bytes
xet
bot.py7.2 kB
xet
auto_env_gen.py6.35 kB
xet
app.json2.86 kB
xet
README.md5.65 kB
xet
LICENSE35.1 kB
xet
Dockerfile478 Bytes
xet
.sample.env295 Bytes
xet
.gitignore25 Bytes
xet
README.md

Stars Forks Python CodeFactor Maintenance Contributors PRs Welcome License
Sparkline

Developer Note

  • This repository is not intended or supported for deployment on KOYEB.
  • If Hosted On Heroku Then Make Sure You Are Using Premium Dynos Or Any Above then basic dynos.
  • 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.
  • Ensure that you have adhered to this developer note before reporting any errors.

Changelog Of Latest Update

v0.1

  • Shifted To Mongo Database.
  • Changed Hashing Algo To SHA256.
  • Added About Command.
  • Added SS & MediaInfo On/Off
  • 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 Multi Thread Encoding
  • Added Progress Bar of Encoding
  • Added Option For Logs In Main Channel
  • 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 Or Raise A Issue!

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.

  • MONGO_SRV - Get This From mongodb.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

  • 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.

  • FORCESUB_CHANNEL - ID of Channel Where You Want The User To Join (Make Sure You Promoted The Bot in that channel).

  • FORCESUB_CHANNEL_LINK - Link of Channel Via User Join The FORCESUB_CHANNEL.

  • THUMBNAIL - JPG/PNG Link of Thumbnail FIle.

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

  • LOG_ON_MAIN - True/False It Will Send LOGS in MAIN_CHANNEL rather than LOG_CHANNEL, default is False

  • 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.

  • DELETE_FILES_FROM_PMS - True/False It Will delete the file from pm of user after 10mins if button upload is enabled. 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.

  • sudo docker build . -t ongoing (make sure to install docker first using sudo apt install docker.io)

  • sudo docker run ongoing

Commands

Comand

Uploading of Ongoing Animes Is Automatic

Donate

Total size
432 kB
Files
28
Last updated
Jul 18
Pre-warmed CDN
US EU US EU

Contributors