Re: [tw5] Re: TiddlyWiki5, Raspberry Pi and Vim: A guide for the command line aficionado

2021-07-10 Thread Precious Chicken
 

On Saturday, July 10, 2021 at 3:51:46 PM UTC+1 saq.i...@gmail.com wrote:

> Hi Gene,
>
> No attribution needed from my end, if you feel its necessary a link to 
> Github would do: https://github.com/saqimtiaz
> Cheers,
> Saq
>
> On Saturday, July 10, 2021 at 4:20:39 PM UTC+2 he...@preciouschicken.com 
> wrote:
>
>> Thank you, interesting, I hadn't seen this plugin previously.  I've put a 
>> link to this thread in the addendum; but I will enlarge the section and put 
>> an explicit link to the plugin and include your code snippet too.  
>> Incidentally do you have a home page / social media profile so I can 
>> attribute you correctly (assuming you wanted that)?  
>>
>> Incidentally my blog posts are always like this - it is only when I've 
>> finished them I find half a dozen interesting new ways of approaching the 
>> problem :)
>>
>> Yours
>> Gene
>>
>> On Friday, July 9, 2021 at 10:24:15 AM UTC+1 saq.i...@gmail.com wrote:
>>
>>> @Gene this plugin might be worth a look too:
>>>
>>>
>>> https://github.com/linonetwo/tiddlywiki-plugins/tree/master/plugins/linonetwo/watch-fs
>>>
>>> "This plugin enables TiddlyWiki to watch the change in your disk, and if 
>>> you edit one of your tiddler using editor likes VSCode and save it on the 
>>> disk, the change will immediately reflected in the browser."
>>>
>>> On Wednesday, July 7, 2021 at 8:01:46 PM UTC+2 he...@preciouschicken.com 
>>> wrote:
>>>
 @Saq - Ha yes, that's a neat way of getting around the need for 
 nodemon, that I hadn't considered (mostly as I was ignorant of the API / 
 focussed on writing to the folder).  And you could call a bash script from 
 Vim, or as @David Shaw points out an even tidier way would be to write it 
 with VimL.  

 If I have time for a project prior to the next release, I might give it 
 a whirl.  Thanks for the suggestion / education.

 Yours,
 Gene

 On Wednesday, July 7, 2021 at 10:22:19 AM UTC+1 David Shaw wrote:

> Like Saq, I'm no Vim expert, but there's also the built in VimL 
> language that might be able to do this without having to invoke external 
> scripts.
>
> And thanks for the original post - very interesting and possibly of 
> use to me.
>
> Many thanks,
> David Shaw
>
>
> On Wed, 7 Jul 2021, 09:50 Saq Imtiaz,  wrote:
>
>> Hi Gene,
>>
>> For the specific use case that your video demonstrates, i.e. creating 
>> short new tiddlers rather than editing existing ones, have you 
>> considered 
>> the following workflow:
>>
>> - don't write your newly created tiddler files to the wiki directory.
>> - instead have vim do a PUT request with cURL to the tiddlywiki to 
>> save the tiddler.
>>
>> API: 
>> https://tiddlywiki.com/#WebServer%20API%3A%20Put%20Tiddler:%5B%5BWebServer%20API%3A%20Put%20Tiddler%5D%5D
>>
>> Example:
>>
>> curl -X PUT -i 'http://192.168.0.12:8080/recipes/default/tiddlers/
>> NewTiddlerTitle' --data '{
>>  "tags": "firstTag anotherTag",
>>  "creator": "gene",
>>  "modifier": "gene",
>>  "text": "The use of knowledge in society"
>> }' -H "X-Requested-With: TiddlyWiki"
>>
>> I don't use VIM myself but as far as I know it can execute bash 
>> scripts so you could set one up to do the PUT with cURL. Alternatively 
>> there seem to be VIM plugins specifically for interacting with APIs.
>>
>> Cheers,
>> Saq
>>
>>
>>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/692b2ad8-f2a9-48e1-9428-4b035155aa82n%40googlegroups.com.


Re: [tw5] Re: TiddlyWiki5, Raspberry Pi and Vim: A guide for the command line aficionado

2021-07-10 Thread Saq Imtiaz
Hi Gene,

No attribution needed from my end, if you feel its necessary a link to 
Github would do: https://github.com/saqimtiaz
Cheers,
Saq

On Saturday, July 10, 2021 at 4:20:39 PM UTC+2 he...@preciouschicken.com 
wrote:

