Kreijstal
(Kreijstal)
June 22, 2020, 5:43am
#1
Is there an API that you can use in order to let rclone manage your own endpoint? I mean rclone is amazing already but what if you wanted to write your own custom endpoint, how would you do that?
What do you mean by 'your own endpoint'? You'd have to pick one of the remotes that rclone currently supports and you can use remote control to interact with rclone:
https://rclone.org/commands/rclone_rc/
Kreijstal
(Kreijstal)
June 22, 2020, 12:23pm
#3
Of course, I'm asking how do you develop a remote.
I would think you'd learn some GO and you can check out:
"rsync for cloud storage" - Google Drive, Amazon Drive, S3, Dropbox, Backblaze B2, One Drive, Swift, Hubic, Cloudfiles, Google Cloud Storage, Yandex Files - rclone/rclone
I'm sure @ncw could add some more verbiage but from a non developer point of you, that's how I would start.
ncw
(Nick Craig-Wood)
June 22, 2020, 5:02pm
#6
Here are the steps you need to take to write a new backend
# Contributing to rclone #
This is a short guide on how to contribute things to rclone.
## Reporting a bug ##
If you've just got a question or aren't sure if you've found a bug
then please use the [rclone forum](https://forum.rclone.org/) instead
of filing an issue.
When filing an issue, please include the following information if
possible as well as a description of the problem. Make sure you test
with the [latest beta of rclone](https://beta.rclone.org/):
* Rclone version (eg output from `rclone -V`)
* Which OS you are using and how many bits (eg Windows 7, 64 bit)
* The command you were trying to run (eg `rclone copy /tmp remote:tmp`)
* A log of the command with the `-vv` flag (eg output from `rclone -vv copy /tmp remote:tmp`)
* if the log contains secrets then edit the file with a text editor first to obscure them
This file has been truncated. show original
I recommend reading the whole CONTRIBUTING doc if you are planning to make a new backend, but those are the specific steps.
The integration tests are really important - they are the thing that keeps rclone reliable!
system
(system)
closed
August 22, 2020, 1:04pm
#7
This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.