Need to stream my encrypted movies from my google drive. I think that will be the main marketing point.
The browser doesn’t give access to the file system. The HTTP server needs an endpoint to serve up file listings. This is what we do for https://relicabackup.com. It’s still safe, as the HTTP server runs with the user’s permissions, unless you run it as root; in other words, it takes on after the OS’s normal permissions model, and the browser requires no extra permissions to be granted this way.
Also something we’ve (mostly) figured out for Relica – and it depends highly on the platform and is mostly simple (except on Windows) – but what does rclone need to run as a daemon for? Unless you’re using
minio does this with js. Asks for access/secret key to list files in a web browser GUI. You can do a few operations, like download & delete.
A GUI would be very nice particularly if you’re using crypt & can’t use the one provided by the backend. I use the backup-dir flag on one remote and if I want to actually restore a deleted file it can be somewhat difficult to locate the file, properly escape the path, etc
I think I’ve used the wrong term by throwing in daemon. I’m sorry for the confusion.
What I imagine is to have a real desktop app for interaction and a helper/background app to keep track of/execute scheduled backups with desktop notifications. Something along the lines of Arq, Backblaze, etc.
I truly believe that a dedicated desktop app yields a better user experience than a browser based one. Especially when handling files via drag and drop. I may just be old and believe in platform specific paradigms. So please feel free to enlighten me with loads of examples.
Ah, okay, so now you’re talking about backup software. (And yes, this is what I had thought you meant before.) I get that rclone is used for backups a lot, but that’s definitely just one use case for it – and I’m not sure that an official rclone UI would be a good fit for making rclone only backup software, or diverting too much engineering effort to just backups. IMO rclone should do one thing and do it well: file operations in the cloud.
It depends I think. People are very comfortable in the browser. Browsers provide standard navigation cues like a back button, a unique address for every screen the user is looking at, and makes documentation much easier. For example, the docs can point to a link rather than instructions for clicking through to find a certain element in a native UI
Yes, dragging files around is definitely better handled native; but browsers can be the drop targets of files, too. Admittedly it doesn’t provide all the information about the file that might be necessary, but in that case, there are definitely ways to build good in-browser-app drag-and-drop experiences, with the likes of a file pane on the left and on the right, and the ability to drag between them, if not from the native file explorer. But if you have a good file explorer in the same window, you may not need to fuss with one outside the window, which might even be easier. (Messing with window layouts, trying to size them and put them next to each other, is a pain in my experience.)
Anyway, just my $0.02. There’s a lot of potential for browser-based GUIs. We want to push the limit with Relica, and I’m confident it will make a statement that browser UIs are totally workable.
Web UI served from rclone is very cool idea.
It’s better if rclone serve provide an RESE API, so a third-party web or GUI APP can access rclone serve
I do like this approach better than a fully-baked GUI into rclone itself.
I agree that approach is also what I prefer. With it we have all possiblities while maintaining a lightweight rclone binary.
Native file explorer
That’s in my opinion the way to go. Have a stable REST API so tools can access rclone as a backend.
The software list was only given as an example to the automation and scheduling. Of course we should keep RClone as versatile as it is.
My thinking would be to extend the
rc interface and to make a new command
rclone serve rc or something like that which would run the rclone rc interface. Optionally it could serve files from somewhere.
@gelsas what about one script similar to multcloud, self hosted
Working in IOS on safari, chrome android, all browsers.
With possibility to bridge serve, so browser would create server like in rclone serve http or webdav command.
So other apps on ios, webdav clients would be able to use it.
For now i have normal rclone binary on jailbroken ios and filza so everything works for me.
But i cant upgrade my ipad to not lose jailbreak and lose shell and cydia and filza.
So such browser based client would be amazing.
That is theoretically possible! I did compile rclone with gopherjs a while back and the go toolchain support web assembly now.
We’d need to work out
- how to get rclone doing its http requests through the browser
- how to attach that to some sort of GUI
A big project, but not impossible! I’ve been amazingly impressed with gopherjs & go/wasm - here are some things I made with it as warmup exercises!
panic: network access is not supported by GopherJS
in context of rclone serve …
-being able to transfer from one remote to another remote.
-option to mount remote
-able to manipulate individual files copy/move etc.
So to summarize everything till now we will make a lightweight inbrowser GUI.
Suggestions on which language/js to use ?
What possiblities do we have to make rclone serve work from within the browser ?
Kill me for suggesting this, but what about making it an Electron app? Portability will be a non-issue, the UI wouldn’t be hard to bundle, and I think rclone could be bundled directly for those who don’t want to setup a GUI and rclone separately.