[tw] Re: Introduction to Tiddlyserver

2017-12-01 Thread coda coder
Hi Alex

I've had no luck linking to files placed in the tiddlywiki/tiddlyserver 
structure, except in the root TS folder.

Try this from within one of your wikis served via TS and place the file in 
the root folder (that's C:\Wikis on my windows setup).

[ext[Open file|../test.txt]]

You can also use a path:

[ext[Open file|../test/test.txt]]


Good luck.


On Friday, December 1, 2017 at 5:36:08 AM UTC-6, Alex wrote:
>
> Hi,
>
> Would it be possible to add to your tutorial how to link external files 
> from the wiki? I understand it should in theory be possible but I have been 
> unsuccessful so far ... I imagine I am not the only one.
>
> For example, I have a node.js tiddlywiki in folder X. I have added a file 
> to X/tiddlers/files/file.xxx
>
> How do I put a link to this file in the tiddler? I have tried
>
> < a href="tiddlers/files/file.xxx">external file< /a >
> < a href="files/file.xxx">external file< /a >
>
> But nothing works.
>
> On Friday, 22 September 2017 11:05:54 UTC+1, RichardWilliamSmith wrote:
>>
>> Hi all,
>>
>> I wrote a short tutorial on Tiddlyserver: 
>> https://www.didaxy.com/introduction-to-tiddlyserver
>>
>> Tiddlyserver is awesome and I want to try and make sure as many people as 
>> possible can use it, as effortlessly as possible, so I'd really value your 
>> feedback on anything that you think can be made clearer.
>>
>> I'd obviously especially value Arlen's feedback and input - I hope you 
>> don't mind?
>>
>> Regards,
>> Richard
>>
>

-- 
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 tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
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/d0e8373e-0946-4946-9fab-e142fb83463c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Introduction to Tiddlyserver

2017-12-01 Thread RichardWilliamSmith
Hi Alex,

I will look into refreshing the tutorial soon but basically, the Node 
server is behaving like a 'real' web server with an IP address (and a port 
number), such as http://10.0.0.1:8080.

What this means is that there's no longer any logical link between what's 
being served and any other files on your computer. To link to one, you 
would need to give the full path to the file, from the root of your own 
drive and use the "file:' protocol instead of 'http:' so the link might 
look like "file:///Users/yourname/Desktop/file.txt". Except that generally 
won't work either because linking 'file' resources from 'http' ones is 
generally blocked.

This means you need another server to serve your local file over http 
before you can link to it. That isn't difficult at all (once you know how). 
The simplest way on a Mac is generally to use python's built in server 
(python -m SimpleHTTPServer) or with npm, you can install and run 
'http-server' which I covered briefly at the end of this 
page: https://www.didaxy.com/exporting-static-sites-from-tiddlywiki-part-1

Hope that helps a bit
Regards,
Richard


On Friday, December 1, 2017 at 10:36:08 PM UTC+11, Alex wrote:
>
> Hi,
>
> Would it be possible to add to your tutorial how to link external files 
> from the wiki? I understand it should in theory be possible but I have been 
> unsuccessful so far ... I imagine I am not the only one.
>
> For example, I have a node.js tiddlywiki in folder X. I have added a file 
> to X/tiddlers/files/file.xxx
>
> How do I put a link to this file in the tiddler? I have tried
>
> < a href="tiddlers/files/file.xxx">external file< /a >
> < a href="files/file.xxx">external file< /a >
>
> But nothing works.
>
> On Friday, 22 September 2017 11:05:54 UTC+1, RichardWilliamSmith wrote:
>>
>> Hi all,
>>
>> I wrote a short tutorial on Tiddlyserver: 
>> https://www.didaxy.com/introduction-to-tiddlyserver
>>
>> Tiddlyserver is awesome and I want to try and make sure as many people as 
>> possible can use it, as effortlessly as possible, so I'd really value your 
>> feedback on anything that you think can be made clearer.
>>
>> I'd obviously especially value Arlen's feedback and input - I hope you 
>> don't mind?
>>
>> Regards,
>> Richard
>>
>

-- 
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 tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
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/c31e94dc-b947-432d-b667-526d34494913%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Introduction to Tiddlyserver

2017-12-01 Thread Alex
Hi,

Would it be possible to add to your tutorial how to link external files 
from the wiki? I understand it should in theory be possible but I have been 
unsuccessful so far ... I imagine I am not the only one.

For example, I have a node.js tiddlywiki in folder X. I have added a file 
to X/tiddlers/files/file.xxx

How do I put a link to this file in the tiddler? I have tried

< a href="tiddlers/files/file.xxx">external file< /a >
< a href="files/file.xxx">external file< /a >

But nothing works.

On Friday, 22 September 2017 11:05:54 UTC+1, RichardWilliamSmith wrote:
>
> Hi all,
>
> I wrote a short tutorial on Tiddlyserver: 
> https://www.didaxy.com/introduction-to-tiddlyserver
>
> Tiddlyserver is awesome and I want to try and make sure as many people as 
> possible can use it, as effortlessly as possible, so I'd really value your 
> feedback on anything that you think can be made clearer.
>
> I'd obviously especially value Arlen's feedback and input - I hope you 
> don't mind?
>
> Regards,
> Richard
>

-- 
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 tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
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/1c9ba257-fc1a-4005-afa9-9e45a148e4cd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Introduction to Tiddlyserver

2017-10-12 Thread TonyM
Richard,

When viewing the thread in Google Groups there is a tick, Mark Complete at 
the bottom left of every reply. I believe this comes from Googles 
collaborative group settings. Similar additional flags are a recent 
enhancement to GSuite Groups.

Regards
Tony

On Thursday, October 12, 2017 at 9:00:14 AM UTC+11, RichardWilliamSmith 
wrote:
>
> Hi Kelsang,
>
> Yes - they should work without modification on Linux. Let me know if you 
> have any problems.
>
> Regards,
> Richard
>
> PS: I just noticed this thread is marked 'completed' - how does that 
> happen, when it was my thread? Can *anyone* mark a thread completed? 
>
> On Thursday, October 12, 2017 at 2:51:21 AM UTC+11, kelsang sherab wrote:
>>
>> Are these instructions also applicable for Linux?
>> Thanks
>>
>> On Friday, September 22, 2017 at 11:05:54 AM UTC+1, RichardWilliamSmith 
>> wrote:
>>>
>>> Hi all,
>>>
>>> I wrote a short tutorial on Tiddlyserver: 
>>> https://www.didaxy.com/introduction-to-tiddlyserver 
>>> 
>>>
>>> Tiddlyserver is awesome and I want to try and make sure as many people 
>>> as possible can use it, as effortlessly as possible, so I'd really value 
>>> your feedback on anything that you think can be made clearer.
>>>
>>> I'd obviously especially value Arlen's feedback and input - I hope you 
>>> don't mind?
>>>
>>> Regards,
>>> Richard
>>>
>>

-- 
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 tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
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/68357810-a864-4473-b9ac-e1d2a5742c4e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Introduction to Tiddlyserver

2017-10-11 Thread RichardWilliamSmith
Hi Kelsang,

Yes - they should work without modification on Linux. Let me know if you 
have any problems.

Regards,
Richard

PS: I just noticed this thread is marked 'completed' - how does that 
happen, when it was my thread? Can *anyone* mark a thread completed? 

On Thursday, October 12, 2017 at 2:51:21 AM UTC+11, kelsang sherab wrote:
>
> Are these instructions also applicable for Linux?
> Thanks
>
> On Friday, September 22, 2017 at 11:05:54 AM UTC+1, RichardWilliamSmith 
> wrote:
>>
>> Hi all,
>>
>> I wrote a short tutorial on Tiddlyserver: 
>> https://www.didaxy.com/introduction-to-tiddlyserver 
>> 
>>
>> Tiddlyserver is awesome and I want to try and make sure as many people as 
>> possible can use it, as effortlessly as possible, so I'd really value your 
>> feedback on anything that you think can be made clearer.
>>
>> I'd obviously especially value Arlen's feedback and input - I hope you 
>> don't mind?
>>
>> Regards,
>> Richard
>>
>

-- 
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 tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
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/697890f7-8d1e-41c1-bd6b-3b99d5ab5abf%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Re: Introduction to Tiddlyserver

2017-10-09 Thread Arlen Beiler
Just thought I'd mention that the first animated GIF shows downloading the
zip from the repo instead of the bundle zip from the releases.

On Sun, Oct 8, 2017 at 10:27 PM, Arlen Beiler  wrote:

> Ah, nice! Just noticed this tonight. Yes, double-clicking start.cmd will
> simply run the command "node server", which will start TiddlyServer. And
> now that I notice that you wrote this email on Sep 25, I guess we're still
> working on the mac part. But if there is a simple mac equivalent to
> start.bat, I'd be happy to include it.
>
> On Mon, Sep 25, 2017 at 1:49 AM, RichardWilliamSmith <
> richardwilliamsm...@gmail.com> wrote:
>
>> Thanks again, all, for your feedback so far. I updated the tutorial:
>> https://www.didaxy.com/introduction-to-tiddlyserver
>>
>> Any further suggestions gratefully received.
>>
>> Regards,
>> Richard
>>
>> --
>> 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 tiddlywiki+unsubscr...@googlegroups.com.
>> To post to this group, send email to tiddlywiki@googlegroups.com.
>> Visit this group at https://groups.google.com/group/tiddlywiki.
>> To view this discussion on the web visit https://groups.google.com/d/ms
>> gid/tiddlywiki/70efbf8d-d737-46ad-bc69-fe78552f2669%40googlegroups.com
>> 
>> .
>>
>> 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 tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
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/CAJ1vdSRHmSZkdGgOmKTNK18eWZhaxs%2Bq-jUL4nrDZMexu03zQQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Re: Introduction to Tiddlyserver

2017-10-08 Thread Arlen Beiler
Ah, nice! Just noticed this tonight. Yes, double-clicking start.cmd will
simply run the command "node server", which will start TiddlyServer. And
now that I notice that you wrote this email on Sep 25, I guess we're still
working on the mac part. But if there is a simple mac equivalent to
start.bat, I'd be happy to include it.

On Mon, Sep 25, 2017 at 1:49 AM, RichardWilliamSmith <
richardwilliamsm...@gmail.com> wrote:

> Thanks again, all, for your feedback so far. I updated the tutorial:
> https://www.didaxy.com/introduction-to-tiddlyserver
>
> Any further suggestions gratefully received.
>
> Regards,
> Richard
>
> --
> 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 tiddlywiki+unsubscr...@googlegroups.com.
> To post to this group, send email to tiddlywiki@googlegroups.com.
> 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/70efbf8d-d737-46ad-bc69-fe78552f2669%40googlegroups.com
> 
> .
>
> 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 tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
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/CAJ1vdSRuHU3hZf8b-dCpdMqeDRSpiCm624V5bL7dcx93wqCzcg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Introduction to Tiddlyserver

2017-10-08 Thread JWHoneycutt
"dropbox": "/Users/jwh/Dropbox/TW5"

I just answered my own question - here is the syntax that works for my 
situation

Thanks

-- 
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 tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
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/525faf40-4bfc-457f-8542-fd266c72a732%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Introduction to Tiddlyserver

2017-10-08 Thread JWHoneycutt
Richard, 

The introduction to Terminal is great - cleared a lot of things up for me - 
Thanks

https://www.didaxy.com/a-crash-course-in-the-mac-terminal

I have a new MacBook, and wanted to reinstall TiddlyServer.  It is very 
frustrating.  You helped me out last time and I got it working, so I 
thought it would be easier to get the settings.json file correct.  The 
syntax of the Dropbox reference continues to elude me.  I've tried it with 
and without: the following "/", the leading "/Users/jwh, or /jwh...


{
"tree": {
"dropbox": "/Dropbox"
},
"types":{
"htmlfile": ["htm", "html"]
},
"username": "",
"password": "",
"host": "0.0.0.0",
"port": 8080,
"backupDirectory": "backup"
}


In the server, it yields:

Parent directory: / 
NameTypeSize
dropbox  error 

Fix Put Saver Bookmarklet

TiddlyServer v2.0.6



And clicking the dropbox link does not work like it did before.  I know the 
fix must be easy, but I haven't found it.

Can you help me one last time?

-- 
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 tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
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/2b630ca7-3a7a-46a5-92ad-2f85bd908b91%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Introduction to Tiddlyserver

2017-09-24 Thread RichardWilliamSmith
Thanks again, all, for your feedback so far. I updated the 
tutorial: https://www.didaxy.com/introduction-to-tiddlyserver

Any further suggestions gratefully received.

Regards,
Richard

-- 
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 tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
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/70efbf8d-d737-46ad-bc69-fe78552f2669%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Introduction to Tiddlyserver

2017-09-24 Thread RichardWilliamSmith
Hi Birthe,

Thanks, your query prompted me to investigate. It appears that, by default 
the 'backup' directory goes in the Tiddlyserver folder itself ie; if you 
just write

"backupDirectory": "backup"



In the settings.json file.

But you can also write a full path in there, like so

"backupDirectory": "/Users/didaxy/backups"


And it will work, as long as that folder exists. The back ups are zip files.

Thanks again, I'll add this to the tutorial as well.

Regards,
Richard



On Monday, September 25, 2017 at 8:50:06 AM UTC+10, Birthe C wrote:
>
> I have Tiddlyserver running now on my linux computer. But I am wondering 
> where to put the backup folder?
>
> Birthe
>
>
>

-- 
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 tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
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/1e8452c3-0aa2-4934-9c3e-5c14578b4c43%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Introduction to Tiddlyserver

2017-09-24 Thread Birthe C
I have Tiddlyserver running now on my linux computer. But I am wondering 
where to put the backup folder?

Birthe


-- 
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 tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
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/6aac3bd9-cbfa-4b9f-97ef-46265c25c9a1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Introduction to Tiddlyserver

2017-09-24 Thread RichardWilliamSmith

>
>
> https://github.com/Arlen22/TiddlyServer/tree/master/Tiddlyserver.app/Contents/MacOS
>  
> 
>
>
> It works! Thank you for your patience with me.
>
> I'm not sure what the github link is supposed to do (or how to utilize it, 
> or if its for me or developers...)
>
>
"you should be able to put this is the Tiddlyserver folder (at the top 
level) and 'double click' to launch the server"

