Noteself + Cloudant -- How do I actually get my tiddler(.tid) files?

343 views
Skip to first unread message

Amit Ahire

unread,
Jun 12, 2017, 12:31:43 AM6/12/17
to TiddlyWiki
I am trying out Noteself so that I can use tiddlywiki5 with sync. What I am wondering is how do get my hands on my tiddler files. So that I can use them for serving locally or use them to generate my static site from tiddlywiki5?

One option I can think of think is exporting the data from the cloudant server - which from a cursorly glance looks like, can only export in csv and json. And exporting tiddler in .csv and then convertin these csv to .tid files? This seems like a overkill. 

Is there a way I can access my tiddlers locally? Or even download them from clouldant? 

Should I consider adding tiddlypouch as a plugin manually on a vanilt TW5? 

Thanks

Amit. 

Danielo Rodríguez

unread,
Jun 12, 2017, 9:51:36 AM6/12/17
to TiddlyWiki
Hello Amit,

there is a bug/feature that prevents regular tiddler exporting.
The problem was than when the save button was clicked, just the tiddlers loaded at that moment were included in the generated wiki. For fixing that problem I created a custom saver that exports the entire database in JSON format. The problem is that this prevents any other kind of export.
I want to fix this issue soon providing both options, normal export and database backup.

Meanwhile you can export all your tiddlers in JSON format from Noteself just by clicking the regular save button. This will generate a JSON file that you can then import into any other tiddlywiki, including the node.js edition that will convert each tiddler into a separate file.

Using just TiddlyPouch plugin will not make any difference because the bug actually lives on that plugin.

Regards

Amit Ahire

unread,
Jun 12, 2017, 12:39:25 PM6/12/17
to TiddlyWiki
Thank you Danielo for getting back to me.

Hmmm so i guess I will have to wait for that bug/feature to be fixed if I want to do it in a unified way - because I was thinking of using noteself to manage my tiddler on cloud and then set up an automatic mechanism which can generate static site based on different tags automatically. So that i dont do it manually. 

One quick question - Once I sign in into server. Does it sync all the tiddlers? (even if >100) or is there is a limit? Can I look for something under the hood - which can let me know when all my tiddler are synced from server - so that I can begin the export process? Or the export works independently from the whatever is synced and directly exports from db/server?

Thanks for your work! Really appreciate it. And ofcourse Jeremy for TW5 and all the ppl contributing. 

Danielo Rodríguez

unread,
Jun 13, 2017, 5:07:37 AM6/13/17
to TiddlyWiki


El lunes, 12 de junio de 2017, 18:39:25 (UTC+2), Amit Ahire escribió:
Thank you Danielo for getting back to me.

You're welcome
 

Hmmm so i guess I will have to wait for that bug/feature to be fixed if I want to do it in a unified way - because I was thinking of using noteself to manage my tiddler on cloud and then set up an automatic mechanism which can generate static site based on different tags automatically. So that i dont do it manually. 

What are your plans to communicate with the wiki that holds NoteSelf ? Local copy? Exporting the database? Where will that mechanism run?
 

One quick question - Once I sign in into server. Does it sync all the tiddlers? (even if >100) or is there is a limit? Can I look for something under the hood - which can let me know when all my tiddler are synced from server - so that I can begin the export process? Or the export works independently from the whatever is synced and directly exports from db/server?


The entire database gets synced. There is an event triggered when sync is complete. I'll post more info on this later.
 
Thanks for your work! Really appreciate it. And ofcourse Jeremy for TW5 and all the ppl contributing. 

Many thanks

Stephen Wilson

unread,
Jun 13, 2017, 10:16:40 AM6/13/17
to TiddlyWiki

At the risk of hijacking this thread, and this id probably just my incompetence, but I've bee unable to serve noteself from tiddlyspot.  I was wondering if that might be related to the tiddlyspot saving mechanism and the fact that pressing the tick button generates a .json file, not a tid or html, which I'm guessing is what tiddllyspot uses...

