nodejs server - creating tiddler with text editors in folder rather than in browser. ??

74 views
Skip to first unread message

kelsang sherab

unread,
Apr 20, 2018, 11:51:34 AM4/20/18
to TiddlyWiki
I just installed nodejs server on my linux [mint 18.3]

with the browser (127.0.0.1:8080) I created tiddlers
I can and see these tiddlers in the TiddlyWiki folder in my Files explorer

Until now all is fine.

My question -

In my File explorer in the  Tiddlywiki folder, using a text editor, I created a file ending with the .tid

then in the browser (127.0.0.1:8080) the newly created .tid does not seem to be there.

Why can I not create a tiddler with a text editor

Thanks

Mark S.

unread,
Apr 20, 2018, 11:55:52 AM4/20/18
to TiddlyWiki
What is the structure of the tid file? Does it have a title field? It might help to upload a sample.

Also, the tiddler won't appear until you turn off and then turn back on your tiddlywiki server.

-- Mark

kelsang sherab

unread,
Apr 20, 2018, 12:16:52 PM4/20/18
to TiddlyWiki
Here is a sample file I've writen

created: 20180420
modified
:
tags
:
title
: 17:17
type
: txt/vnd.tiddlywiki

this is written in vim
not sure if it works
Enter code here...

Mark S.

unread,
Apr 20, 2018, 1:22:11 PM4/20/18
to TiddlyWiki
How are you launching Tiddlywiki. What command are you using? What directory are you in?

Did you restart the server? It must be restarted to see new tiddlers.

Normally, if you follow the install directions, tiddlers will be in a folder below the TW folder you created. So if you are in your home directory (~) and your new tiddlywiki is in a sub-folder "mynewwiki" then the command would be

tiddlywiki mynewwiki --server

(there are variations depending on setup)


And your tiddlers would appear in

mynewwiki/tiddlers

So it's odd when you say that your tiddlers are appearing in "the Tiddlywiki" folder.

Good luck
-- Mark

kelsang sherab

unread,
Apr 20, 2018, 5:24:11 PM4/20/18
to TiddlyWiki
Hi
I realize my language was not precise enough
to answer your questions:
  • the command I use to launch the server is
tiddlywiki thunderwiki --server

  • My tiddlers are indeed in my /home/sherab/thunderwiki/tiddlers/

  • Then while inside the thunderwiki/tiddlers/ - using a text editor, I am creating a tiddler
    • I create a tiddler
      • title: New Tiddler
      • modifer: wisdomlight
      • I give it a .tid
    • nothing happens

I'd really like to type my tiddlers with a text editor.

Mark S.

unread,
Apr 20, 2018, 6:04:07 PM4/20/18
to TiddlyWiki
BUT -- are you restarting the server after you make the .tid ? You have to restart the server. AFAIK the server only loads the tid files when it first starts. After that it works from browser memory.

Also, what directory are you launching from? In your example, you need to be in the /home/sherab/ folder when executing the tiddlywiki server command.

Good luck!
-- Mark

kelsang sherab

unread,
Apr 21, 2018, 4:14:00 AM4/21/18
to TiddlyWiki
Hi Mark.
yes to all your questions.
I shut the server ctrl C and restart it
and I am executing my commands when in /home/sherab/

[i type the tiddlers in my /home/sherab/thunderwiki/tiddlers/NewTiddler.tid

thanks.

Could you please share with me your own way of writting tiddlers with a text editor and how do you succeed in doing it - then i will be able to imitate you successfully[i hope]
cheers
Reply all
Reply to author
Forward
0 new messages