It's a Mac app-wrapper that just runs 'node server' when it's double 
clicked.
 

> When I open terminal, get to the correct directory, and type node server - 
> I get the following instructions:
>
> Open your browser and type in one of the following:
>
> 10.0.1.6:8080
>
> 10.62.11.6:8080
>
>

I'm not sure what the second address is - seems related to your set up 
rather than Tiddlyserver. If you want to explore, you could try typing 
'ifconfig' to see your networking setup, but probably don't bother.
 

> Apparently I must keep terminal active or the "server" is gone.
>
>
>
Yes, the server runs as a process in the shell. There's no problem with 
leaving the shell running while your computer's open. If you shutdown your 
computer, obviously it will go away. 

If you want to close the terminal, you can run Tiddlyserver in the 
background, by appending a " &" to the end of the command, but then you 
will need to know how to kill it when the time arises (you need the process 
number which is returned when you run it (which you can also get by typing 
'ps aux | grep server') and then you can 'sudo kill' the process.

I'm writing instructions for the Raspberry Pi and they will explain how to 
run it as a service in more detail.

How can I start terminal (and the server) using only my ipad?  Should I 
> load a terminal emulator? Do you have one you recommend?
>

Any ssh client for the iPad should let you log in to your Mac, as long as 
port 22 is open, but I wouldn't recommend doing that. You'll only be able 
to log in if the mac is switched on anyway, so you might as well just have 
the server running all the time.

 

>
> Again thank you - I love it already.
>
>
> JWH
>

No problems. I'd appreciate it if you could revisit this with any specific 
suggestions about how the documentation can be improved, once you're sure 
you have everything working. I am already thinking it probably best to 
remove any mention of git from this document. 

-- 
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 tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
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/c706f35e-6082-4df1-b2ab-106a79c02d06%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Introduction to Tiddlyserver

2017-09-24 Thread RichardWilliamSmith
Hi Kelsang,

I'm sorry this makes your head spin. There are really only a few steps, 
I've tried to go into as much detail as possible, but there are really only 
a few steps. Perhaps I can make it clearer. If you find any specific steps 
confusing, please let me know. 

Please understand that the problems with Tiddlyfox are caused by Firefox, 
not by Tiddlywiki and we would replace Tiddlyfox if it was possible, but it 
isn't.

Tiddlyserver has been around for a little while and I am trying to document 
it so that others can take advantage of it if they want to. There are other 
options that you can explore also. 

Regards,
Richard

On Monday, September 25, 2017 at 1:35:14 AM UTC+10, kelsang sherab wrote:
>
> My first feedback is 'Oh no!'
>
> Will it not be better simply to try and adapt the tiddlyfox add-on?
>
>
> I am saying this only because I am one of those peopel who can mess the 
> simplest instalation up.
> I do not do this on purpose - its just how it is. sorry.
>
>
> Just looking at the instruction in 'Introduction to Tiddlyserver' I got 
> dizzy.
> I know that putting this on my Linux machine is going to be another week 
> of stupid questions to the kind peopel of Tiddlywikki on this group. 
>
> Bearing this in mind I was very sad to hear that the tiddlyfox is not 
> going to work soon and my question is 
> can you magicians not simply do another tiddlyfox?
>
> Cheers for all your hard work
>
>
>
>
> On Friday, September 22, 2017 at 11:05:54 AM UTC+1, RichardWilliamSmith 
> wrote:
>>
>> Hi all,
>>
>> I wrote a short tutorial on Tiddlyserver: 
>> https://www.didaxy.com/introduction-to-tiddlyserver
>>
>> Tiddlyserver is awesome and I want to try and make sure as many people as 
>> possible can use it, as effortlessly as possible, so I'd really value your 
>> feedback on anything that you think can be made clearer.
>>
>> I'd obviously especially value Arlen's feedback and input - I hope you 
>> don't mind?
>>
>> Regards,
>> Richard
>>
>
>

-- 
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 tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
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/5c74a3d7-5021-4abf-90df-bdfa9ade29a3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Introduction to Tiddlyserver

2017-09-24 Thread JWHoneycutt
@Richard and Arlen

@JWH - Arlen pulled in a request that I made that adds a file called 
>> Tiddlyserver.app (for Mac), which I have also attached here. If you want to 
>> try it, you should be able to put this is the Tiddlyserver folder (at the 
>> top level) and 'double click' to launch the server. It's just a little 
>> wrapper to run the shell script, but it should mean we can avoid the 
>> command line altogether if we figure out the settings file. Thank you for 
>> your help in getting the instructions right - we obviously still have a few 
>> wrinkles to iron out. Thanks for your patience.
>>
>  

https://github.com/Arlen22/TiddlyServer/tree/master/Tiddlyserver.app/Contents/MacOS
 



It works! Thank you for your patience with me.

I'm not sure what the github link is supposed to do (or how to utilize it, 
or if its for me or developers...)