Saravanan S

unread,
Jun 13, 2017, 2:22:15 PM6/13/17
to TiddlyWiki
Just stumbled onto this and tried out Noteself. While I have been able to connect cloudant and noteself as shown in the FAQ video, am unable to figure out how to add additional user to the cloudant db. Not a techie, if you can point me how to do this, it would be helpful.

Regards,
Sarav

Danielo Rodríguez

unread,
Jun 14, 2017, 2:27:47 AM6/14/17
to TiddlyWiki

Saravanan


El martes, 13 de junio de 2017, 20:22:15 (UTC+2), Saravanan S escribió:
Just stumbled onto this and tried out Noteself. While I have been able to connect cloudant and noteself as shown in the FAQ video,

Cool! Love to see that the video on the FAQ is working.
 
am unable to figure out how to add additional user to the cloudant db. Not a techie, if you can point me how to do this, it would be helpful.

Couchdb (and cloundant as a fork of it) has a special way of handling users. It depends on which type of "users" do you want to share your database with.
If the "other user" is an existing cloudant user, you can just allow that user from the cloudant interface.

If you want to create a set of users for other people that has nothing to do with cloudant, you can use a tool I created specific for this task:


The intention is that the tool is easy to use require little to no explanation. If you find any problem using it, let me know please.

Danielo Rodríguez

unread,
Jun 14, 2017, 2:31:26 AM6/14/17
to TiddlyWiki
Hello Stephen,


El martes, 13 de junio de 2017, 16:16:40 (UTC+2), Stephen Wilson escribió:

At the risk of hijacking this thread, and this id probably just my incompetence, but I've bee unable to serve noteself from tiddlyspot.  I was wondering if that might be related to the tiddlyspot saving mechanism and the fact that pressing the tick button generates a .json file, not a tid or html, which I'm guessing is what tiddllyspot uses...


It's not that you have any incompetence, it's a bug introduced by a feature some time ago. To be honest, I'm going to remove the feature, at least in the way it is right now, and I will try to implement it better in the future.

However, I'm curious about why do you feel the necessity to host NoteSelf over tiddlyspot. It's nothing wrong about it, I just want to understand how people expect to use the tool.

Regards

Stephen Wilson

unread,
Jun 14, 2017, 4:38:23 AM6/14/17
to tiddl...@googlegroups.com
Hi Danielo,
It's a lazy reason really.  I feel I should probably be encouraging other members of my dept to contribute to the tiddly wiki so it becomes a better resource for the students so I'm excited by your multiuser solution.  I have spent a year trying to get the students to remember the tiddlyspot address and the thought of changing it to something else causes me to wake in a cold sweat....that and updating all the places I've linked to it in students related resources...
Once the tiddlyspot wiki was upgraded to noteself I would be turning off the tiddlyspot save and just letting noteself do its thing. 

Stephen

Danielo Rodríguez

unread,
Jun 14, 2017, 6:10:24 AM6/14/17
to TiddlyWiki
Hello Stephen,

I'm excited with the idea of NoteSelf being used for academic purposes.

What you said makes sense. I'll remove the export functionality as soon as I could.
Meanwhile, you can try the following:

  1. Save a tw5 empty edition (or with the plugins of your choice) to tiddlyspot
  2. Download the standalone edition of NoteSelf form https://noteself.github.io
  3. Add the following plugins to the wiki hosted on tiddlyspot from the downloadable edition of NoteSelf: tiddlypouch and pouchdb. Or just drop the entire empty.html file
  4. Save and cross fingers to see if it works. It may not work because the mentioned plugins requires the wiki to be saved twice, and because of the bug I have mentioned maybe you will be able to save it only once. (see https://github.com/Jermolene/TiddlyWiki5/issues/2159)
Check it out and let me know how it goes.
Reply all
Reply to author
Forward
0 new messages