> Thank you, interesting, I hadn't seen this plugin previously.  I've put a 
> link to this thread in the addendum; but I will enlarge the section and put 
> an explicit link to the plugin and include your code snippet too.  
> Incidentally do you have a home page / social media profile so I can 
> attribute you correctly (assuming you wanted that)?  
>
> Incidentally my blog posts are always like this - it is only when I've 
> finished them I find half a dozen interesting new ways of approaching the 
> problem :)
>
> Yours
> Gene
>
> On Friday, July 9, 2021 at 10:24:15 AM UTC+1 saq.i...@gmail.com wrote:
>
>> @Gene this plugin might be worth a look too:
>>
>>
>> https://github.com/linonetwo/tiddlywiki-plugins/tree/master/plugins/linonetwo/watch-fs
>>
>> "This plugin enables TiddlyWiki to watch the change in your disk, and if 
>> you edit one of your tiddler using editor likes VSCode and save it on the 
>> disk, the change will immediately reflected in the browser."
>>
>> On Wednesday, July 7, 2021 at 8:01:46 PM UTC+2 he...@preciouschicken.com 
>> wrote:
>>
>>> @Saq - Ha yes, that's a neat way of getting around the need for nodemon, 
>>> that I hadn't considered (mostly as I was ignorant of the API / focussed on 
>>> writing to the folder).  And you could call a bash script from Vim, or as 
>>> @David Shaw points out an even tidier way would be to write it with VimL.  
>>>
>>> If I have time for a project prior to the next release, I might give it 
>>> a whirl.  Thanks for the suggestion / education.
>>>
>>> Yours,
>>> Gene
>>>
>>> On Wednesday, July 7, 2021 at 10:22:19 AM UTC+1 David Shaw wrote:
>>>
 Like Saq, I'm no Vim expert, but there's also the built in VimL 
 language that might be able to do this without having to invoke external 
 scripts.

 And thanks for the original post - very interesting and possibly of use 
 to me.

 Many thanks,
 David Shaw


 On Wed, 7 Jul 2021, 09:50 Saq Imtiaz,  wrote:

> Hi Gene,
>
> For the specific use case that your video demonstrates, i.e. creating 
> short new tiddlers rather than editing existing ones, have you considered 
> the following workflow:
>
> - don't write your newly created tiddler files to the wiki directory.
> - instead have vim do a PUT request with cURL to the tiddlywiki to 
> save the tiddler.
>
> API: 
> https://tiddlywiki.com/#WebServer%20API%3A%20Put%20Tiddler:%5B%5BWebServer%20API%3A%20Put%20Tiddler%5D%5D
>
> Example:
>
> curl -X PUT -i 'http://192.168.0.12:8080/recipes/default/tiddlers/
> NewTiddlerTitle' --data '{
>  "tags": "firstTag anotherTag",
>  "creator": "gene",
>  "modifier": "gene",
>  "text": "The use of knowledge in society"
> }' -H "X-Requested-With: TiddlyWiki"
>
> I don't use VIM myself but as far as I know it can execute bash 
> scripts so you could set one up to do the PUT with cURL. Alternatively 
> there seem to be VIM plugins specifically for interacting with APIs.
>
> Cheers,
> Saq
>
>
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/0c830593-83f3-4da5-964f-97db385ff69en%40googlegroups.com.


Re: [tw5] Re: TiddlyWiki5, Raspberry Pi and Vim: A guide for the command line aficionado

2021-07-10 Thread Precious Chicken
Thank you, interesting, I hadn't seen this plugin previously.  I've put a 
link to this thread in the addendum; but I will enlarge the section and put 
an explicit link to the plugin and include your code snippet too.  
Incidentally do you have a home page / social media profile so I can 
attribute you correctly (assuming you wanted that)?  

Incidentally my blog posts are always like this - it is only when I've 
finished them I find half a dozen interesting new ways of approaching the 
problem :)

Yours
Gene

On Friday, July 9, 2021 at 10:24:15 AM UTC+1 saq.i...@gmail.com wrote:

