Further to the instruction by Arlen one can download simplesrv

https://github.com/lucsan/simpserv


and create a readonly webserver to fire any single .html Tiddlywiki.

So, it possible to have a portable webserver for Tiddlywiki (and holding 
plugin libraries) on a thumb drive
The size of server 14MB if one use Node.JS 6.x

In summary

1. Follow the instruction by Arlen above, lets you have a tiny 
NodeJS+Tiddlywiki server (read/write/save) + (Arlen may guide us to create 
backup)
2. Add the simpleserv above to have a readonly webserver on another port
3. Put all in folder on a thumb drive

The above setup is small and can be used on Raspberry Pi and similar device.

I am thinking  one can put whole of these on an old Android cell phone and 
setup a portable NodeJS+Tiddlywiki server



On Saturday, April 18, 2020 at 1:23:32 AM UTC+4:30, Arlen Beiler wrote:
>
> Another way is to download the zip file from NodeJS.org, and copy the 
> node.exe file into the tiddlywiki folder, then (on windows) run "node.exe 
> tiddlywiki.js". You can download the tiddlywiki folder from GitHub. It 
> sounds like that is slightly more complicated than your method, but just 
> thought I'd mention it. 
>
> On Fri, Apr 17, 2020 at 4:01 PM 'Mark S.' via TiddlyWiki <
> [email protected] <javascript:>> wrote:
>
>> If you use "-g", isn't it putting the data down in your user drive? Or is 
>> it smart enough to put it all on the thumb drive ?
>>
>> Plus, in the past, node had a habit of creating empty directories in the 
>> app/roaming directories even if you had specified specific local 
>> directories. This would be hard to detect unless you test on a machine that 
>> has never used node.js at all. That is, is it possible that bread crumbs 
>> are being left even if you use a portable device?
>>
>>
>> On Friday, April 17, 2020 at 12:41:12 PM UTC-7, Mohammad wrote:
>>>
>>> You may like to have a Tiddlywiki on Node.js with all its features on a 
>>> thumb drive!
>>> Or a Plug and Play Tiddlywiki.
>>>
>>> If so, this is a short instruction for Windows user. 
>>>
>>> 1. Download the portable Node.js:  (NodeJSPortable_6.14.2.zip)  from here
>>>   https://github.com/garethflowers/nodejs-portable/releases
>>>
>>> 2. Unzip on your thumb drive in the folder of choice
>>>
>>> 3. Run NodeJSPortable.exe   
>>>
>>> 4. In the command window appears install Tiddlywiki with below command 
>>> (you need internet access)
>>>     npm install -g tiddlywiki
>>>
>>> 5. That's all
>>>
>>>
>>> Make a test
>>> 1. Create a new wiki, by entering  below command
>>>     tiddlywiki mynewwiki --init server
>>>
>>> 2. Run your wiki by entering  below command
>>>     tiddlywiki mynewwiki --listen
>>>
>>> 3. Open a browser (FF, Chrome, Edge, Safari, ...) and
>>>      visit http://127.0.0.1:8080/ in your browser
>>>
>>>
>>> It has all the same features as Tiddlywiki on NodeJS, plus, it leaves no 
>>> personal information behind on the machine you run it on, so you can take 
>>> it with you wherever you go.
>>>
>>>
>>> This is another journey in Tiddlywiki wonderland.
>>>
>>> --Mohammad
>>>
>>>
>>> -- 
>> 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] <javascript:>.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/tiddlywiki/9bc1ec76-a308-472c-b99c-f66e5dd31519%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/tiddlywiki/9bc1ec76-a308-472c-b99c-f66e5dd31519%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/0e7967b9-7f71-4c0b-93cb-f6bd2a8e76ce%40googlegroups.com.

Reply via email to