Options for server-based TiddlyWiki

271 views
Skip to first unread message

Guillermo Valle

unread,
Jul 25, 2016, 11:13:02 AM7/25/16
to TiddlyWiki
Hi,

I've started using TW a few months ago, and it is growing very fast. I already have like 1000 tiddlers.

At the beginning I was using tiddlyspot, but in low-bandwitdth internet connection, the sync times were very slow, and I sometimes lost data.

I've been then using the single-file version, which works great atm in my computer. However, it takes a long time to open when accessing through the internet. Also the TW seems to be too large to handle well by mobile devices will less ram than my laptop.

I recently found the node.js version, and have been experimenting with that. It seems to me that this version still just creates a single HTML file with everything on it and sends that.

Main question: Is there a way to make it just send the data for the tiddlers I'm opening, on demand. Does TiddlyWeb achieve that? Will this finally make it load faster (i.e. faster than 10-20s..) over the internet, plus allow me to use it on mobile devices?

Many thanks!

Guillermo

Mark S.

unread,
Jul 25, 2016, 1:14:19 PM7/25/16
to TiddlyWiki
Look on TiddlyWiki.com for "LazyLoading".  There are instructions for running node.js so that tiddlers are only served when they are needed (or at least that's how I understood it).

Also, you might try AndTidWiki if you have an android device for single file viewing. It allows your text to flow more naturally than using the
Firefox browser.

Mark

Guillermo Valle

unread,
Jul 25, 2016, 5:11:07 PM7/25/16
to TiddlyWiki
Thanks for the answer! That seems to be what I'm looking for. However, I tried the instructions here: http://tiddlywiki.com/static/LazyLoading.html , and it doesn't seem to be working, I get the tiddlers empty, without the text field. :/

Danielo Rodríguez

unread,
Jul 27, 2016, 3:38:45 PM7/27/16
to TiddlyWiki
That is what a lazy loaded tiddler is, a tiddler without the text field. Once you open it the text download starts. if you are getting an empty tiddler after a while check the browser's console, maybe you are running into CORS problems.

Regards

Mark S.

unread,
Jul 27, 2016, 4:18:27 PM7/27/16
to TiddlyWiki
I tried it as well. The text never seems to arrive.

Mark

Guillermo Valle

unread,
Jul 27, 2016, 5:10:05 PM7/27/16
to TiddlyWiki
The text doesn't download after I open it. It doesn't complain in the console either. It doesnt seem to send the right request to the server. The only request I see sent are the StoryList ones.

RichardWilliamSmith

unread,
Jul 27, 2016, 7:09:31 PM7/27/16
to TiddlyWiki
Hi Danielo,

Glad to see you around on the board again - did you ever get any further with your PouchDB adapter? Is is in a working state? I'd love to see if I can get it working inside a service worker.

Regards,
Richard

Danielo Rodríguez

unread,
Jul 29, 2016, 3:25:05 PM7/29/16
to TiddlyWiki
Hello RichardWilliamSmith ,

I love to see that you remember that I was working on that. Which is quite curious, because I have been thinking today about releasing it soon, in it's current state.
To be honest, that plugin was a victim of being too ambitious from my side. The plugin is on a relativelly working state. I have been using it for a couple of weeks. Then I started to create a cool website to present it, a FAQ, a couple of tutorials, a lot of screenshots... and then I got tired and I leaved it.

I still want to release the plugin, but as an edition. If you are very interested on it (and you are going to build amazing things that you are going to share back to us) I can give you access to an beta version.

Regards

RichardWilliamSmith

unread,
Jul 29, 2016, 7:59:12 PM7/29/16
to TiddlyWiki
Hi Danielo,

That would be great - I am (slowly) learning js and, as I say, I'd like to see if I can get pouchDB and TW to play together in a service worker. Naturally I will share anything I 'discover' with the group.

Regards,
Richard

Danielo Rodríguez

unread,
Jul 30, 2016, 8:45:19 PM7/30/16
to TiddlyWiki
Dear Guillermo,

I think I have found the root cause of this problem and I have posted an issue about it: #2514 

The fix is quite easy, but it requires an update of the core. It is everything detailed on the issue.


Regards.

Reply all
Reply to author
Forward
0 new messages