> @Gene this plugin might be worth a look too:
>
>
> https://github.com/linonetwo/tiddlywiki-plugins/tree/master/plugins/linonetwo/watch-fs
>
> "This plugin enables TiddlyWiki to watch the change in your disk, and if 
> you edit one of your tiddler using editor likes VSCode and save it on the 
> disk, the change will immediately reflected in the browser."
>
> On Wednesday, July 7, 2021 at 8:01:46 PM UTC+2 he...@preciouschicken.com 
> wrote:
>
>> @Saq - Ha yes, that's a neat way of getting around the need for nodemon, 
>> that I hadn't considered (mostly as I was ignorant of the API / focussed on 
>> writing to the folder).  And you could call a bash script from Vim, or as 
>> @David Shaw points out an even tidier way would be to write it with VimL.  
>>
>> If I have time for a project prior to the next release, I might give it a 
>> whirl.  Thanks for the suggestion / education.
>>
>> Yours,
>> Gene
>>
>> On Wednesday, July 7, 2021 at 10:22:19 AM UTC+1 David Shaw wrote:
>>
>>> Like Saq, I'm no Vim expert, but there's also the built in VimL language 
>>> that might be able to do this without having to invoke external scripts.
>>>
>>> And thanks for the original post - very interesting and possibly of use 
>>> to me.
>>>
>>> Many thanks,
>>> David Shaw
>>>
>>>
>>> On Wed, 7 Jul 2021, 09:50 Saq Imtiaz,  wrote:
>>>
 Hi Gene,

 For the specific use case that your video demonstrates, i.e. creating 
 short new tiddlers rather than editing existing ones, have you considered 
 the following workflow:

 - don't write your newly created tiddler files to the wiki directory.
 - instead have vim do a PUT request with cURL to the tiddlywiki to save 
 the tiddler.

 API: 
 https://tiddlywiki.com/#WebServer%20API%3A%20Put%20Tiddler:%5B%5BWebServer%20API%3A%20Put%20Tiddler%5D%5D

 Example:

 curl -X PUT -i 'http://192.168.0.12:8080/recipes/default/tiddlers/
 NewTiddlerTitle' --data '{
  "tags": "firstTag anotherTag",
  "creator": "gene",
  "modifier": "gene",
  "text": "The use of knowledge in society"
 }' -H "X-Requested-With: TiddlyWiki"

 I don't use VIM myself but as far as I know it can execute bash scripts 
 so you could set one up to do the PUT with cURL. Alternatively there seem 
 to be VIM plugins specifically for interacting with APIs.

 Cheers,
 Saq




-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/3a284643-5702-4a2d-b43b-dc47960b5363n%40googlegroups.com.


Re: [tw5] Re: TiddlyWiki5, Raspberry Pi and Vim: A guide for the command line aficionado

2021-07-09 Thread Saq Imtiaz
@Gene this plugin might be worth a look too:

https://github.com/linonetwo/tiddlywiki-plugins/tree/master/plugins/linonetwo/watch-fs

"This plugin enables TiddlyWiki to watch the change in your disk, and if 
you edit one of your tiddler using editor likes VSCode and save it on the 
disk, the change will immediately reflected in the browser."

On Wednesday, July 7, 2021 at 8:01:46 PM UTC+2 he...@preciouschicken.com 
wrote:

> @Saq - Ha yes, that's a neat way of getting around the need for nodemon, 
> that I hadn't considered (mostly as I was ignorant of the API / focussed on 
> writing to the folder).  And you could call a bash script from Vim, or as 
> @David Shaw points out an even tidier way would be to write it with VimL.  
>
> If I have time for a project prior to the next release, I might give it a 
> whirl.  Thanks for the suggestion / education.
>
> Yours,
> Gene
>
> On Wednesday, July 7, 2021 at 10:22:19 AM UTC+1 David Shaw wrote:
>
>> Like Saq, I'm no Vim expert, but there's also the built in VimL language 
>> that might be able to do this without having to invoke external scripts.
>>
>> And thanks for the original post - very interesting and possibly of use 
>> to me.
>>
>> Many thanks,
>> David Shaw
>>
>>
>> On Wed, 7 Jul 2021, 09:50 Saq Imtiaz,  wrote:
>>
>>> Hi Gene,
>>>
>>> For the specific use case that your video demonstrates, i.e. creating 
>>> short new tiddlers rather than editing existing ones, have you considered 
>>> the following workflow:
>>>
>>> - don't write your newly created tiddler files to the wiki directory.
>>> - instead have vim do a PUT request with cURL to the tiddlywiki to save 
>>> the tiddler.
>>>
>>> API: 
>>> https://tiddlywiki.com/#WebServer%20API%3A%20Put%20Tiddler:%5B%5BWebServer%20API%3A%20Put%20Tiddler%5D%5D
>>>
>>> Example:
>>>
>>> curl -X PUT -i 'http://192.168.0.12:8080/recipes/default/tiddlers/
>>> NewTiddlerTitle' --data '{
>>>  "tags": "firstTag anotherTag",
>>>  "creator": "gene",
>>>  "modifier": "gene",
>>>  "text": "The use of knowledge in society"
>>> }' -H "X-Requested-With: TiddlyWiki"
>>>
>>> I don't use VIM myself but as far as I know it can execute bash scripts 
>>> so you could set one up to do the PUT with cURL. Alternatively there seem 
>>> to be VIM plugins specifically for interacting with APIs.
>>>
>>> Cheers,
>>> Saq
>>>
>>>
>>>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/3e29ad77-2af2-4907-bcf5-20942f771631n%40googlegroups.com.


