Giter Club home page Giter Club logo

all-in-one-downloader-bot's Introduction


Deploy on Railway

All In One Bot Downloader

This versatile Telegram bot, built using Fastify (a faster and optimized alternative to Express), Axios, dotenv, node-telegram-bot-api, require-all, Chai, Mocha, and Nodemon, serves as a comprehensive media downloader from various social media platforms. Leveraging the power of these technologies, it offers efficient and reliable media retrieval capabilities.

Disclaimer

This project is entirely my creation, developed from scratch, showcasing my expertise in building a versatile media downloader Telegram bot using various APIs. It represents my proficiency in technologies such as Fastify, Axios, dotenv, node-telegram-bot-api, require-all, Chai, Mocha, and Nodemon, and underscores my ability to create efficient and comprehensive solutions from the ground up.

Technologies Used

  • Fastify: A high-performance, low overhead web framework for Node.js.
  • Axios: A promise-based HTTP client for making HTTP requests to fetch media content.
  • dotenv: A zero-dependency module for loading environment variables from a .env file.
  • node-telegram-bot-api: A library for building Telegram bots.
  • require-all: A tool for easily requiring all files within a directory.
  • Chai and Mocha: Testing frameworks for ensuring code quality.
  • Nodemon: A utility that monitors for changes in your source code and automatically restarts your server.
  • Mongo DataBase: A no-sql database that is used to store user id's

Getting Started

To run this project locally, follow these steps:

  1. Clone the repository:

    git clone https://github.com/diegormirhan/all-in-one-downloader-bot.git
    cd all-in-one-downloader-bot
  2. Install the dependencies:

    npm install
  3. Create a .env file in the project root directory and add the following environment variables:

    RAPID_API_KEY = your-rapid-api-key
    RAPID_API_HOST = your-rapid-api-host
    TELEGRAM_API = your-telegram-api-token
    DATABASE_URL = your-mongodb-token-url
    ADMIN_ID = your-admin-chat-id
    ADMIN_PASSWORD = your-admin-password

    You can obtain the RAPID_API_KEY and RAPID_API_HOST by signing up for the Auto Download All in One API on RapidAPI.

  4. Start the server in development mode using Nodemon:

    npm run dev
  5. Start using your Telegram bot! Send it media links from various social media platforms, and it will reply with downloadable files.

Note

Before using the Auto Download All in One API, make sure to sign up for an API key and host on RapidAPI as mentioned in step 3. This will allow your bot to access the media data from All social media.

Additionally, this project is hosted on Railway for easy deployment and accessibility.

Feel free to customize and extend this bot to support more social media platforms and enhance its functionality. Enjoy downloading media hassle-free with the All In One Bot Downloader!


all-in-one-downloader-bot's People

Contributors

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