When I open terminal, get to the correct directory, and type node server - 
I get the following instructions:

Open your browser and type in one of the following:

10.0.1.6:8080

10.62.11.6:8080


Although the second one only locks up every browser, the first link does 
work. I can then start digging into my Dropbox directories to find the file 
I'm after. It works in any browser and even on my ipad or iphone.


Apparently I must keep terminal active or the "server" is gone.


How can I start terminal (and the server) using only my ipad?  Should I 
load a terminal emulator? Do you have one you recommend?


Again thank you - I love it already.


JWH

-- 
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 tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
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/c7c8f448-1f07-42b5-8b50-90838c4e04a1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Introduction to Tiddlyserver

2017-09-24 Thread Jed Carty
As part of some of my other work I have a mostly working json editor made 
in tiddlywiki for my robot that may be useful for this. I need to clean it 
up a lot and I have been terrible about sharing the things I have made 
recently but we are hoping to use tiddlyserver to organise our internal 
documentation and tools so I will hopefully have time to clean things up 
and share what I make soon.

-- 
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 tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
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/882e83e5-7067-478c-af2c-7a93f1ac8d21%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Introduction to Tiddlyserver

2017-09-23 Thread RichardWilliamSmith
Hmmm... Possibly the copy of Tiddlyserver.app I just posted doesn't work 
right. I'm conscious of possibly confusing things here more than they need 
to be. The file in the repo is 
here:https://github.com/Arlen22/TiddlyServer/tree/master/Tiddlyserver.app/Contents/MacOS