Re: [tw5] Re: TiddlyWiki5, Raspberry Pi and Vim: A guide for the command line aficionado

2021-07-07 Thread Precious Chicken
@Saq - Ha yes, that's a neat way of getting around the need for nodemon, 
that I hadn't considered (mostly as I was ignorant of the API / focussed on 
writing to the folder).  And you could call a bash script from Vim, or as 
@David Shaw points out an even tidier way would be to write it with VimL.  

If I have time for a project prior to the next release, I might give it a 
whirl.  Thanks for the suggestion / education.

Yours,
Gene

On Wednesday, July 7, 2021 at 10:22:19 AM UTC+1 David Shaw wrote:

> Like Saq, I'm no Vim expert, but there's also the built in VimL language 
> that might be able to do this without having to invoke external scripts.
>
> And thanks for the original post - very interesting and possibly of use to 
> me.
>
> Many thanks,
> David Shaw
>
>
> On Wed, 7 Jul 2021, 09:50 Saq Imtiaz,  wrote:
>
>> Hi Gene,
>>
>> For the specific use case that your video demonstrates, i.e. creating 
>> short new tiddlers rather than editing existing ones, have you considered 
>> the following workflow:
>>
>> - don't write your newly created tiddler files to the wiki directory.
>> - instead have vim do a PUT request with cURL to the tiddlywiki to save 
>> the tiddler.
>>
>> API: 
>> https://tiddlywiki.com/#WebServer%20API%3A%20Put%20Tiddler:%5B%5BWebServer%20API%3A%20Put%20Tiddler%5D%5D
>>
>> Example:
>>
>> curl -X PUT -i 'http://192.168.0.12:8080/recipes/default/tiddlers/
>> NewTiddlerTitle' --data '{
>>  "tags": "firstTag anotherTag",
>>  "creator": "gene",
>>  "modifier": "gene",
>>  "text": "The use of knowledge in society"
>> }' -H "X-Requested-With: TiddlyWiki"
>>
>> I don't use VIM myself but as far as I know it can execute bash scripts 
>> so you could set one up to do the PUT with cURL. Alternatively there seem 
>> to be VIM plugins specifically for interacting with APIs.
>>
>> Cheers,
>> Saq
>>
>>
>>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/fa4d0af1-d398-4ec4-b9cc-bc55d9c74ddfn%40googlegroups.com.


Re: [tw5] Re: TiddlyWiki5, Raspberry Pi and Vim: A guide for the command line aficionado

2021-07-07 Thread David Shaw
Like Saq, I'm no Vim expert, but there's also the built in VimL language
that might be able to do this without having to invoke external scripts.

And thanks for the original post - very interesting and possibly of use to
me.

Many thanks,
David Shaw


On Wed, 7 Jul 2021, 09:50 Saq Imtiaz,  wrote:

> Hi Gene,
>
> For the specific use case that your video demonstrates, i.e. creating
> short new tiddlers rather than editing existing ones, have you considered
> the following workflow:
>
> - don't write your newly created tiddler files to the wiki directory.
> - instead have vim do a PUT request with cURL to the tiddlywiki to save
> the tiddler.
>
> API:
> https://tiddlywiki.com/#WebServer%20API%3A%20Put%20Tiddler:%5B%5BWebServer%20API%3A%20Put%20Tiddler%5D%5D
>
> Example:
>
> curl -X PUT -i 'http://192.168.0.12:8080/recipes/default/tiddlers/
> NewTiddlerTitle' --data '{
>  "tags": "firstTag anotherTag",
>  "creator": "gene",
>  "modifier": "gene",
>  "text": "The use of knowledge in society"
> }' -H "X-Requested-With: TiddlyWiki"
>
> I don't use VIM myself but as far as I know it can execute bash scripts so
> you could set one up to do the PUT with cURL. Alternatively there seem to
> be VIM plugins specifically for interacting with APIs.
>
> Cheers,
> Saq
>
>
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/CAHODQvxT_MHS3yGq58-CZUDrG%2BNnPFeorqQgrb3%3DAC9-UvaKHg%40mail.gmail.com.


