Closed ramezrafla closed 9 months ago
Thank you for the kind words.
Regarding attachment previews. One of the design decisions has been that WildDuck does not have external dependencies (except for MX-related stuff like Rspamd/ClamAV), it does not spawn external shell commands, and it does not use compiled dependencies. This limitation allows running WildDuck on a variety of system architectures. Creating image previews would be possible, as there are JPEG/PNG etc. libraries for Node.js, but it gets more difficult for other file types.
For now, you can tail new attachments added to the storage and create previews of these attachments outside of WildDuck.
For example:
attachments.files
collectionhash
value that is a hex string. If you have stored a preview file with the same hex _id string, then this preview is for that attachment.Thanks so much @andris9 for your courteous reply!
One of the design decisions has been that WildDuck does not have external dependencies (except for MX-related stuff like Rspamd/ClamAV), it does not spawn external shell commands, and it does not use compiled dependencies
Agreed, and that's one of its beauties. Collabora can be used within a docker container as a full black box. It is indeed compiled but easily accessible for any platform.
I'll play with it a bit more (look at Mongo Schema etc.) and revert with ideas / questions. I have a feeling with the right design choices, it could be a simpler task.
This issue is stale because it has been open 45 days with no activity. Remove stale label or comment or this will be closed in 15 days.
@andris9 This project is fantastic, and fills a badly-needed gap. The fact that you store attachments in MongoDB is a stroke of genius (from experience with MS365, it seems be the case for them too, likely GMail as well).
Right now, after a month of usage, the only real gap we see is attachment preview. Any thoughts on how to implement? Happy to assist and PR. We could use libreoffice for the conversion like Nextcloud (Collabora to be exact)