Editing node.js TW server through command line or linux / python scripts

42 views
Skip to first unread message

Fidel N

unread,
Jul 8, 2017, 6:04:10 AM7/8/17
to TiddlyWiki
Hey all!

Im trying to add / edit tiddlers of my node.js TW server through python scripts in that same server.
What I do right now is to create the tiddler files, then restart the TW, and after restarting the TW server it will show those new tiddlers.

The objetive would be to be able to run a script from the host, and, for instance, create a tiddler, or remove a tag from another, and have the server recognize that change without having to reboot the TW, which is always risky because if I were using the TW from the web, all my changes would be lost.

I find no documentation at all about how to use TW rest api. Is this the way to do it? If so, is there any example on how to create a new tiddler via command line on an already initialized server? (IE, when using the commad "tiddlywiki", how do you identify which server you want to create your tiddler on?

Please, could someone give me any clue?

Thanks!



Reply all
Reply to author
Forward
0 new messages