[tw5] Re: TiddlyWiki5, Raspberry Pi and Vim: A guide for the command line aficionado

2021-07-07 Thread Saq Imtiaz
Hi Gene,

For the specific use case that your video demonstrates, i.e. creating short 
new tiddlers rather than editing existing ones, have you considered the 
following workflow:

- don't write your newly created tiddler files to the wiki directory.
- instead have vim do a PUT request with cURL to the tiddlywiki to save the 
tiddler.

API: 
https://tiddlywiki.com/#WebServer%20API%3A%20Put%20Tiddler:%5B%5BWebServer%20API%3A%20Put%20Tiddler%5D%5D

Example:

curl -X PUT -i 'http://192.168.0.12:8080/recipes/default/tiddlers/
NewTiddlerTitle' --data '{
 "tags": "firstTag anotherTag",
 "creator": "gene",
 "modifier": "gene",
 "text": "The use of knowledge in society"
}' -H "X-Requested-With: TiddlyWiki"

I don't use VIM myself but as far as I know it can execute bash scripts so 
you could set one up to do the PUT with cURL. Alternatively there seem to 
be VIM plugins specifically for interacting with APIs.

Cheers,
Saq

On Tuesday, July 6, 2021 at 10:21:56 PM UTC+2 he...@preciouschicken.com 
wrote:

> Sorry for delay in response, my first attempt seemed not to get picked up 
> by Google Groups.
>
> Anyway, I appreciate the reply; your set up sounds a lot more 
> sophisticated.  I too will use the new version as a prompt to see if I can 
> refine how I'm doing this, nodemon is fine but definitely feels slightly 
> kludgy.
>
> NB - I've added a video to my original blog post, realised my description 
> of creating tiddlers from the command line is clearer when you can see it.
>
> Yours
> Gene
>
> On Sunday, July 4, 2021 at 6:41:32 PM UTC+1 saq.i...@gmail.com wrote:
>
>> That is a very interesting setup, thank you for taking the time to share 
>> it.
>>
>> My use case for notes also involves interacting with them via text 
>> editors and other tools as well as  having them in TiddlyWiki. What I set 
>> up a few years back was a combo of fswatch + cURL + the tiddlywiki server 
>> API. Watching for file system changes wasn't as reliable at the time so the 
>> setup was a bit finicky and tricky to get it right. So I've never fiddled 
>> with the config or even upgraded the wiki once I had it working.
>>
>> The next version of TW includes a server sent events feature with which 
>> tiddlers propagate from the server to client almost instantly, so that will 
>> be my queue to upgrade that wiki. I will need to consider if moving to 
>> nodemon might make sense as well, I use it for TW dev at the moment and it 
>> does seem to work well enough.
>>
>> Cheers,
>> Saq 
>>
>> On Sunday, July 4, 2021 at 3:27:35 PM UTC+2 he...@preciouschicken.com 
>> wrote:
>>
>>> I hesitate slightly in posting to this group as my use case covers such 
>>> a niche audience, I'm not sure how much utility there is in sharing it.  
>>> However in short I wanted to host a TiddlyWiki on a Raspberry Pi, create 
>>> tiddlers from the command line and edit them with vim.  Once I figured out 
>>> how to do that I thought I'd blog about it (mostly so I can retrace my 
>>> steps later on):
>>>
>>>
>>> https://www.preciouschicken.com/blog/posts/tiddlywiki5-raspberry-pi-guide/
>>>
>>> I'm not sure the nodemon hack will be required in future, I think I read 
>>> another thread suggesting that this form of updating functionality might be 
>>> built in (though I could have got that wrong)?
>>>
>>> Many thanks to the creator and the maintainers of TiddlyWiki.  Really 
>>> enjoy using and playing around with it.
>>>
>>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/1a6d434d-a720-47a7-8ea1-d7de680953b7n%40googlegroups.com.


