> When I try your short-cut approach, I get warnings... Hmm. I'm still a n00b, so I'm not sure what to suggest. In case it helps, I can provide details on how I set up my initial 'tiddler repo'. I started with a monolithic HTML file that I've been using for the last week or so to explore TiddlyWiki's features. Then, I installed node and npm on a Linux machine (just 'because', I think Windows/OS X would have been fine as well). Then, I ran:
$ sudo npm install -g tiddlywiki to install tiddlywiki globally. (It wound up in `/usr/local/bin/tiddlywiki` by default.) After that, I ran: $ tiddlywiki mywiki --init server Copied edition 'server' to mywiki Apparently, *that* step is what created tiddlywiki.info: $ ls mywiki tiddlywiki.info After that, I used my monolithic HTML to 'seed' the mywiki folder created in the previous step and start the server: $ tiddlywiki mywiki --load ~/Desktop/mywiki.html --server The above command created a tiddlers folder under mywiki containing all my tiddlers. $ ls mywiki/tiddlers | head -15 Can't_embed_QWidget_in_QML_.tid $__config_DefaultSidebarTab.tid $__config_PageControlButtons_Visibility_$__core_ui_Buttons_fold-all.tid $__config_PageControlButtons_Visibility_$__core_ui_Buttons_save-wiki.tid $__config_PageControlButtons_Visibility_$__core_ui_Buttons_unfold-all.tid $__config_WikiParserRules_Inline_wikilink.tid Contents.tid $__core.json.tid deb.tid $__DefaultTiddlers.tid Getting_Tiddly.tid How_can_I_extract_files_from_a_DEB_package_.tid How_can_I_interact_with_TiddlyWiki_using_Alexa_.tid How_can_I_list_the_contents_of_a_DEB_file_.tid How_can_I_remove_a_tag_.tid ... After running all of the above commands, I ran git init in the mywiki folder and committed all the files. HTH! On Wednesday, January 4, 2017 at 1:02:27 PM UTC-5, Mark S. wrote: > > When I try your short-cut approach, I get warnings about missing plugins > and the resulting served up TW is formatted wrongly -- as if missing a > stylesheet or something. There must be an additional step setting up a > tiddlywiki.info file. Perhaps it can just be copied from somewhere? > > Return messages: > > C:\Users\Mark\Downloads\node\mytestwiki>node.exe tiddlywiki.js .\data1 -- > server > Warning: Wiki folder '.\data1' does not exist or is missing a tiddlywiki.info > file > Serving on 127.0.0.1:8080 > (press ctrl-C to exit) > Warning: Plugins required for client-server operation ( > "tiddlywiki/filesystem" a > nd "tiddlywiki/tiddlyweb") are missing from tiddlywiki.info file > > > > > On Tuesday, January 3, 2017 at 9:10:54 PM UTC-8, Arlen Beiler wrote: >> >> Normally I store the data directory inside the tiddlywiki folder, but you >> can store it anywhere you want. >> >> On Jan 4, 2017 12:04 AM, "Arlen Beiler" <[email protected]> wrote: >> >>> Welcome to the world of NodeJS. You can search for "commands" on >>> TiddlyWiki.com. That will give you all the command line options. >>> >>> node.exe tiddlywiki.js [data directory] [command [options]] >>> >>> On Jan 4, 2017 12:00 AM, "Arlen Beiler" <[email protected]> wrote: >>> >>>> If you do not specify a directory as the first argument after >>>> tiddlywiki.js, it will use the current directory. Most of the commands use >>>> that directory. So I recommend you set one. >>>> >>>> On Jan 3, 2017 11:56 PM, "Arlen Beiler" <[email protected]> wrote: >>>> >>>>> If you specify --init or --load instead --server, then tiddlywiki.js >>>>> will make that the data directory. Then you specify that directory when >>>>> you >>>>> specify --server and it will serve the files from that folder. >>>>> >>>>> You can find more info on TiddlyWiki.com or by exploring the code. >>>>> >>>>> On Jan 3, 2017 10:55 PM, "'Mark S.' via TiddlyWiki" < >>>>> [email protected]> wrote: >>>>> >>>>>> In your example, what is "../data/wiki1" and where does it come from? >>>>>> >>>>>> Thanks! >>>>>> Mark >>>>>> >>>>>> On Tuesday, January 3, 2017 at 7:26:43 PM UTC-8, Arlen Beiler wrote: >>>>>>> >>>>>>> Anything is possible over HTTP. How are you going to save changes? >>>>>>> >>>>>>> From reading your email, I guess you don't know that you can just >>>>>>> download any tag or the master from the TiddlyWiki GitHub repository, >>>>>>> drop >>>>>>> node.exe into it and call "node.exe tiddlywiki.js ../data/wiki1 >>>>>>> --server" >>>>>>> and your good to go. Easy on Windows, don't know about Linux or Mac, >>>>>>> but >>>>>>> you're a software developer :) >>>>>>> >>>>>>> (At first I was going to use the stock "I guess you know...") :-) >>>>>>> >>>>>>> Also several of us are working on serving multiple wikis as separate >>>>>>> folders instead of seperate server instances. >>>>>>> >>>>>>> https://gist.github.com/Arlen22/bbd852f68e328165e49f >>>>>>> >>>>>>> Hope that helps. >>>>>>> >>>>>>> On Jan 3, 2017 7:50 PM, "Evade Flow" <[email protected]> wrote: >>>>>>> >>>>>>>> > is there some way I can access/modify this collection of files >>>>>>>> using only git and a browser? >>>>>>>> >>>>>>>> Driving home this evening, I realized this was a bit of a silly >>>>>>>> question for somebody who professes to be a software developer by >>>>>>>> trade to >>>>>>>> ask—doh! (Can you tell I'm not a web developer?) Looking at the files >>>>>>>> processed by tiddlywiki+NodeJS, I see that *none* of them are >>>>>>>> HTML. It truly is "tiddlers all the way down", so... *something* >>>>>>>> has to convert all those .tid files to HTML so the browser can >>>>>>>> display them. >>>>>>>> >>>>>>>> I guess I should rephrase my question as: is there some way of >>>>>>>> serving multi-file TW content that requires less setup work than >>>>>>>> NodeJS? >>>>>>>> I'm thinking about how Python contains builtin modules that let you >>>>>>>> run >>>>>>>> something like this in a folder: >>>>>>>> >>>>>>>> $ python -m SimpleHTTPServer 8000 >>>>>>>> >>>>>>>> >>>>>>>> For me, this would be a big win because (as it happens) just about >>>>>>>> every machine I work on already has Python installed. And they >>>>>>>> *all* have Perl, which I believe has a similar (built-in) >>>>>>>> capability[?] So it would be "one less thing" to worry about it when >>>>>>>> configuring a new environment. >>>>>>>> >>>>>>>> >>>>>>>> On Tuesday, January 3, 2017 at 4:44:43 PM UTC-5, Evade Flow wrote: >>>>>>>>> >>>>>>>>> I've been experimenting with TiddlyWiki and NodeJS, and discovered >>>>>>>>> that 'importing' my mono-html file (using tiddlywiki --load) >>>>>>>>> causes it to be converted into a bunch of discrete files. Further >>>>>>>>> experiments reveal that it is possible—seemingly, at least—to sync >>>>>>>>> these >>>>>>>>> files (and hence, my entire wiki) to multiple machines using git >>>>>>>>> push/pull. The one catch is: it appears that the only way to >>>>>>>>> actually *use* a TiddlyWiki structured this way is to serve it >>>>>>>>> using NodeJS? Is that correct? Or... is there some way I can >>>>>>>>> access/modify >>>>>>>>> this collection of files using only git and a browser? >>>>>>>>> >>>>>>>>> I ask because the setup I'm fumbling my way towards seems a bit... >>>>>>>>> cumbersome. I'm a software developer by trade, so sync'ing git repos >>>>>>>>> to >>>>>>>>> multiple machines comes as naturally as breathing. In contrast, doing >>>>>>>>> a >>>>>>>>> local install of Node + npm + tiddlywiki on each machine I want to >>>>>>>>> access >>>>>>>>> the data from feels like a lot of extra effort. I use Windows and >>>>>>>>> Linux at >>>>>>>>> work, and OS X at home, and I'd rather not bother figuring out the >>>>>>>>> nuances >>>>>>>>> of how to do that dance on all three platforms—especially given that >>>>>>>>> I >>>>>>>>> don't have admin/root access on all the machines I'd like to access >>>>>>>>> my >>>>>>>>> wiki(s) from. >>>>>>>>> >>>>>>>>> I already have a *killer* setup for managing my myriad config >>>>>>>>> files (.vimrc, .zshrc, .tmux.conf, etc.) and various plugins >>>>>>>>> using myrepos <https://myrepos.branchable.com/> and vcsh >>>>>>>>> <https://github.com/RichiH/vcsh>. *Everything* is stored in git, >>>>>>>>> so I can sync my setup around to whatever machines I want. It would >>>>>>>>> be >>>>>>>>> enormously helpful if I could do the same with my TiddlyWiki(s). Is >>>>>>>>> this >>>>>>>>> possible? >>>>>>>>> >>>>>>>>> *NOTE*: After trying it a few times, I don't have much interest >>>>>>>>> in trying to sync changes to monolithic TW files. The mono-HTML files >>>>>>>>> are >>>>>>>>> huge, and the diffs contain so much 'noise' that trying to merge >>>>>>>>> updates >>>>>>>>> from multiple machines seems like an impossibility. (Perhaps I'll >>>>>>>>> find that >>>>>>>>> the multi-file layout has quirks/pitfalls of its own, but so far, it >>>>>>>>> seems >>>>>>>>> really easy to understand and reason about...) >>>>>>>>> >>>>>>>> -- >>>>>>>> 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 [email protected]. >>>>>>>> To post to this group, send email to [email protected]. >>>>>>>> Visit this group at https://groups.google.com/group/tiddlywiki. >>>>>>>> To view this discussion on the web visit >>>>>>>> https://groups.google.com/d/msgid/tiddlywiki/e5c24183-b6aa-43a1-a682-2fc8137f4fab%40googlegroups.com >>>>>>>> >>>>>>>> <https://groups.google.com/d/msgid/tiddlywiki/e5c24183-b6aa-43a1-a682-2fc8137f4fab%40googlegroups.com?utm_medium=email&utm_source=footer> >>>>>>>> . >>>>>>>> For more options, visit https://groups.google.com/d/optout. >>>>>>>> >>>>>>> -- >>>>>> 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 [email protected]. >>>>>> To post to this group, send email to [email protected]. >>>>>> Visit this group at https://groups.google.com/group/tiddlywiki. >>>>>> To view this discussion on the web visit >>>>>> https://groups.google.com/d/msgid/tiddlywiki/3a14ab02-3b7a-43c0-8716-f0e466d8a4dd%40googlegroups.com >>>>>> >>>>>> <https://groups.google.com/d/msgid/tiddlywiki/3a14ab02-3b7a-43c0-8716-f0e466d8a4dd%40googlegroups.com?utm_medium=email&utm_source=footer> >>>>>> . >>>>>> For more options, visit https://groups.google.com/d/optout. >>>>>> >>>>> -- 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 [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/tiddlywiki. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/bda2fc6c-23c7-4752-b0be-d76d95a54643%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.

