TiddlyWiki is a standalone single HTML file wiki that can save itself by offering a download of modified copy of itself or storing itself on one of the many available hosting providers, e.g. saving itself to GitHub, GitLab, WebDAV etc. All these options can be removed to save space and another option to use sendToChat() API added instead.
It is a bit too large by default, empty edition is 2.4M, but for an experiment this restriction can be removed or maybe it is possible to reduce it enough by dropping unnecessary default plugins and saving methods. Also gzipped the file empty.html.gz is only 427K, so inside an .xdc ZIP archive it can be small.
Then the user workflow would be to save a prepared empty version of TiddlyWiki.xdc to Saved Messages, open it, edit and save a new copy via āsend to chatā. No need to send any webxdc updates or merge changes, as TiddlyWiki is usually used as a personal wiki. Sending it to some chat would also be possible, but if two users edit at the same time they will send two different updated copies to the chat then and have to merge them manually.
Dokuwiki is written in PHP and requires a server to run. DokuWiki is a personal wiki that anyone with a web browser can run locally to store their notes without the need to have a PHP-supporting server somewhere.
It is a single 700kb file, compressed into a zip file takes just a little bit more than 200kb and every time you make a change the file is updated and re-downloaded with the changes.
Of course it would be nicer to be able to edit it simultaneously.
I was planning to create a group with some people on deltachat and wanted to edit some documents together with the participants.
Something similar to a wiki would be useful, I saw that there is the ārealtime editorā application but it would be useful to have at least two more features: multipage and internal links.
I wanted to see if I could figure it out myself, but I have just a little bit of python knowledge and a really little web knowledge.
I tried to read a bit of webxdcās guide however it is not in-depth enough for my skills.
Also I saw that it is recommended to install the simulator, which works, however it has not been updated on npm and does not support p2p apps, I am not able to install directly the version on github that is more updated.
As for the editor, I went to look in the repository and learned it is a fork of the other editor and use a library called āprosemirrorā for implements its functionality.
Could anyone help me with this? in any way, even giving me more explanations of how to do it myself
Thanks
I think I have found a very good candidate to make a webxdc of a wiki:
58 kb decompressed, 22 compressed.
I tried it and the interface is very sober and nice, not confusing at all.
I would say the only flaw is that it does not support simultaneous editing by multiple users.
Would anyone feel like porting? Or maybe give me some suggestions so that I can try it myself?
Thanks! tried it quickly (Iāll try it better this evening because Iām going out), it works although it seems to me that you canāt close the window
When I get back Iāll try to understand it better!
Instead, no, it is a feature that you cannot close, because you have to save.
I didnāt see the save button because I have a very aggressive color setting on my screen, however now that was away I tried it on another computer and it works.
Can I offer you a coffee somewhere?
P.s. oops, however you still canāt close it even after saving, on the other pc I had been able to do that because it had windows and it would forcefully close it for me.
I was wrong, after restarting deltachat, now the windows close without problem
That project has a build step, I didnāt just edited the file, you will learn nothing by doing a diff, you need to do a diff between commits of the source code and I havenāt uploaded the changes I made to the source code yet.
Anyway if you just want to understand how it works I can explain a little (davidsm@systemli.org).
ok, Iāll contact you though I hope Iām up to the explanation.
Can the email also be contacted with a chatmail address or should I use a regular email address?