TiddlyWiki / TiddlyWiki5

A self-contained JavaScript wiki for the browser, Node.js, AWS Lambda etc.
https://tiddlywiki.com/
Other
8.09k stars 1.19k forks source link

Integrate TiddlyWiki in nextcloud #3909

Open Gspohu opened 5 years ago

Gspohu commented 5 years ago

Hello,

First of all, thank you very much for this software.

I would like to know if there is a way to make TiddlyWiki work in Nextcloud, for example as a Nextcloud app (https://docs.nextcloud.com/server/14/developer_manual/app/startapp.html) or with a link as OnlyOffice did (https://github.com/ONLYOFFICE/onlyoffice-nextcloud).

I would indeed be quite happy to be able to integrate TiddlyWiki into my Nextcloud.

Thank you for reading me and good luck for the future !

AnthonyMuscio commented 5 years ago

There is some mention of next cloud in the TiddlyWiki forum, but perhaps not enough see here

AnthonyMuscio commented 5 years ago

and https://groups.google.com/forum/?hl=en#!searchin/tiddlywiki/next$20cloud%7Csort:date (as separate words)

Gspohu commented 5 years ago

I had seen that, but there is not really a clear mention of what it can be done

MidnightLightning commented 5 years ago

Looking at the documentation on Filesystem access, it looks like a NextCloud app can access the user's synced filesystem in a read/write manner, so in theory a TiddlyWiki file could get saved to their cloud drive. However, all the NextCloud app documentation is in PHP, while TiddlyWiki's core is in-browser Javascript. It could probably work to create a small PHP application that is a NextCloud app, which has a few API endpoints that a TiddlyWiki instance could call out to, to save the file to the user's NextCloud drive?