xditz1 / telebox-index

Deploy rclone index for your cloud storages easily

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

rclone-index

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)

  1. https://github.com/developeranaz/RCLONE-SERVE-INDEX
  2. https://github.com/culturecloud/rclone-index
  3. https://github.com/iamdjsai9999/Multi-Cloud-Index

Demo Site

https://rclone-index.glitch.me/

Environment variables

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

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

  1. USERNAME (Optional)

Username for authentication (leave blank for no auth). It must be paired with PASSWORD variable if you want to add authentication.

  1. PASSWORD (Optional)

Password for authentication (leave blank for no auth). It must be paired with USERNAME variable if you want to add authentication.

Deployments

Docker

You need to make sure that Docker is installed in your server

  1. Clone this repo
git clone https://github.com/devolart/rclone-index
  1. Open the cloned repo directory
cd rclone-index
  1. Build the docker
sudo docker build . -t rclone-index
  1. 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

VPS (without root)

  1. Copy these commands and modify the environment variables (remove if needed)
export CONFIG_URL=
export PORT=8080
export USERNAME=
export PASSWORD=
  1. Run this command
curl https://raw.githubusercontent.com/devolart/rclone-index/main/noroot.sh | bash

Heroku

Deploy

Scalingo

Deploy on Scalingo

Render

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

Railway

Deploy on Railway

Glitch

Remix on Glitch

Press remix button in the bottom, and then after remixing, edit .env file to add environment variables.

Koyeb

Deploy to Koyeb

About

Deploy rclone index for your cloud storages easily


Languages

Language:Shell 92.0%Language:Dockerfile 6.9%Language:Procfile 1.2%