But probably best to just get the basic app working first. Hopefully you 
have a server running now?

On Sunday, September 24, 2017 at 9:43:37 AM UTC+10, RichardWilliamSmith 
wrote:
>
> Hi,
>
> Yes Arlen is right. There's an extra curly brace.
>
>
>>
>> {
>> "tree": {
>> "dropbox": "/Users/jwh/Dropbox/TW5"
>> }
>> },
>> "types":{
>> "htmlfile": ["htm", "html"]
>> },
>> "username": "",
>> "password": "",
>> "host": "0.0.0.0",
>> "port": 8080
>> }
>
>
>
> Hi Arlen: this is why we need to figure out how to add a configurator to 
> the app somehow - editing JSON is just too hard without a proper editor 
> (which would in this case have warned about the mismatched brackets).
>
> Tiddlyclip suffers a similar problem, IMO, although that's not JSON just a 
> text tiddler that needs to be edited quite carefully to avoid breaking 
> things.
>
> I did just find this http://jsoneditoronline.org/ online, which should 
> help. But the step about "edit the json file" is still way out of line with 
> how simple the other instructions are.
>
> I think you should ship a working version of the settings.json file that 
> should work everywhere, like the one I list in my tutorial. Even if you 
> include a path for each of WIndows/unix to the top directory, at least one 
> of them should work.
>
> @JWH - Arlen pulled in a request that I made that adds a file called 
> Tiddlyserver.app (for Mac), which I have also attached here. If you want to 
> try it, you should be able to put this is the Tiddlyserver folder (at the 
> top level) and 'double click' to launch the server. It's just a little 
> wrapper to run the shell script, but it should mean we can avoid the 
> command line altogether if we figure out the settings file. Thank you for 
> your help in getting the instructions right - we obviously still have a few 
> wrinkles to iron out. Thanks for your patience.
>

