Multiple instances of TiddlyDesktop

162 views
Skip to first unread message

vpl

unread,
Dec 15, 2014, 4:21:39 AM12/15/14
to tiddl...@googlegroups.com
Hi,

My base of tiddlywiki is increasing and the tiddlydesktop is the magic tool for accessing them easly.
Nevertheless I'm wondering if it's possible to tell tiddlydesktop the set of tiddly wiki it must load when it start. THis would allow me to have my professional and personal wiki totally disconnected (and not have all of them listed at the same place)

Thanks for your help

Regards

Vpl

Tobias Beer

unread,
Dec 15, 2014, 4:43:09 AM12/15/14
to tiddl...@googlegroups.com
My base of tiddlywiki is increasing and the tiddlydesktop is the magic tool for accessing them easly.
Nevertheless I'm wondering if it's possible to tell tiddlydesktop the set of tiddly wiki it must load when it start. THis would allow me to have my professional and personal wiki totally disconnected (and not have all of them listed at the same place)

Perhaps it could be given "tags" and the ability to switch between tags all the while being able to set a default tag (listed on startup). Maybe also a simple ★ tag.

Best wishes, Tobias.

vpl

unread,
Dec 15, 2014, 6:57:04 AM12/15/14
to tiddl...@googlegroups.com
Hi
Thanks for your answer.

I'm not sure I follow you. 
What I searching for is the place (config file or ???) where the list of tiddlies listed in the TiddlyDesktop main page are stored.
And if there is a way to start miltuple instances of TiddlyDesktop pointing to different TiddlyWiki.

Is that possible ??


Thanks

Tobias Beer

unread,
Dec 15, 2014, 10:26:10 AM12/15/14
to tiddl...@googlegroups.com
Hi vpl,

Where and how TiddlyDesktop stores is configuration, I don't know and it's not explained anywhere. I think it should actually store it inside its folder.

Although I doubt it exists, a commandline interface to have TiddlyDesktop start with different configs might also be nice.

My proposal was more in terms of a solution within TiddlyDesktop. One that allows you to configure and filter by different ...well, I called them tags. This would also allow you more easily to move a wiki's from one list (tag) to another... or see them all at once... which would probably not be so easily one accross independent instances of TiddlyDesktop.

Either way, a flat list probably won't be good enough in the long run.

Best wishes, Tobias.

Eric Shulman

unread,
Dec 15, 2014, 1:39:51 PM12/15/14
to tiddl...@googlegroups.com
On Monday, December 15, 2014 7:26:10 AM UTC-8, Tobias Beer wrote:
Where and how TiddlyDesktop stores its configuration, I don't know and it's not explained anywhere. I think it should actually store it inside its folder.

TiddlyDesktop uses the sandboxed HTML5 "localStorage" mechanism to save/load JSON-formatted string data.  See saveWikiList() and loadWikiList() functions here:

The variable, "wikiList", is an array of objects, each of which has the following properties:
// url: full file:// URI of the wiki
// title: last recorded title string for the wiki
// img: URI of thumbnail (usually a data URI)
// isOpen: true if these wiki is currently open

Although I doubt it exists, a commandline interface to have TiddlyDesktop start with different configs might also be nice.

It should be possible to add a CLI parameter to specify the name of the localStorage property to use for storing the wikiList (e.g., instead of using "localStorage.wikiList", we would use something like "localStorage[wikiListParamValue]") 

My proposal was more in terms of a solution within TiddlyDesktop. One that allows you to configure and filter by different ...well, I called them tags. This would also allow you more easily to move a wiki's from one list (tag) to another... or see them all at once... which would probably not be so easily one accross independent instances of TiddlyDesktop.

TiddlyDesktop would need to keep a separate localStorage.wikiListNames array, with the names of all the different wikiLists that have been defined.  Then, additional UI would be needed to allow the user to select two different wikiLists and then be able to select specific wikis to move them between the two lists.

-e

Jeremy Ruston

unread,
Dec 16, 2014, 3:39:04 AM12/16/14
to TiddlyWiki
Hi vpl

I've created a ticket:


Best wishes

Jeremy.


--
You received this message because you are subscribed to the Google Groups "TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+...@googlegroups.com.
To post to this group, send email to tiddl...@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.


--
Jeremy Ruston
mailto:jeremy...@gmail.com

Matthew Lauber

unread,
Sep 18, 2015, 3:02:30 PM9/18/15
to TiddlyWiki, jeremy...@gmail.com
As I mentioned on the Ticket, This is currently possible.  ./nw --data-path="path-to-new-config-dir"
Reply all
Reply to author
Forward
0 new messages