sntran / denolcr Goto Github PK
View Code? Open in Web Editor NEWRclone running in Deno
Rclone running in Deno
Hey,
Could you share how you build the rclone.wasm
file. Is it essentially this https://github.com/rclone/rclone/blob/master/fs/rc/js/main.go or the main application modified to only include the mentioned backends?
I think its a really interesting approach and Id like to explore it myself a bit but need more backends. Thanks
Hey! I'm trying to build a cloud file explorer that runs completelly on the browser. It's main objective is provinding a portable and universal interface to access encrypted files in the cloud.
After some research I found the wasm rclone build, this repo and this dicussion on rclone's forum. Your contributions were very valuable to me, thanks a lot!
The problem I'm facing is: I've made a new wasm build including gdrive backend but I can't figure out how to configure it.
Running rc("config/create", config);
doesn't seem to set the configuration. My config
object looks like this:
config = {
name: "GoogleDrive",
type: "drive",
client_id:"XXX.apps.googleusercontent.com",
client_secret: "XXX",
scope: "drive",
root_folder_id: "",
token: JSON.stringify(token),
team_drive: "",
parameters: { "env_auth": false },
opt: { nonInteractive: true, all: true },
};
Any ideas about what I'm doing wrong or where to look for it?
Also, I'm sorry if this is not the place to ask for help, I can move this dicussion somewhere else.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.