Coder Social home page Coder Social logo

satyamisme / advance-content-saver-bot Goto Github PK

View Code? Open in Web Editor NEW

This project forked from rahulsinghcreator/advance-content-saver-bot

0.0 0.0 0.0 72 KB

Advance telegram messages/files forwarder bot that can also save the restricted content materials on channels/group.

Home Page: https://devgagan.in

License: MIT License

Shell 0.29% Python 99.40% Dockerfile 0.23% Procfile 0.08%

advance-content-saver-bot's Introduction

Advance Content Saver Bot

Advance Telegram Bot that can work as Message/Files Forwarder from Restricted or Non-Restricted Channels/Groups/Bots. It can save files even if the channel have restrictions of forwarding or else.

What can this bot do

  • Forward public/private channel messages for private user login needed as forward method
  • Save/clone individual post by its post link
  • Can save multiple post link via batch command up to 10K

Deployment Methods

VPS Deployment

  1. Initial Setup:

    • Edit both __init__.py and config.py files with your variables.
  2. Clone and Run:

    • Clone your forked and edited repository:
      git clone forked_edited_repo_link
    • Navigate to the repository directory:
      cd repo_name
    • Copy __init__.py to the src/devagagan directory:
      cp __init__.py src/devagagan
    • Run the bot:
      python main.py && cd src && python -m devgagan

Heroku Deployment

  1. Setup on Heroku:

    • Go to Heroku Dashboard and create a new app.
    • Connect your GitHub repository to Heroku.
    • Search and deploy the forked repository.
    • Back to the app view and refresh the page.
  2. Configure Dynos:

    • Configure dynos for devagagan1 and devgagan2.

Additional Notes

  • Make sure to replace forked_edited_repo_link with the link to your forked and edited repository.
  • Replace repo_name with the name of your repository.
  • Update the __init__.py and config.py files with your bot's specific variables before deployment.
  • Ensure that your bot is configured correctly according to the requirements of the Telegram Bot API.

How to edit __init__.py

# variables
API_ID = "1234567" #config("API_ID", default=None, cast=int)
API_HASH = "1167433546577f90e4519b65634b7" #config("API_HASH", default=None)
BOT_TOKEN = "7173773796:AAEYdIdgUg1_SYR7wSaMpgY0" #config("BOT_TOKEN", default=None)
SESSION = "BQHDMOUAIOGZHesmwkhKztZ1bU7NokB1HVLtNKHAnr35ElBp-FQ7IPkvayF0s5JoOGLN44ksi4kqeUNxnG56Vd8Mh_2Lo3ICHSN2J2u0WyYIOj96FBxN2gq_iekABQkL-vdXTB1DrOswqzBJBG9RaGPFVoiEYDAd0iD2vqgT3x2wOz98gBZNKPCGpWQYbGR6GKe66W5SRZRlLWJaEDQcTEIxNF48nIEGW7cwK2AG3eR4-iyVg5Zxaje_ACeNuCN5kLtQsNkGEV23f7-EdLQTG1zKnZ57AjUvYQdJ7o1pdGhkKknUUmOcfG4xn42RbHUwccqD1CmsGLU5Zh-vTbgBGh9AiP79HAAAAAGlHSMFAA" #config("SESSION", default=None)
FORCESUB = "channel username without @" #config("FORCESUB", default=None)
AUTH = "1234567" #config("AUTH", default=None)

Commands Available in Bot - TEAM SPY

  • /start - to start the bot
  • /batch - to download the files in range/bulk by giving one post link and range value
  • /cancel - to cancel the onging /batch task
  • /stats - to viewing the statics of bot
  • /speedtest - can be executed by owner only
  • /setchat - Set forwarding to a channel/group via channel/group ID including -100
  • /forward or /fwd - to start forward
  • /settings - to change settings for forward bot
  • restart - to restart the bot
  • /resetall - to reset unlink all other users / bot
  • /broadcast - send bulk message to all users who ever have started the bot
  • /help - get help about other commands

Support

Terms of USE / Modification

Visit Terms and accept the guidelines.

Contributing

Contributions are welcome! Please feel free to submit issues or pull requests.

License

This project is licensed under the MIT License.

advance-content-saver-bot's People

Contributors

devgaganin avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.