[tw5] Re: TiddlyWiki5, Raspberry Pi and Vim: A guide for the command line aficionado

2021-07-06 Thread Precious Chicken
Sorry for delay in response, my first attempt seemed not to get picked up 
by Google Groups.

Anyway, I appreciate the reply; your set up sounds a lot more 
sophisticated.  I too will use the new version as a prompt to see if I can 
refine how I'm doing this, nodemon is fine but definitely feels slightly 
kludgy.

NB - I've added a video to my original blog post, realised my description 
of creating tiddlers from the command line is clearer when you can see it.

Yours
Gene

On Sunday, July 4, 2021 at 6:41:32 PM UTC+1 saq.i...@gmail.com wrote:

> That is a very interesting setup, thank you for taking the time to share 
> it.
>
> My use case for notes also involves interacting with them via text editors 
> and other tools as well as  having them in TiddlyWiki. What I set up a few 
> years back was a combo of fswatch + cURL + the tiddlywiki server API. 
> Watching for file system changes wasn't as reliable at the time so the 
> setup was a bit finicky and tricky to get it right. So I've never fiddled 
> with the config or even upgraded the wiki once I had it working.
>
> The next version of TW includes a server sent events feature with which 
> tiddlers propagate from the server to client almost instantly, so that will 
> be my queue to upgrade that wiki. I will need to consider if moving to 
> nodemon might make sense as well, I use it for TW dev at the moment and it 
> does seem to work well enough.
>
> Cheers,
> Saq 
>
> On Sunday, July 4, 2021 at 3:27:35 PM UTC+2 he...@preciouschicken.com 
> wrote:
>
>> I hesitate slightly in posting to this group as my use case covers such a 
>> niche audience, I'm not sure how much utility there is in sharing it.  
>> However in short I wanted to host a TiddlyWiki on a Raspberry Pi, create 
>> tiddlers from the command line and edit them with vim.  Once I figured out 
>> how to do that I thought I'd blog about it (mostly so I can retrace my 
>> steps later on):
>>
>> https://www.preciouschicken.com/blog/posts/tiddlywiki5-raspberry-pi-guide/
>>
>> I'm not sure the nodemon hack will be required in future, I think I read 
>> another thread suggesting that this form of updating functionality might be 
>> built in (though I could have got that wrong)?
>>
>> Many thanks to the creator and the maintainers of TiddlyWiki.  Really 
>> enjoy using and playing around with it.
>>
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/e08f6d06-2bc8-4d3e-af87-088e5f2d9bccn%40googlegroups.com.


[tw5] Re: TiddlyWiki5, Raspberry Pi and Vim: A guide for the command line aficionado

2021-07-04 Thread Saq Imtiaz
That is a very interesting setup, thank you for taking the time to share it.

My use case for notes also involves interacting with them via text editors 
and other tools as well as  having them in TiddlyWiki. What I set up a few 
years back was a combo of fswatch + cURL + the tiddlywiki server API. 
Watching for file system changes wasn't as reliable at the time so the 
setup was a bit finicky and tricky to get it right. So I've never fiddled 
with the config or even upgraded the wiki once I had it working.

The next version of TW includes a server sent events feature with which 
tiddlers propagate from the server to client almost instantly, so that will 
be my queue to upgrade that wiki. I will need to consider if moving to 
nodemon might make sense as well, I use it for TW dev at the moment and it 
does seem to work well enough.

Cheers,
Saq 

On Sunday, July 4, 2021 at 3:27:35 PM UTC+2 he...@preciouschicken.com wrote:

> I hesitate slightly in posting to this group as my use case covers such a 
> niche audience, I'm not sure how much utility there is in sharing it.  
> However in short I wanted to host a TiddlyWiki on a Raspberry Pi, create 
> tiddlers from the command line and edit them with vim.  Once I figured out 
> how to do that I thought I'd blog about it (mostly so I can retrace my 
> steps later on):
>
> https://www.preciouschicken.com/blog/posts/tiddlywiki5-raspberry-pi-guide/
>
> I'm not sure the nodemon hack will be required in future, I think I read 
> another thread suggesting that this form of updating functionality might be 
> built in (though I could have got that wrong)?
>
> Many thanks to the creator and the maintainers of TiddlyWiki.  Really 
> enjoy using and playing around with it.
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/c8b8fbff-198c-49b9-b82f-2714b01ab274n%40googlegroups.com.