-- 
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 tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
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/905e9088-c38c-4625-9bc0-f8e6843d1a34%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Introduction to Tiddlyserver

2017-09-23 Thread RichardWilliamSmith
Hi,

Yes Arlen is right. There's an extra curly brace.


>
> {
> "tree": {
> "dropbox": "/Users/jwh/Dropbox/TW5"
> }
> },
> "types":{
> "htmlfile": ["htm", "html"]
> },
> "username": "",
> "password": "",
> "host": "0.0.0.0",
> "port": 8080
> }



Hi Arlen: this is why we need to figure out how to add a configurator to 
the app somehow - editing JSON is just too hard without a proper editor 
(which would in this case have warned about the mismatched brackets).

Tiddlyclip suffers a similar problem, IMO, although that's not JSON just a 
text tiddler that needs to be edited quite carefully to avoid breaking 
things.

I did just find this http://jsoneditoronline.org/ online, which should 
help. But the step about "edit the json file" is still way out of line with 
how simple the other instructions are.

I think you should ship a working version of the settings.json file that 
should work everywhere, like the one I list in my tutorial. Even if you 
include a path for each of WIndows/unix to the top directory, at least one 
of them should work.

@JWH - Arlen pulled in a request that I made that adds a file called 
Tiddlyserver.app (for Mac), which I have also attached here. If you want to 
try it, you should be able to put this is the Tiddlyserver folder (at the 
top level) and 'double click' to launch the server. It's just a little 
wrapper to run the shell script, but it should mean we can avoid the 
command line altogether if we figure out the settings file. Thank you for 
your help in getting the instructions right - we obviously still have a few 
wrinkles to iron out. Thanks for your patience.

