Skip to content

skuong/rclone-rc-api-docs

Repository files navigation

Enhanced Rclone RC (Remote Control) API docs made with Scalar

Visit live docs here: https://rclone-rc.api.mexhov.com/

UI for testing API response from rclone rc

Motivation

Rclone RC documentation is, with all due respect, not easy to get started with and doesn't have the playground to test.

I made this project so I can test the RC APIs qucikly to learn what it's about and if I want to dig deeper, I can use example in the examples folder to test syncing between different servers.

This project also serves as a friendly docs when I need to learn and use Rclone again.

I. Quick Start

1. Clone this repo

git clone https://github.com/skuong/rclone-rc-api-docs.git
cd rclone-rc-api-docs

2. Install dependencies

pnpm i

3. Spin up dev server

pnpm dev

Visit: http://localhost:5173/

4. Playing with Rclone RC APIs

First, let's spin up rclone rc server

Note: Make sure you installed rclone.

rclone rcd --rc-allow-origin='http://localhost:5173' --rc-no-auth

or

rclone rcd --rc-user=rick --rc-pass=astleypass --rc-allow-origin='http://localhost:5173'

Now you can play with RC APIs. Scalar UI showing sending request to Rclone RC with user and password

II. Explore more with examples (using Docker)

Note: Make sure you have docker running.

1. Get into the examples directory

cd examples

2. Run docker services using Docker Compose file

docker compose -f local-file.docker-compose.yaml --env-file .env.example up

or

docker compose -f minio-s3.docker-compose.yaml --env-file .env.example up

or

docker compose -f webdav.docker-compose.yaml --env-file .env.example up

About

Easy-to-read Rclone RC API docs using Scalar. Rclone is a tool for moving file between servers/Cloud

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors