Hi,
Since MWS would allow for big files to be uploaded and also to create shared spaces between users, I wonder if could be used as a document management system.
Use case example:
- UserA and UserB share a bag, and UserA uploads a .doc file in it.
- On upload a new tiddler is created which also contains metadata of the file (author, file title, upload date, …)
- If UserB wants to edit the file, it can click on the tiddler and a TW desktop agent opens the file in Microsoft Word in .tmp mode, and on save, the changed .doc is uploaded to TW.
Desktop Agent role (redacted with some AI assistance):
- Role: A background app on the user’s computer that connects the browser to the local operating system.
-
Functions:
-
Listens for an
edit
command from the TiddlyWiki frontend via a WebSocket. -
Checks Out: When commanded, it locks the file on the server, downloads it as a temporary file (e.g.,
document.tmp
), and opens it with the default local application like Word. -
Monitors: Watches the temporary file for save events using
fs.watch
. - Checks In: When the file is saved, the agent uploads the new version to the server, unlocks it, and deletes the temporary file.
-
Listens for an
This Desktop Agent allows to surpass the sandbox limitations of browsers, it can interact with the OS and I think this new capabilities might allow for interesting usecases.
Is there something like this planed on the development roadmap?
Do you think this is a path that might be worth exploring it?