-- 
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 tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
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/590c154a-e81c-4929-b6b8-23f3fb5f349e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Tiddlyserver
Description: Binary data


Re: [tw] Re: Introduction to Tiddlyserver

2017-09-23 Thread Arlen Beiler
Yes, I do. After studying it for a whole minute or two, I noticed that
there are actually two brackets supposedly closing the tree object.
However, there is only one opening bracket. The indentation kind of hides
it.

On Sep 23, 2017 3:46 PM, "JWHoneycutt"  wrote:

> Hi RichardWilliamSmith,
>
> Thank you for your work on simplifying the installation of TiddlyServer.
>
> I've decided to simplify everything I can and just try to get to a
> functioning version of TiddlyServer.
>
> Everything "TiddlyServer" is in this folder: Users/jwh/Docs/TiddlyServer
>
> Here is my settings.json file:
>
> {
> "tree": {
> "dropbox": "/Users/jwh/Dropbox/TW5"
> }
> },
> "types":{
> "htmlfile": ["htm", "html"]
> },
> "username": "",
> "password": "",
> "host": "0.0.0.0",
> "port": 8080
> }
>
>
> I'm assuming that Dropbox is a good place to keep my TW5 files, and that
> the syntax above is correct. BTW, I did install Node (https://nodejs.org)
>
> I open terminal, and enter "node server" - and here is the response:
>
> JWH-MBA:TiddlyServer jwh$ node server
>
> Settings file: /Users/jwh/Docs/TiddlyServer/settings.json
>
> The settings file could not be parsed correctly
>
> SyntaxError: Unexpected token , in JSON at position 75
>
> at Object.parse (native)
>
> at Object. (/Users/jwh/Docs/TiddlyServer/server.js:29:21)
>
> at Module._compile (module.js:570:32)
>
> at Object.Module._extensions..js (module.js:579:10)
>
> at Module.load (module.js:487:32)
>
> at tryModuleLoad (module.js:446:12)
>
> at Function.Module._load (module.js:438:3)
>
> at Module.runMain (module.js:604:10)
>
> at run (bootstrap_node.js:389:7)
>
> at startup (bootstrap_node.js:149:9)
>
> at bootstrap_node.js:502:3
>
> caught process uncaughtException
>
>
> It seems like I have a syntax error in my settings.json - Do you see one?
>
> Thanks again for your help on my behalf
>
> --
> 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 tiddlywiki+unsubscr...@googlegroups.com.
> To post to this group, send email to tiddlywiki@googlegroups.com.
> 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/3a2f6845-5507-4de5-9480-2248d4083f34%40googlegroups.com
> 
> .
> 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 tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
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/CAJ1vdSSHTMtvuL_MFN3tan%3DEe9CL%3DYa4%2BdUTtJiehS3KZrOfKg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Introduction to Tiddlyserver

2017-09-23 Thread JWHoneycutt
Hi RichardWilliamSmith,

Thank you for your work on simplifying the installation of TiddlyServer.  

I've decided to simplify everything I can and just try to get to a 
functioning version of TiddlyServer.

Everything "TiddlyServer" is in this folder: Users/jwh/Docs/TiddlyServer

Here is my settings.json file:

{
"tree": {
"dropbox": "/Users/jwh/Dropbox/TW5"
}
},
"types":{
"htmlfile": ["htm", "html"]
},
"username": "",
"password": "",
"host": "0.0.0.0",
"port": 8080
}


