[tw5] Re: copy button in each code block

2023-05-11 Thread Mike Andyl
Can someone explain how to use this?

понедельник, 27 февраля 2023 г. в 13:00:01 UTC+3, yasai ya: 

> Sorry, it wasn't fixed at all, but finally I fixed the problem.
>
> param=<<__tx__>>
> ↓
> param={{{ [<__tx__>trim[]] }}}
>
>
>
> Full code
> ---
>
>
> \define code(tx)
>
> 
> table.mycodeblock {
>   border:   none;
>   margin:   7px 0 11px;
> }
> table.mycodeblock pre {
>   margin:   0;
> }
> table.mycodeblock td {
>   border:   none;
>   padding:  0;
>   position: relative;
> }
> table.mycodeblock button {
>   position: absolute;
>   left: -30px;
>   top:  2px;
> }
> table.mycodeblock button svg.tc-image-button {
>   height:   2em;
>   width:2em;
>   fill: none;
> }
> table.mycodeblock:hover button svg.tc-image-button {
>   fill: <>;
>   animation: 0.35s cubic-bezier(.35, 0, .35, 1) 2 alternate;
>   animation-name: breathe,blink;
> }
> table.mycodeblock button:hover svg.tc-image-button {
>   fill: <>;
> }
> @keyframes blink {
>   from { opacity: 1; }
>   to   { opacity: .35; }
> }
> @keyframes breathe {
>   from { transform: scale(1); }
>   to   { transform: scale(1.5); }
> }
> 
> 
>
>
> ```$tx$
> ```
>
> <$button class="tc-btn-invisible" message="tm-copy-to-clipboard" 
> param={{{ [<__tx__>trim[]] }}} 
> tooltip={{$:/language/Buttons/CopyToClipboard/Hint}}>{{$:/core/images/copy-clipboard}}
> \end
> 2023年2月24日金曜日 13:47:50 UTC+9 yasai ya:
>
>> Thank you!
>> Your post was very helpful.
>>
>> But it looked like the CSS wouldn't apply without the macro tiddler was 
>> visible.
>>
>> So I modified it like this.
>>
>> ```
>> \define code(tx)
>>
>> 
>> table.mycodeblock {
>>   border:   none;
>>   margin:   7px 0 11px;
>> }
>> table.mycodeblock pre {
>>   margin:   0;
>> }
>> table.mycodeblock td {
>>   border:   none;
>>   padding:  0;
>>   position: relative;
>> }
>> table.mycodeblock button {
>>   position: absolute;
>>   left: -30px;
>>   top:  2px;
>> }
>> table.mycodeblock button svg.tc-image-button {
>>   height:   2em;
>>   width:2em;
>>   fill: none;
>> }
>> table.mycodeblock:hover button svg.tc-image-button {
>>   fill: <>;
>>   animation: 0.35s cubic-bezier(.35, 0, .35, 1) 2 alternate;
>>   animation-name: breathe,blink;
>> }
>> table.mycodeblock button:hover svg.tc-image-button {
>>   fill: <>;
>> }
>> @keyframes blink {
>>   from { opacity: 1; }
>>   to   { opacity: .35; }
>> }
>> @keyframes breathe {
>>   from { transform: scale(1); }
>>   to   { transform: scale(1.5); }
>> }
>> 
>> 
>>
>> ```$tx$
>> ```
>> <$button class="tc-btn-invisible" message="tm-copy-to-clipboard" 
>> param=<<__tx__>> 
>> tooltip={{$:/language/Buttons/CopyToClipboard/Hint}}>{{$:/core/images/copy-clipboard}}
>> \end
>> ```
>>
>> I'm newbie to HTML, so if there are any problems with this approach, I'd 
>> appreciate it if you could let me know.
>> 2018年5月4日金曜日 3:39:32 UTC+9 Rustem:
>>
>>> I managed to do it with just macros and CSS. One thing I could not avoid 
>>> is copying line breaks before and after the code. Hope there will be a 
>>> plugin someday that will overcome that, as well as do away with the table 
>>> wrapper. Here is a self-contained demo tiddler.
>>>
>>> \define code(tx)
>>> 
>>>
>>> ```$tx$
>>> ```
>>> <$button class="tc-btn-invisible" 
>>> message="tm-copy-to-clipboard" param=<<__tx__>> tooltip={{$:/language/
>>> Buttons/CopyToClipboard/Hint}}>{{$:/core/images/copy-clipboard}}>> $button>
>>> \end
>>>
>>> 
>>> table.mycodeblock {
>>>   border:   none;
>>>   margin:   7px 0 11px;
>>> }
>>> table.mycodeblock pre {
>>>   margin:   0;
>>> }
>>> table.mycodeblock td {
>>>   border:   none;
>>>   padding:  0;
>>>   position: relative;
>>> }
>>> table.mycodeblock button {
>>>   position: absolute;
>>>   left: -30px;
>>>   top:  2px;
>>> }
>>> table.mycodeblock button svg.tc-image-button {
>>>   height:   2em;
>>>   width:2em;
>>>   fill: none;
>>> }
>>> table.mycodeblock:hover button svg.tc-image-button {
>>>   fill: <>;
>>>   animation: 0.35s cubic-bezier(.35, 0, .35, 1) 2 alternate;
>>>   animation-name: breathe,blink;
>>> }
>>> table.mycodeblock button:hover svg.tc-image-button {
>>>   fill: <>;
>>> }
>>>
>>> @keyframes blink {
>>>   from { opacity: 1; }
>>>   to   { opacity: .35; }
>>> }
>>> @keyframes breathe {
>>>   from { transform: scale(1); }
>>>   to   { transform: scale(1.5); }
>>> }
>>>
>>> 
>>>
>>>
>>> in your tiddlers just write :
>>>
>>> <>> code here
>>> more code
>>> """>>
>>>
>>>
>>>
>>> On Saturday, April 28, 2018 at 5:17:04 PM UTC-7, Rustem wrote:

 That works, thanks. Would be great though, to have the button appear 
 inside the block, on hover.

 On Saturday, April 28, 2018 at 2:31:13 AM UTC-7, BurningTreeC wrote:
>
> hi @Rustem 
>
> you could just create a macro in a tiddler say $:/_macros tagged with 
> $:/tags/Macro with the content:
>
> \define 

[tw5] Re: TiddlyServer

2023-05-11 Thread Télumire
And for a better experience using GitHub I suggest you use the external 
core setup, that way saving will be very fast (as long as the wiki is not 
too big of course): 
https://talk.tiddlywiki.org/t/how-to-reduce-the-size-of-your-tiddlywiki/5364

On Thursday, 11 May 2023 at 23:09:58 UTC+2 Télumire wrote:

> FYI you can create a token easily with this link: 
> https://github.com/settings/tokens/new?scopes=repo=tw
>
> On Thursday, 11 May 2023 at 15:38:00 UTC+2 Ross Table wrote:
>
>> no, you have to generate a PAT (
>> https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token),
>>  
>> its sort of like a password then on the wiki you have to click the cog and 
>> find the github settings and paste it in there along with the github 
>> account name and other stuff, that field is then saved locally (I think as 
>> a cookie but not sure) so you have to do it the first time you time you try 
>> and make a change from that device/browser. (IF you don't have the PAT in, 
>> it will "download" a copy to your downloads folder)
>>
>> One thing you can do to limit the risk of the PAT is to create a new 
>> github account that has just your tiddlywiki's as this reduces the reach of 
>> the PAT and treat it like a password.
>>
>> A PAT will be about this length and contain "random" characters, letters, 
>> numbers etc, MIGeMA0GCSqGSIb3DQEBAQUAA4GMADCBiA (please note this is not 
>> actually a PAT)
>>
>> It all depends where you want to access it from. From a personal security 
>> POV, I would not recommend making an IP and port in your home reachable 
>> from anywhere unless you really know exactly what you are doing and the 
>> security risks that are involved in doing that.
>>
>> On Thursday, May 11, 2023 at 2:25:44 PM UTC+1 Joan Forn wrote:
>>
>>> Thanks for the fast response,
>>>
>>> I did tried to add a tiddly in your page and was not saved (wich is 
>>> nice). ¿Do you have to enter your GitHub password everytime you do want to 
>>> save changes?
>>>
>>> I found this solution that works too:
>>>
>>> 1) start a LXC container or VM in your proxmox server.
>>> 2) inside the LXC, type:
>>>2.1)  "npm install -g tiddlywiki"
>>>2.2) "ip a"  to get the eth0 ip addres of the LXC, in my case 
>>> "192.168.4.71"
>>>2.3) "mkdir /home/tiddlywiki"
>>>2.4) "tiddlywiki mywiki --init server"
>>>2.5) "mywiki --listen host=192.168.4.71 port=8080"
>>> 3) tiddlywiky is accesible by typing "192.168.4.71:8080" within any web 
>>> browser from a device located in the same LAN
>>> 4) *Optional*: Make "192.168.4.71:8080" reachable to WAN by forwarding 
>>> it to your domain via cloudflare tunnel.
>>>
>>> El jueves, 11 de mayo de 2023 a las 13:01:35 UTC+2, Ross Table escribió:
>>>
 I have had great success integrating with github. I purchased a domain 
 and have setup subdomains, each of which points to a different wiki that I 
 am using for something different. There is no hosting fee as its hosted on 
 github, the down side to this is it is technically public for anyone to 
 view. If that works for you I highly recommend it. If you go that route, 
 feel free to PM me or checkout the public repo's I have 
 https://github.com/aquilaRoss?tab=repositories

 This biggest gotcha was main vs master and finding where on github they 
 have hidden the PAT generation stuff.


 On Thursday, May 11, 2023 at 11:20:51 AM UTC+1 Joan Forn wrote:

> Hello everyone,
>
> I am looking for some guidance regarding editing tiddlers on my 
> iPhone. I would like to have a similar behavior as Notion, where any 
> edited 
> HTML is automatically synced across all devices and users who have access 
> to the page.
>
> Recently, I came across TiddlyServer, which seems promising, but there 
> doesn't seem to be much documentation about it.
>
> ¿Any advise me on whether this is possible or any suggestions on how 
> to achieve it?
>
> Many 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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/44a7fbe3-0f1f-4ea7-8ad4-573d5bacd475n%40googlegroups.com.


[tw5] Re: TiddlyServer

2023-05-11 Thread Télumire
FYI you can create a token easily with this link: 
https://github.com/settings/tokens/new?scopes=repo=tw

On Thursday, 11 May 2023 at 15:38:00 UTC+2 Ross Table wrote:

> no, you have to generate a PAT (
> https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token),
>  
> its sort of like a password then on the wiki you have to click the cog and 
> find the github settings and paste it in there along with the github 
> account name and other stuff, that field is then saved locally (I think as 
> a cookie but not sure) so you have to do it the first time you time you try 
> and make a change from that device/browser. (IF you don't have the PAT in, 
> it will "download" a copy to your downloads folder)
>
> One thing you can do to limit the risk of the PAT is to create a new 
> github account that has just your tiddlywiki's as this reduces the reach of 
> the PAT and treat it like a password.
>
> A PAT will be about this length and contain "random" characters, letters, 
> numbers etc, MIGeMA0GCSqGSIb3DQEBAQUAA4GMADCBiA (please note this is not 
> actually a PAT)
>
> It all depends where you want to access it from. From a personal security 
> POV, I would not recommend making an IP and port in your home reachable 
> from anywhere unless you really know exactly what you are doing and the 
> security risks that are involved in doing that.
>
> On Thursday, May 11, 2023 at 2:25:44 PM UTC+1 Joan Forn wrote:
>
>> Thanks for the fast response,
>>
>> I did tried to add a tiddly in your page and was not saved (wich is 
>> nice). ¿Do you have to enter your GitHub password everytime you do want to 
>> save changes?
>>
>> I found this solution that works too:
>>
>> 1) start a LXC container or VM in your proxmox server.
>> 2) inside the LXC, type:
>>2.1)  "npm install -g tiddlywiki"
>>2.2) "ip a"  to get the eth0 ip addres of the LXC, in my case 
>> "192.168.4.71"
>>2.3) "mkdir /home/tiddlywiki"
>>2.4) "tiddlywiki mywiki --init server"
>>2.5) "mywiki --listen host=192.168.4.71 port=8080"
>> 3) tiddlywiky is accesible by typing "192.168.4.71:8080" within any web 
>> browser from a device located in the same LAN
>> 4) *Optional*: Make "192.168.4.71:8080" reachable to WAN by forwarding 
>> it to your domain via cloudflare tunnel.
>>
>> El jueves, 11 de mayo de 2023 a las 13:01:35 UTC+2, Ross Table escribió:
>>
>>> I have had great success integrating with github. I purchased a domain 
>>> and have setup subdomains, each of which points to a different wiki that I 
>>> am using for something different. There is no hosting fee as its hosted on 
>>> github, the down side to this is it is technically public for anyone to 
>>> view. If that works for you I highly recommend it. If you go that route, 
>>> feel free to PM me or checkout the public repo's I have 
>>> https://github.com/aquilaRoss?tab=repositories
>>>
>>> This biggest gotcha was main vs master and finding where on github they 
>>> have hidden the PAT generation stuff.
>>>
>>>
>>> On Thursday, May 11, 2023 at 11:20:51 AM UTC+1 Joan Forn wrote:
>>>
 Hello everyone,

 I am looking for some guidance regarding editing tiddlers on my iPhone. 
 I would like to have a similar behavior as Notion, where any edited HTML 
 is 
 automatically synced across all devices and users who have access to the 
 page.

 Recently, I came across TiddlyServer, which seems promising, but there 
 doesn't seem to be much documentation about it.

 ¿Any advise me on whether this is possible or any suggestions on how to 
 achieve it?

 Many 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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/e5b6e143-9463-48b8-8f21-f125a012df70n%40googlegroups.com.


[tw5] Re: TiddlyServer

2023-05-11 Thread Joan Forn
GitHub, it's working well! 

Noticed a 1 min delay on re-deployment since the moment you hit save, since 
I have an inmediate sync alternative in place I will stick with it. 

Help appreciated :)


El jueves, 11 de mayo de 2023 a las 17:25:42 UTC+2, Scott Sauyet escribió:

> Ross Table wrote:
>
> > click the cog and find the github settings and paste it in there along 
> with the github account
> > name and other stuff, that field is then saved locally (I think as a 
> cookie but not sure) 
>
> I'm pretty sure that the Git Savers save the Personal Access Token (PAT) 
> in localStorage, which is probably more secure than a cookie, but slightly 
> less convenient, and you will either need a separate PAT for every 
> user/machine/browser, or you will need to find some (often insecure) way of 
> sharing this across them.  I know that GitHub is experimenting with 
> fine-grained tokens, so -- if that's working well -- then there should be 
> little need for a separate account.  But I don't know where that stands.
>
>   -- Scott
>
>

-- 
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/c109289a-cb74-4f1c-b7ed-ea48de206bf2n%40googlegroups.com.


[tw5] Re: conditional part of a list widget

2023-05-11 Thread Charlie Veniot
If you want to understand why I wrote the TW script the way I did:  The 
Cartesian Product: understanding what it is and avoiding it like the plague 


On Thursday, May 11, 2023 at 12:47:50 PM UTC-3 Charlie Veniot wrote:

> BTW: when viewing my previous reply in Google Groups, ignore the triple 
> tick-marks before and after the TW scripting.
>
> Those triple tick-marks are only there so that the code, when viewed via 
> the Talk.TiddlyWiki discourse forum, does not get mangled.
>
> On Thursday, May 11, 2023 at 10:53:50 AM UTC-3 Charlie Veniot wrote:
>
>> It might not make much of a difference performance-wise, but in my "just 
>> in case" mindset, I'd do something like this:
>>
>> ```
>>  <$list filter=" [tag[Background]tag{!!title}]  +[sort[]]" 
>> counter="myCounter">
>> <$list filter="[!match[1]]">
>>
>> <$link><$view field="title"/>
>> <$transclude mode="block" field="text"/>
>> 
>> ```
>>
>> On Thursday, May 11, 2023 at 10:26:58 AM UTC-3 Scott Sauyet wrote:
>>
>>> You can use the counter attribute of the list widget, like this:
>>>
>>> <$list filter=" [tag[Background]tag{!!title}]  +[sort[]]" 
>>> counter="myCounter">
>>> <$link><$view field="title"/>
>>> <$transclude mode="block" field="text"/>
>>> <$list filter={{{ [!match[yes]] }}}>
>>> 
>>>
>>>
>>> On Wednesday, May 10, 2023 at 10:03:21 AM UTC-4 Ross Table wrote:
>>>
 I am using something like this;

 <$list filter="[tag[Background]tag{!!title}]+[sort[]]">
 <$link><$view field="title"/>
 <$transclude mode="block" field="text"/>
 
 

 but I don't like the extra hr that it puts on the bottom... Is there a 
 way I can test to see if its not the last item in the list and then hide 
 that using a reveal widget?

>>>

-- 
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/96929784-f066-407e-9a77-8c640ede4e51n%40googlegroups.com.


[tw5] Re: conditional part of a list widget

2023-05-11 Thread Charlie Veniot
BTW: when viewing my previous reply in Google Groups, ignore the triple 
tick-marks before and after the TW scripting.

Those triple tick-marks are only there so that the code, when viewed via 
the Talk.TiddlyWiki discourse forum, does not get mangled.

On Thursday, May 11, 2023 at 10:53:50 AM UTC-3 Charlie Veniot wrote:

> It might not make much of a difference performance-wise, but in my "just 
> in case" mindset, I'd do something like this:
>
> ```
>  <$list filter=" [tag[Background]tag{!!title}]  +[sort[]]" 
> counter="myCounter">
> <$list filter="[!match[1]]">
>
> <$link><$view field="title"/>
> <$transclude mode="block" field="text"/>
> 
> ```
>
> On Thursday, May 11, 2023 at 10:26:58 AM UTC-3 Scott Sauyet wrote:
>
>> You can use the counter attribute of the list widget, like this:
>>
>> <$list filter=" [tag[Background]tag{!!title}]  +[sort[]]" 
>> counter="myCounter">
>> <$link><$view field="title"/>
>> <$transclude mode="block" field="text"/>
>> <$list filter={{{ [!match[yes]] }}}>
>> 
>>
>>
>> On Wednesday, May 10, 2023 at 10:03:21 AM UTC-4 Ross Table wrote:
>>
>>> I am using something like this;
>>>
>>> <$list filter="[tag[Background]tag{!!title}]+[sort[]]">
>>> <$link><$view field="title"/>
>>> <$transclude mode="block" field="text"/>
>>> 
>>> 
>>>
>>> but I don't like the extra hr that it puts on the bottom... Is there a 
>>> way I can test to see if its not the last item in the list and then hide 
>>> that using a reveal widget?
>>>
>>

-- 
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/a33383bf-f63d-4148-b2e9-be11fb93af99n%40googlegroups.com.


[tw5] Re: TiddlyServer

2023-05-11 Thread Scott Sauyet
Ross Table wrote:

> click the cog and find the github settings and paste it in there along 
with the github account
> name and other stuff, that field is then saved locally (I think as a 
cookie but not sure) 

I'm pretty sure that the Git Savers save the Personal Access Token (PAT) in 
localStorage, which is probably more secure than a cookie, but slightly 
less convenient, and you will either need a separate PAT for every 
user/machine/browser, or you will need to find some (often insecure) way of 
sharing this across them.  I know that GitHub is experimenting with 
fine-grained tokens, so -- if that's working well -- then there should be 
little need for a separate account.  But I don't know where that stands.

  -- Scott

-- 
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/a1ea0bc6-d223-451d-b6dd-8c37d13bd712n%40googlegroups.com.


[tw5] Re: conditional part of a list widget

2023-05-11 Thread Charlie Veniot
It might not make much of a difference performance-wise, but in my "just in 
case" mindset, I'd do something like this:

```
 <$list filter=" [tag[Background]tag{!!title}]  +[sort[]]" 
counter="myCounter">
<$list filter="[!match[1]]">
<$link><$view field="title"/>
<$transclude mode="block" field="text"/>

```

On Thursday, May 11, 2023 at 10:26:58 AM UTC-3 Scott Sauyet wrote:

> You can use the counter attribute of the list widget, like this:
>
> <$list filter=" [tag[Background]tag{!!title}]  +[sort[]]" 
> counter="myCounter">
> <$link><$view field="title"/>
> <$transclude mode="block" field="text"/>
> <$list filter={{{ [!match[yes]] }}}>
> 
>
>
> On Wednesday, May 10, 2023 at 10:03:21 AM UTC-4 Ross Table wrote:
>
>> I am using something like this;
>>
>> <$list filter="[tag[Background]tag{!!title}]+[sort[]]">
>> <$link><$view field="title"/>
>> <$transclude mode="block" field="text"/>
>> 
>> 
>>
>> but I don't like the extra hr that it puts on the bottom... Is there a 
>> way I can test to see if its not the last item in the list and then hide 
>> that using a reveal widget?
>>
>

-- 
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/3c2dfc59-9af9-46ae-a7e6-9eee125f3265n%40googlegroups.com.


[tw5] Re: TiddlyServer

2023-05-11 Thread Ross Table
no, you have to generate a PAT 
(https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token),
 
its sort of like a password then on the wiki you have to click the cog and 
find the github settings and paste it in there along with the github 
account name and other stuff, that field is then saved locally (I think as 
a cookie but not sure) so you have to do it the first time you time you try 
and make a change from that device/browser. (IF you don't have the PAT in, 
it will "download" a copy to your downloads folder)

One thing you can do to limit the risk of the PAT is to create a new github 
account that has just your tiddlywiki's as this reduces the reach of the 
PAT and treat it like a password.

A PAT will be about this length and contain "random" characters, letters, 
numbers etc, MIGeMA0GCSqGSIb3DQEBAQUAA4GMADCBiA (please note this is not 
actually a PAT)

It all depends where you want to access it from. From a personal security 
POV, I would not recommend making an IP and port in your home reachable 
from anywhere unless you really know exactly what you are doing and the 
security risks that are involved in doing that.

On Thursday, May 11, 2023 at 2:25:44 PM UTC+1 Joan Forn wrote:

> Thanks for the fast response,
>
> I did tried to add a tiddly in your page and was not saved (wich is nice). 
> ¿Do you have to enter your GitHub password everytime you do want to save 
> changes?
>
> I found this solution that works too:
>
> 1) start a LXC container or VM in your proxmox server.
> 2) inside the LXC, type:
>2.1)  "npm install -g tiddlywiki"
>2.2) "ip a"  to get the eth0 ip addres of the LXC, in my case 
> "192.168.4.71"
>2.3) "mkdir /home/tiddlywiki"
>2.4) "tiddlywiki mywiki --init server"
>2.5) "mywiki --listen host=192.168.4.71 port=8080"
> 3) tiddlywiky is accesible by typing "192.168.4.71:8080" within any web 
> browser from a device located in the same LAN
> 4) *Optional*: Make "192.168.4.71:8080" reachable to WAN by forwarding it 
> to your domain via cloudflare tunnel.
>
> El jueves, 11 de mayo de 2023 a las 13:01:35 UTC+2, Ross Table escribió:
>
>> I have had great success integrating with github. I purchased a domain 
>> and have setup subdomains, each of which points to a different wiki that I 
>> am using for something different. There is no hosting fee as its hosted on 
>> github, the down side to this is it is technically public for anyone to 
>> view. If that works for you I highly recommend it. If you go that route, 
>> feel free to PM me or checkout the public repo's I have 
>> https://github.com/aquilaRoss?tab=repositories
>>
>> This biggest gotcha was main vs master and finding where on github they 
>> have hidden the PAT generation stuff.
>>
>>
>> On Thursday, May 11, 2023 at 11:20:51 AM UTC+1 Joan Forn wrote:
>>
>>> Hello everyone,
>>>
>>> I am looking for some guidance regarding editing tiddlers on my iPhone. 
>>> I would like to have a similar behavior as Notion, where any edited HTML is 
>>> automatically synced across all devices and users who have access to the 
>>> page.
>>>
>>> Recently, I came across TiddlyServer, which seems promising, but there 
>>> doesn't seem to be much documentation about it.
>>>
>>> ¿Any advise me on whether this is possible or any suggestions on how to 
>>> achieve it?
>>>
>>> Many 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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/dab72912-819c-44f2-baae-51592b51c636n%40googlegroups.com.


[tw5] Re: conditional part of a list widget

2023-05-11 Thread Scott Sauyet
You can use the counter attribute of the list widget, like this:

<$list filter=" [tag[Background]tag{!!title}]  +[sort[]]" 
counter="myCounter">
<$link><$view field="title"/>
<$transclude mode="block" field="text"/>
<$list filter={{{ [!match[yes]] }}}>



On Wednesday, May 10, 2023 at 10:03:21 AM UTC-4 Ross Table wrote:

> I am using something like this;
>
> <$list filter="[tag[Background]tag{!!title}]+[sort[]]">
> <$link><$view field="title"/>
> <$transclude mode="block" field="text"/>
> 
> 
>
> but I don't like the extra hr that it puts on the bottom... Is there a way 
> I can test to see if its not the last item in the list and then hide that 
> using a reveal widget?
>

-- 
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/dfebfa50-94d5-4161-903e-50156734b22en%40googlegroups.com.


[tw5] Re: TiddlyServer

2023-05-11 Thread Joan Forn
Thanks for the fast response,

I did tried to add a tiddly in your page and was not saved (wich is nice). 
¿Do you have to enter your GitHub password everytime you do want to save 
changes?

I found this solution that works too:

1) start a LXC container or VM in your proxmox server.
2) inside the LXC, type:
   2.1)  "npm install -g tiddlywiki"
   2.2) "ip a"  to get the eth0 ip addres of the LXC, in my case 
"192.168.4.71"
   2.3) "mkdir /home/tiddlywiki"
   2.4) "tiddlywiki mywiki --init server"
   2.5) "mywiki --listen host=192.168.4.71 port=8080"
3) tiddlywiky is accesible by typing "192.168.4.71:8080" within any web 
browser from a device located in the same LAN
4) *Optional*: Make "192.168.4.71:8080" reachable to WAN by forwarding it 
to your domain via cloudflare tunnel.

El jueves, 11 de mayo de 2023 a las 13:01:35 UTC+2, Ross Table escribió:

> I have had great success integrating with github. I purchased a domain and 
> have setup subdomains, each of which points to a different wiki that I am 
> using for something different. There is no hosting fee as its hosted on 
> github, the down side to this is it is technically public for anyone to 
> view. If that works for you I highly recommend it. If you go that route, 
> feel free to PM me or checkout the public repo's I have 
> https://github.com/aquilaRoss?tab=repositories
>
> This biggest gotcha was main vs master and finding where on github they 
> have hidden the PAT generation stuff.
>
>
> On Thursday, May 11, 2023 at 11:20:51 AM UTC+1 Joan Forn wrote:
>
>> Hello everyone,
>>
>> I am looking for some guidance regarding editing tiddlers on my iPhone. I 
>> would like to have a similar behavior as Notion, where any edited HTML is 
>> automatically synced across all devices and users who have access to the 
>> page.
>>
>> Recently, I came across TiddlyServer, which seems promising, but there 
>> doesn't seem to be much documentation about it.
>>
>> ¿Any advise me on whether this is possible or any suggestions on how to 
>> achieve it?
>>
>> Many 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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/ec4823d2-5632-4379-97b2-c579e94ec73en%40googlegroups.com.


[tw5] Re: TiddlyServer

2023-05-11 Thread Ross Table
I have had great success integrating with github. I purchased a domain and 
have setup subdomains, each of which points to a different wiki that I am 
using for something different. There is no hosting fee as its hosted on 
github, the down side to this is it is technically public for anyone to 
view. If that works for you I highly recommend it. If you go that route, 
feel free to PM me or checkout the public repo's I 
have https://github.com/aquilaRoss?tab=repositories

This biggest gotcha was main vs master and finding where on github they 
have hidden the PAT generation stuff.


On Thursday, May 11, 2023 at 11:20:51 AM UTC+1 Joan Forn wrote:

> Hello everyone,
>
> I am looking for some guidance regarding editing tiddlers on my iPhone. I 
> would like to have a similar behavior as Notion, where any edited HTML is 
> automatically synced across all devices and users who have access to the 
> page.
>
> Recently, I came across TiddlyServer, which seems promising, but there 
> doesn't seem to be much documentation about it.
>
> ¿Any advise me on whether this is possible or any suggestions on how to 
> achieve it?
>
> Many 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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/21cb8857-ad98-47db-95cc-2ca2a7fdaf4cn%40googlegroups.com.


[tw5] TiddlyServer

2023-05-11 Thread Joan Forn


Hello everyone,

I am looking for some guidance regarding editing tiddlers on my iPhone. I 
would like to have a similar behavior as Notion, where any edited HTML is 
automatically synced across all devices and users who have access to the 
page.

Recently, I came across TiddlyServer, which seems promising, but there 
doesn't seem to be much documentation about it.

¿Any advise me on whether this is possible or any suggestions on how to 
achieve it?

Many 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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/8380089b-7c21-48ff-bf2e-68614718df6fn%40googlegroups.com.


[tw5] Question about TiddlyServer

2023-05-11 Thread Joan Forn


Hello everyone,

I am looking for some guidance regarding editing tiddlers on my iPhone. I 
would like to have a similar behavior as Notion, where any edited HTML is 
automatically synced across all devices and users who have access to the 
page.

Recently, I came across TiddlyServer, which seems promising, but there 
doesn't seem to be much documentation about it.

¿Any advise on whether this is possible or suggestions on how to achieve 
it? 

Many 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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/aa5c249b-66e5-4aed-a762-c2ee5b3d86f3n%40googlegroups.com.