Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for WebDAV (Owncloud/Nextcloud among others) #60

Open
lapineige opened this issue May 4, 2019 · 10 comments
Open

Add support for WebDAV (Owncloud/Nextcloud among others) #60

lapineige opened this issue May 4, 2019 · 10 comments
Labels
feature: export Getting notes out of HedgeDoc type: feature Adds or requests new functionality
Milestone

Comments

@lapineige
Copy link

Just porting this old issue: hackmdio/codimd#245

It would be really cool to have a WebDav support, and this way to support Nextcloud and Owncloud instances. This would be a lot easier and faster than managing exports to Nextcloud for each changes (or each time you want to preview some file).

Then the Nextcloud community could also create an app to integrate directly CodiMD into Nextcloud as a Markdown editor.

@SISheogorath SISheogorath added the type: feature Adds or requests new functionality label May 6, 2019
@sunjam
Copy link

sunjam commented Mar 23, 2020

Found this while looking to see if webdav could be used for import/export of files, similar to the existing Dropbox integration.

@davidmehren davidmehren added this to the Release 2.1 milestone Jul 8, 2020
@b3
Copy link

b3 commented Feb 6, 2021

Having hedgedoc working within Nextcloud would be a killer feature.

@timmwille
Copy link

@b3 I absolutely agree, any news on this front? Hedgedoc is amazing, would be great to integrate it into the Nextcloud universe!

@timmwille
Copy link

is this connected as a workaround for now?
otetard/ownpad#87

@davidmehren davidmehren added feature: export Getting notes out of HedgeDoc priority: 1. high Something needed by most users labels Mar 18, 2021
@b3
Copy link

b3 commented Apr 21, 2021

@timmwille I do not see it that way.

ownpad is a way to use such a tool from inside Nextcloud not to integrate it properly: the data are not under the Nextcloud control.

Adding support for webdav would be a way to store data into a Nextcloud instance.

@sunjam
Copy link

sunjam commented Apr 21, 2021 via email

@timmwille
Copy link

@b3 @sunjam thx for clarification, so what would be the best approach to integrate HedgeDoc as Nextcloud App? the current Markdownpad App is screwed
nextcloud/text#593
the problem is well explained here:
nextcloud/text#772 (comment)

If HedgeDoc could support an integration in the future into Nextcloud this could become an official App supported by Nextcloud.

Sadly I'm not a Software developer myself to provide such solution for the community, I just see the potential and the existing gap in Nextcloud and I love HedgeDoc (as well as our whole ose-germany.de team)

@JimKillock
Copy link

Would it be possible for someone to outline the skills needed and estimate the time commitment to develop this feature?

@davidmehren
Copy link
Member

We are currently developing HedgeDoc 2, based on a NestJS backend and a React frontend. Like HD1, HD2 will store all note content and revisions in its database.

There is currently no integrated way to automatically store/update note content somewhere else, like in a Git repo or a WebDAV folder. We plan to think about such features after HD2 had its first stable release (sorry, no ETA on that).

It might work like this:

  • modules can register themselves to be informed about new note revisions, maybe via Nest events
  • when a new revision is created, the modules are informed about that and can then do what they want (update a Git repo, save to WebDAV)
  • we would also need a way for modules to inform the application about external changes and new notes

Any more detailed planning will have to wait for after the HD2 release, as we are first focusing on reimplementing features from HD1.

@xeruf
Copy link

xeruf commented Dec 30, 2022

I would love to simply use a folder structure as backend for hedgedoc, so that I can create and view a collection of Markdown documents in Nextcloud or HedgeDoc, as well as auto-exporting it via something like Hyperbook.
This could save you the trouble of implementing WebDAV as a separate auxiliary program could handle that from the folder, preventing bloat.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature: export Getting notes out of HedgeDoc type: feature Adds or requests new functionality
Projects
None yet
Development

No branches or pull requests

9 participants