项目作者: wangsijie

项目描述 :
☁️Simple web cloud storage based on rclone, transform cloud storage (s3, google drive, one drive, dropbox) into own custom web-based storage
高级语言: TypeScript
项目地址: git://github.com/wangsijie/rclone-drive.git
创建时间: 2019-04-10T06:25:33Z
项目社区:https://github.com/wangsijie/rclone-drive

开源协议:MIT License

下载


Rclone Drive · npm version License: MIT

☁️Simple web cloud storage based on rclone, transform cloud storage (s3, google drive, one drive, dropbox) into own custom web-based storage

Take a demo: https://demo.rclone.app

password: pass

🏗️Under development

screenshot

👻 Features

Thanks to rclone

  1. ✅Support most of well-known cloud storage providers. (s3, google drive, dropbox, one drive …see full list)

  2. 🔒Full encryption, you control your own files, privacy insured. read more

  3. 🗄️Easy to backup.

  4. 🌍Get/Add your files from anywhere via a browser.

  5. ⛔No ads.

  6. 🤨One client to manage multiple drive backend.

  7. 🚀Supper fast.

🛫 Getting started

1. Install

  1. npm i -g rclone-drive

2. Install rclone

See rclone official guide, you can either download binary file or install globally.

3. Config rclone

See rclone official guide, add a new remote using:

  1. rclone config

4. Get params

—rclone

If you installed rclone globally, run this command to get rclone bin path:

  1. which rclone

or if you downloaded rclone bin manually, that’s the file rclone(rclone.exe in Windows)’s full path.

—rclone-config

Rclone config file path, by default, run this command to show:

  1. rclone config file

—base-dir

The remote you just added to rclone, for example, you add a s3 remote named mys3, and want to use bucket mybucket as rclone-drive’s base dir, just set mys3:mybucket (no slash in the end)

5. 🚀 Ready to go

  1. rclone-drive --rclone="<somepath>" --rclone-config="<somepath>" --base-dir="mys3:mybucket"

then open http://localhost:3000 and enter the password shown in command line.

⚙️ Configuration

  1. Usage: rclone-drive [options]
  2. Options:
  3. -V, --version output the version number
  4. -P, --port [port] Server port (default: "3000")
  5. -a, --address [address] Server port (default: "localhost")
  6. -p, --password [password] Password to login, default is random string
  7. -s, --secret [secret] Session secret, if not set, session will only be saved in memory
  8. -r, --rclone [rclone] Rclone bin path, e.g "/usr/local/bin/rclone"
  9. -R, --rclone-config [rcloneConfig] Rclone config file path, e.g "/Users/wangsijie/.config/rclone/rclone.conf"
  10. -d, --base-dir [baseDir] Rclone base dir, e.g "s3:defaultbucket"
  11. -h, --help output usage information

🔧 TODO

  • Check if rclone is installed properly
  • File sharing
  • Directory/File move
  • Docker support
  • Upload progress