News for hackers. Stuff that matters.
Re:Draw.io: Online Diagramming Website by flanbiscuit on Tuesday November 12, 2019 @09:30AM (#21514349)
> draw.io is a client-side, static web application. There is no user authenication or data storage concept in this repo. The online version stores data in mainstream cloud storage options, currently Google Drive, OneDrive, Dropbox, Github, Gitlab or Trello.

I love this about Draw.io. This is how I want to build my applications. I don't want to deal with storing any user data and rather let them handle it how they see fit.

Re:Draw.io: Online Diagramming Website by insomniacity on Tuesday November 12, 2019 @10:11AM (#21514663)
You may be interested in https://remotestorage.io/.
Re:Draw.io: Online Diagramming Website by monk_e_boy on Tuesday November 12, 2019 @12:13PM (#21515808)
Oh wow, thanks for that link. I've been wanting my users to be able to save data and share links for ages.
Re:Draw.io: Online Diagramming Website by hanniabu on Tuesday November 12, 2019 @10:52AM (#21515016)
> mainstream cloud storage options, currently Google Drive, OneDrive, Dropbox, Github, Gitlab or Trello.

Anybody know of a library of service (preferably open source) that offers an easy API to interact with all these in such a way?

Re:Draw.io: Online Diagramming Website by sbr464 on Tuesday November 12, 2019 @11:18AM (#21515258)
BrowserFS has a few different APIs integrated. Not the lightest library though.

https://github.com/jvilk/BrowserFS/blob/master/README.md

Re:Draw.io: Online Diagramming Website by breck on Tuesday November 12, 2019 @01:36PM (#21516710)
I would also love such a library. I currently follow the same pattern of making web apps that only use local storage so I don’t have access to user data, but would like to allow users to easily use their existing cloud services for persistence.
Re:Draw.io: Online Diagramming Website by narsil on Wednesday November 13, 2019 @07:19PM (#21531357)
Check out https://kloudless.com! (Disclaimer: I'm a co-founder)

Here's our open source file picker: https://github.com/kloudless/file-explorer/ (the server-side is closed source and requires a paid subscription beyond a point)

Re:Draw.io: Online Diagramming Website by janee on Wednesday November 13, 2019 @12:08AM (#21521306)
Maybe something like https://kloudless.com/ haven't used them though

Only other option I could find is https://github.com/rclone/rclone but it's a commandline tool

Re:Draw.io: Online Diagramming Website by binbasti on Wednesday November 13, 2019 @08:46AM (#21523865)
The remoteStorage reference client can also sync with Google Drive and Dropbox:

https://remotestoragejs.readthedocs.io/en/latest/getting-sta...

Re:Draw.io: Online Diagramming Website by ocdtrekkie on Tuesday November 12, 2019 @11:32AM (#21515385)
Another cool thing they did, is they built a Sandstorm.io app back in the day. There hasn't been enough interest for them to invest a lot of resources in updating it, but I still use draw.io on my self-hosted Sandstorm server too.

I've followed draw.io back since I met them at Google I/O in like 2010 or 2011, I think they were one of Drive's first third party apps.

Re:Draw.io: Online Diagramming Website by franga2000 on Tuesday November 12, 2019 @01:25PM (#21516599)
I love these kinds of apps, but I haven't seen any with support for self-hosted cloud storage (Nextcloud). Is there a technical limitation behind that, or is it just lack of interest?
Re:Draw.io: Online Diagramming Website by bityard on Tuesday November 12, 2019 @01:29PM (#21516634)
Re:Draw.io: Online Diagramming Website by franga2000 on Tuesday November 12, 2019 @01:46PM (#21516822)
Right, I forgot about that - I actually have it installed on my instance. But my point wasn't specifically about Draw.io, but other cloud-synced web apps like StackEdit. It seems none of them have Nextcloud as a first-class option (some have WebDAV, but that's still a lot more complicated than Dropbox etc.).