Buckets:

Mehullll's picture
|
download
raw
5.65 kB
[![Stars](https://img.shields.io/github/stars/kaif-00z/AutoAnimeBot?style=flat-square&color=yellow)](https://github.com/kaif-00z/AutoAnimeBot/stargazers)
[![Forks](https://img.shields.io/github/forks/kaif-00z/AutoAnimeBot?style=flat-square&color=orange)](https://github.com/kaif-00z/AutoAnimeBotfork)
[![Python](https://img.shields.io/badge/Python-v3.12.3-blue)](https://www.python.org/)
[![CodeFactor](https://www.codefactor.io/repository/github/kaif-00z/autoanimebot/badge)](https://www.codefactor.io/repository/github/kaif-00z/autoanimebot)
[![Maintenance](https://img.shields.io/badge/Maintained%3F-yes-green.svg)](https://github.com/kaif-00z/AutoAnimeBot/graphs/commit-activity)
[![Contributors](https://img.shields.io/github/contributors/kaif-00z/AutoAnimeBot?style=flat-square&color=green)](https://github.com/kaif-00z/AutoAnimeBot/graphs/contributors)
[![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square)](https://makeapullrequest.com)
[![License](https://img.shields.io/badge/license-GPLv3-blue)](https://github.com/kaif-00z/AutoAnimeBot/blob/main/LICENSE)
[![Sparkline](https://stars.medv.io/kaif-00z/AutoAnimeBot.svg)](https://stars.medv.io/kaif-00z/AutoAnimeBot)
## 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
- <details><summary>Click Here To See How Separate Anime Channel Upload Look.</summary><img src="https://graph.org/file/a0636332545730a4d3d43.jpg" alt="sepul1"/><img src="https://graph.org/file/3eb0b86609469f385f4b5.jpg" alt="sepul2"/></details>
- Added Button Upload Support (File Store)
- <details><summary>Click Here To See How Button Upload Look.</summary><img src="https://graph.org/file/3e9abc9ec7de6a26fd1a1.jpg" alt="btnul"/></details>
- 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?
<p><a href="https://www.youtube.com/live/hWf7DN3nN_c"> <img src="https://img.shields.io/badge/See%20Video-black?style=for-the-badge&logo=YouTube" width="160""/></a></p>
### Fork Repo Then click on below button of ur fork repo.
[![Deploy](https://www.herokucdn.com/deploy/button.svg)](https://heroku.com/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](https://github.com/kaif-00z/AutoAnimeBot/blob/main/.sample.env) or using [this](https://github.com/kaif-00z/AutoAnimeBot/blob/main/auto_env_gen.py).
- `sudo docker build . -t ongoing` (make sure to install docker first using `sudo apt install docker.io`)
- `sudo docker run ongoing`
## Commands
[![Comand](https://files.catbox.moe/utcf3f.jpg)](https://github.com/kaif-00z/AutoAnimeBot/)
**Uploading of Ongoing Animes Is Automatic**
<!-- ## About
- This Bot Is Currently Running In [This Channel](https://t.me/+q_OBZiXjkBFkYzk0) . -->
## Donate
- [Contact me on Telegram](t.me/kaif_00z) if you would like to donate me for my work!

Xet Storage Details

Size:
5.65 kB
·
Xet hash:
2d927ba2003e46809aef066a847b1fad17757133c65d38e0aee9e0cdc15d1cb3

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.