2 ms·
You might find the FileUploads plugin of interest. Every time it detects an image in TiddlyWiki that meets a specified filter, the image is uploaded to a storag
by saqimtiaz 4y ago
You might find the FileUploads plugin of interest. Every time it detects an image in TiddlyWiki that meets a specified filter, the image is uploaded to a storage backend.
Demo: https://talk.tiddlywiki.org/t/image-imports-in-tw-5-2-0-and-fileuploads-plugin/122 https://talk.tiddlywiki.org/t/image-imports-in-tw-5-2-0-and-...
The choice of backend is pluggable via Uploader modules. There is already an experimental PUT Uploader that is WebDAV compatible. The version currently published is very simple though there is an advanced PUT uploader that I need to polish up and publish that allows for things like creating directory structures if needed when uploading an image and sanitizing tiddler titles to ensure that they are valid file names.
Installation is via a plugin library: https://saqimtiaz.github.io/SQPL/ https://saqimtiaz.github.io/SQPL/
Discussion: https://talk.tiddlywiki.org/c/plugins/file-uploads/8 https://talk.tiddlywiki.org/c/plugins/file-uploads/8
If you are working with TiddlyWiki and WebDAV, you might find this writeup of interest as well: https://saqimtiaz.github.io/sq-tw/webdav/ https://saqimtiaz.github.io/sq-tw/webdav/
- rpdillon 4y agoThis is extremely useful info, thanks so much for posting it! I was unaware of the FileUploads plugin, and I've been trying to piggyback as much as possible on TW's builtin WebDAV support so Notedeck remains lightweight. If I could update my existing backend code (it's a single, 320-line Python file at the moment) to support some additional WebDAV calls so it works with FileUploads, I would consider that a complete solution.