Giter Club home page Giter Club logo

rclone-index's Introduction

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

Features

  • Multiple rclone remotes in one index
  • No colons in URL (following MLTB method), unlike the default behavior of other similar repos
  • Light mode and dark mode
  • Easy deployment
  • Docker and VPS supported (even for no-root environment)
  • Many PaaS platforms supported (some are even free)
  • Loading rclone configs via base64 or GitHub Gist link
  • Authentication supported

Demo Site

https://demo.rclone-index.workers.dev/

Environment variables

  1. CONFIG_BASE64 (mandatory, select one)

Note

IMPORTANT: Select one between CONFIG_BASE64 or CONFIG_URL. CONFIG_BASE64 is recommended because it doesn't expose your rclone config as a link. Use this if you want maximum security.

Rclone config that has been encoded with base64. You can use https://emn178.github.io/online-tools/base64_encode.html to encode your rclone.conf content, copy the encoded config, and paste it to this variable.

  1. CONFIG_URL (mandatory, select one)

Note

IMPORTANT: Select one between CONFIG_BASE64 or CONFIG_URL. CONFIG_URL is not recommended because it exposes your config as a link, even though the chance people may stumble into your link is very little as it is a private gist.

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.

  1. DARK_MODE (Optional)

Set this to true to enable dark mode. Leaving this empty or any value other than true will set it to light mode. You can also edit the dark mode's template at templates/dark.html. Thanks to @culturecloud for the dark mode template (I couldn't find it anywhere else)

Light mode (default): Light mode

Dark mode: Dark mode

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_BASE64= -e CONFIG_URL= -e PORT=8080 -e USERNAME= -e PASSWORD= -e DARK_MODE=false -p 8080:8080 rclone-index

VPS (without root)

  1. Copy these commands and modify the environment variables (remove if needed)
export CONFIG_BASE64=
export CONFIG_URL=
export PORT=8080
export USERNAME=
export PASSWORD=
export DARK_MODE=false
  1. Run this command
curl https://raw.githubusercontent.com/devolart/rclone-index/main/start.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

Unfortunately, the original project has been suspended on Glitch

Koyeb

Deploy to Koyeb

Clever Cloud

Fork this repo, connect your Clever Cloud account to the forked repo, add environment variables (don't add PORT variable), and deploy it

Northflank

Make a new service, use https://github.com/devolart/rclone-index as GitHub template, add environment variables (set the port to 8080), expose 8080 port as HTTP to the internet, and deploy it

Support Group

Telegram Channel

Telegram Group

Credits

  1. Rclone for the amazing tool
  2. Other users who have created rclone index repos before
  3. @devolart for making this approach of Rclone index

rclone-index's People

Contributors

devolart avatar

Stargazers

DINESH B avatar  avatar Hank Blaze avatar Azhe Kun avatar  avatar  avatar Tom Mortinez (mttom) avatar Brainded Kazuma avatar Sito Mao aka Eric Austin avatar MD YUNUS avatar RyzeNGrind avatar

Watchers

 avatar

rclone-index's Issues

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.