Going away from nodejs would involve some work. Tiddlywiki is a dual 
platform application one platform is nodejs the other is the browser. For 
example:

tiddlywiki contain a packaging application that runs under nodejs - in the 
boot.js - this contains a build system, one feature is that it can package 
directory trees containing tiddlers into plugins. This makes it super easy 
to use git to manage plugin dev.

tiddlywiki is also a dedicated http tiddler server written for nodejs - it 
'knows' how to sever and save tiddlers.

I think that nowadays nodejs is easy to install and use on any platform, 
and npm is included in nodejs

all the best

BJ

On Wednesday, January 4, 2017 at 1:50:28 AM UTC+1, Evade Flow 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/dddd3bea-6fa5-4d58-9b42-21c356b8c34d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to