clouddownloadmanager v1.2.1
Cloud Download Manager
This is a Telegram bot that allows users to download files using the aria2 downloader. The bot provides various commands for users to interact with the downloader, such as starting a download, viewing the download status, canceling a download, and listing downloaded files.
Features
- Download files using aria2
- View download status
- Cancel downloads
- List downloaded files
- Delete downloaded files
- Display server statistics
Setup
Config ARIA2 : Install Aria
Config Telegram Bot : Config TG Bot
Install
npm install -g clouddownloadmanager
RUN
clouddownloadmanager
Extend the Features
Cloud Download Manager on a Raspberry Pi
Running the cloud download manager on a Raspberry Pi is a great idea, as it allows you to have a low-cost, low-power device that can be always on and accessible from anywhere. Here are some of the benefits of using a Raspberry Pi for this project:
Cost-effective: Raspberry Pi is an affordable option for a small-scale cloud download manager.
Low power consumption: Raspberry Pi uses very little power, making it an energy-efficient option.
Easy to set up: Raspberry Pi is easy to set up and can be configured to run the cloud download manager with minimal effort.
Always on: Raspberry Pi can be left on all the time, allowing for downloads to continue even when you're away from your computer.
Portable: Raspberry Pi is small and portable, making it easy to move from one location to another.
Overall, using a Raspberry Pi to run the cloud download manager is a great way to have an always-on, low-cost, and energy-efficient device for downloading files from the cloud.
Using ngrok to Access Your Cloud Download Manager Globally
If you've set up a cloud download manager on your local machine, you may want to access your content from anywhere without having to configure your server for external access. Ngrok is a tool that allows you to do just that by creating a secure tunnel to your locally running server.
Here's how to use ngrok to tunnel a local port for accessing your cloud download manager content:
First, make sure you have ngrok installed on your machine. You can download it from the official website: https://ngrok.com/download
Start your cloud download manager application and note the port it's running on. For example, if your cloud download manager is running on port 4500, make sure that the application is running and listening on that port.
Open a terminal window and navigate to the directory where you installed ngrok. Run the following command to start the tunnel and expose your local server to the ngrok server:
ngrok http 4500
This will create a secure tunnel to your locally running cloud download manager on port 4500.
Once the tunnel is running, ngrok will provide you with a unique URL that you can use to access your cloud download manager content from anywhere. The URL will look something like this:
https://randomstring.ngrok.io
To access your cloud download manager content, simply use the URL provided by ngrok in your web browser or other HTTP client.
That's it! With ngrok, you can easily access your locally running cloud download manager from anywhere in the world without having to configure your server for external access. Just remember that ngrok is designed for testing and development purposes only and should not be used for production deployments.