I'm assuming that Dropbox is a good place to keep my TW5 files, and that 
the syntax above is correct. BTW, I did install Node (https://nodejs.org)

I open terminal, and enter "node server" - and here is the response:

JWH-MBA:TiddlyServer jwh$ node server

Settings file: /Users/jwh/Docs/TiddlyServer/settings.json

The settings file could not be parsed correctly

SyntaxError: Unexpected token , in JSON at position 75

at Object.parse (native)

at Object. (/Users/jwh/Docs/TiddlyServer/server.js:29:21)

at Module._compile (module.js:570:32)

at Object.Module._extensions..js (module.js:579:10)

at Module.load (module.js:487:32)

at tryModuleLoad (module.js:446:12)

at Function.Module._load (module.js:438:3)

at Module.runMain (module.js:604:10)

at run (bootstrap_node.js:389:7)

at startup (bootstrap_node.js:149:9)

at bootstrap_node.js:502:3

caught process uncaughtException


It seems like I have a syntax error in my settings.json - Do you see one?

Thanks again for your help on my behalf 

-- 
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 tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
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/3a2f6845-5507-4de5-9480-2248d4083f34%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Introduction to Tiddlyserver

2017-09-23 Thread RichardWilliamSmith
Hmmm... red. What a friendly colour. Not sure if this is intended to be 
purely information of some kind or whether you actually want some help but 
I'll assume the latter.
 

> On my mac, it unzips into my download directory. I figure I should move it 
> someplace, so I sent the whole directory to my Documents folder.
>

It should unzip right next to wherever the zip file is. Presumably the zip 
file was in your downloads directory? This is fine. You can move it if you 
want to. It doesn't matter.


I'm not sure where the "backup" directory should go, I initially placed it 
> inside Documents - but it failed to work (probably because I allowed this 
> folder to be placed on the iCloud drive and my paths aren't working), since 
> moved to a newly created Docs folder: /Users/jwh/Docs 
>

I think it just goes in the directory you just downloaded and unzipped. I 
didn't try it. Just delete the entry in the config file to begin with.

I don't know what is meant by the top directory of the repository. I did 
> not use Git - I unzipped from the Arlen link and created a directory for 
> it. In terminal, I CD (Change Directory) and get to /Users/jwh/Docs 
> directory, run "node server" and get a parsing error at location 75 
> (wherever that is). I recreate settings.json and copy it into every 
> possible location throughout the directory tree and try again
>

Ok. Well, that directory you made is the top directory of the repository. 
I'll revisit my use of the term repository, perhaps that is confusing. I'll 
perhaps try just referring to it as the 'tiddlyserver folder'

You need to run this command from the right directory. The one you 
downloaded and unzipped. Hopefully you have installed Node. This command 
will run node, looking for server(.js). Alternatively, you could run 'node 
start'

module.js:471 throw err; ^ Error: Cannot find module 
> '/Users/jwh/Docs/server' at Function.Module._resolveFilename 
> (module.js:469:15) at Function.Module._load (module.js:417:25) at 
> Module.runMain (module.js:604:10) at run (bootstrap_node.js:389:7) at 
> startup (bootstrap_node.js:149:9) at bootstrap_node.js:502:3
>

Because you're in the wrong directory so it can't find server.js

So I copy server.js to /Users/jwh/Docs and rerun node server - and now it 
> wants /lib files... I realize that I should be in directory 
> /Users/jwh/Docs/TiddlyServer-2.0.6 And I get my original parse error at 
> location 75
>

Because it needs all the other files too.

Did you get it to work in the end?

>

-- 
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 tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
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/70288602-ca31-4a5c-a334-023dbac0b590%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Introduction to Tiddlyserver

2017-09-23 Thread JWHoneycutt


On Friday, September 22, 2017 at 6:05:54 AM UTC-4, RichardWilliamSmith 
wrote:
>
> I wrote a short tutorial on Tiddlyserver: 
> https://www.didaxy.com/introduction-to-tiddlyserver
>


Picking up where my trouble starts...
What You Need

You need to install Node.js, which you can do just like any other app, from 
here: https://nodejs.org (the LTS, "Long Term Support" version will be best 
for most people)

Then you need to download and install Tiddlyserver itself. The best way to 
do so is to go here:https://github.com/Arlen22/TiddlyServer/releases and 
download the most recent zip file, then unzip it.

On my mac, it unzips into my download directory. I figure I should move it 
someplace, so I sent the whole directory to my Documents folder. 

If you would prefer to use git and have it installed, you can do git clone 
https://github.com/Arlen22/TiddlyServer from the command line, or use 
Github Desktop for an easier alternative. If use git, you'll also need to 
run npm install from the main directory to install the dependencies. Note 
also that the git repo contains a lot of unused files and the stable 
release (zip file) contains other optimisations that also make it run 
faster.
Settings

Now we need to create a settings file, in the directory we just created, 
which will be called settings.json. You can either follow the steps and 
reasoning outlined below, or just create a file with that name, skip to the 
next section (settings.json), and give it the content listed there.

In the folder you just created, you can find the file example-settings.json 
and open it in an editor.

If you don't normally use an editor, you probably nevertheless have one 
installed and 'double-clicking' the file may well open it in a suitable app 
that shouldn't be too hard to use.

We need to change a lot of things in this file. To begin with, it looks 
like this:

{
// all comments need to be removed from this file
"tree": {
"dropbox": "C:\\Users\\Someone\\Dropbox\\TiddlyWiki",
"tiddlywiki": "C:\\TiddlyWiki5-5.1.14",
"relative": "../relative_to_settings_file",
"branch": {
"twig1": "C:/Some Folder",
"twig2": "C:/Some Other Folder"
}
},
//this is the default value if types is not specified
//this only applies to the directory listing
//specifies file extensions for each icon in the files folder
"types":{
"htmlfile": ["htm", "html"]
},
"username": "",
"password": "",
//127.0.0.1 (the default) serves on localhost, 0.0.0.0 serves on all 
network connections.
"host": "127.0.0.1",
"port": 8080,
//remove or set to an empty string to disable backups when saving 
single-file wikis
"backupDirectory": "backup"
}

As it says, we need to remove all the comments.

We also need to change the entries in the 'tree' at the top to match the 
places on our filing system we want to serve files from.

If we want to serve files to the whole network, we should change 127.0.0.1 
to 0.0.0.0 (we've done this below but you can leave it as 127.0.0.1 if you 
want to restrict access to just your own machine.

If we want to, we can change the port number to something else (if you 
don't know what this means, there's very little chance you would need to 
change it).

To avoid a current quirk, which prevents saving, we also need to either 
create a directory called 'backup', to save backups in, or delete the value 
'backup' from the last line.

I'm not sure where the "backup" directory should go, I initially placed it 
inside Documents - but it failed to work (probably because I allowed this 
folder to be placed on the iCloud drive and my paths aren't working), since 
moved to a newly created Docs folder: /Users/jwh/Docs 

Once we've made the changes we need to save this file with a different name 
(usually 'save as' or similar'). It needs to be called settings.json.

The result should look like this looks like this: settings.json

{
"tree": {
"mac_everybody": "/Users",
"windows_everybody": "C:\\Users",
},
"types":{
"htmlfile": ["htm", "html"]
},
"username": "",
"password": "",
"host": "0.0.0.0",
"port": 8080,
"backupDirectory": ""
}

Note that the only difference between Windows and Unix/Mac is the style of 
the paths. I've included an example of each here, you should delete the one 
that doesn't apply.

You can add as many entries as you like and they can be nested too, as 
shown in example-settings.json, but they don't need to be. The simplest 
configuration is a single entry.
Running Tiddlyserver

Now we can run Tiddlyserver.

I think that if you're using Windows(tm), you should be able to 
double-click start.cmd and the process should run. (is that right?)

If you're using a Mac, a similar mechanism is also possible, but the file 
you need isn't included yet (I sent a pull request: Hi Arlen!)

To run the app from the command line, in the top directory of the 

[tw] Re: Introduction to Tiddlyserver

2017-09-22 Thread Mat
Thank you Richard! If I get a chance this weekend I'll try to follow this.

<:-)


On Friday, September 22, 2017 at 12:05:54 PM UTC+2, RichardWilliamSmith 
wrote:
>
> Hi all,
>
> I wrote a short tutorial on Tiddlyserver: 
> https://www.didaxy.com/introduction-to-tiddlyserver
>
> Tiddlyserver is awesome and I want to try and make sure as many people as 
> possible can use it, as effortlessly as possible, so I'd really value your 
> feedback on anything that you think can be made clearer.
>
> I'd obviously especially value Arlen's feedback and input - I hope you 
> don't mind?
>
> Regards,
> Richard
>

-- 
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 tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
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/e80efff2-6f19-4745-8045-cad1bafa5abe%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.