Deploy rclone index for your cloud storages easily
Keep in mind that there are already some other rclone index repositories out there that you can deploy for yourself, this repository is mainly my own approach for that purpose. To name a few of those repositories: (these repositories may be old, but they should still work)
- https://github.com/developeranaz/RCLONE-SERVE-INDEX
- https://github.com/culturecloud/rclone-index
- https://github.com/iamdjsai9999/Multi-Cloud-Index
https://rclone-index.glitch.me/
CONFIG_URL
Raw rclone config URL. You can use https://gist.github.com, create a secret gist, paste your rclone.conf content, save it, and copy the raw URL of that gist.
PORT
(Optional)
Server port you want to use for rclone index. If you use PaaS, it's most likely that PORT variable has been assigned by default, so you can leave this blank first to check. If you don't specify and the server you use doesn't assign PORT variable automatically, it will use 8080 port.
USERNAME
(Optional)
Username for authentication (leave blank for no auth). It must be paired with PASSWORD
variable if you want to add authentication.
PASSWORD
(Optional)
Password for authentication (leave blank for no auth). It must be paired with USERNAME
variable if you want to add authentication.
You need to make sure that Docker is installed in your server
- Clone this repo
git clone https://github.com/devolart/rclone-index
- Open the cloned repo directory
cd rclone-index
- Build the docker
sudo docker build . -t rclone-index
- Copy this command, modify the environment variables (remove if needed), and run it
sudo docker run -e CONFIG_URL= -e PORT=8080 -e USERNAME= -e PASSWORD= -p 8080:8080 rclone-index
- Copy these commands and modify the environment variables (remove if needed)
export CONFIG_URL=
export PORT=8080
export USERNAME=
export PASSWORD=
- Run this command
curl https://raw.githubusercontent.com/devolart/rclone-index/main/noroot.sh | bash
Make a new web service, use https://github.com/devolart/rclone-index
as GitHub template, add environment variables (don't add PORT variable), and deploy it
Press remix button in the bottom, and then after remixing, edit .env
file to add environment variables.