Comments (9)
Have to take a look at webdav and a good solution. Definitely on the roadmap.
from whiteboard.
Since your app makes use of Node.js, maybe the webdav-fs module would make sense:
https://nextcloud.com/blog/using-webdav-fs-to-access-files-in-nextcloud/
from whiteboard.
Yeah but maybe we don't need the way browser->sever->nextcloud and can go straight browser->nextcloud. https://www.npmjs.com/package/webdav-client has a "Web browser compatibility" but I need to invetigate both solutions first.
from whiteboard.
There is also this library if it can be more Nextcloud/Owncloud-centric:
https://www.npmjs.com/package/nextcloud-node-client
from whiteboard.
Thought a bit more about this thing and I'm not sure it's a good idea to include this function into this project. The main problem: It's not done by just add a webdav lib. We would need a file explorer as well, and a modal function on top for the explorer.
Then all the error handling (incorrect user config), and making sure you can't DOS things with it...
On the other hand the user just could save/load files from his nextcloud synced folder instead and would be done.
You agree?
from whiteboard.
Sorry for the delay in responding here.
Maybe it would be okay to leave away a complete file explorer and instead only tell the user to create a folder on a Webdav server so they can provide the complete Webdav URL to that folder like http://webdavserver.domain/remote.php/webdav/mywhiteboardfolder/
?
The advantage of saving directly to Nextcloud would be the absence of any dependency installed directly to the desktop system like the sync client or other software.
from whiteboard.
Hey,
finally added webdav save. It's alpha at the moment so you have to checkout the "webdav" branch.
To activate it do:
client: add "webdav=true" as get parameter to the url
server: add "--webdav=true" as start parameter
what do you think can be improved?
from whiteboard.
Awesome, I will test it out and report back to you!
from whiteboard.
megred it into the master :)
from whiteboard.
Related Issues (20)
- image export only works in chrome HOT 2
- releases / latest vs dockerhub HOT 2
- User feedback HOT 3
- Download whiteboard as image not working HOT 2
- Backend Image upload HOT 2
- esbuild goes zombie on docker container HOT 2
- [feature request] Pan and Independent pen/eraser sizes HOT 7
- Problem to install in server VPS HOT 1
- whiteboard on a touchscreen.
- Upload image HOT 2
- Cannot save whiteboard as image HOT 5
- can not open in safari and some mobile browser HOT 3
- Get ink information HOT 3
- Launch within Laravel project HOT 1
- please cancel my commit change by mistake. HOT 1
- Is this legit? HOT 1
- Image is broken HOT 2
- Doesn't run on ec2 instance HOT 4
- WhiteboardAPI | Draw on the Whiteboard HOT 4
- Move canvas in read-only mod HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from whiteboard.