[tw5] Re: [TW5] NodeJS beyond simply serving tiddlywikis

2020-04-13 Thread Lin Onetwo
Hi, Tony I achieve "use several location to store tiddlers" today. I'm now saving my private tiddlers in a folder A, which is a git repo that can push to a Github private repo. And some another tiddlers is in another folder B, which will push to another public github repo. I use

[tw5] How to prevent "This page is asking you to confirm that you want to leave - data you have entered may not be saved" ?

2020-04-11 Thread Lin Onetwo
I've set up a wiki in now.sh , only for viewing, not expect for online editing. But everytime I open https://wiki.onetwo.ren/ and scroll for a while, and try to close the window, it tells me there is something changed and don't want me go. In fact I haven't change anything. How to debug what

[tw5] Re: How to execute JS on startup? I have a "copy on select" userscript

2020-04-11 Thread Lin Onetwo
,Eric Shulman写道: > > On Saturday, April 11, 2020 at 12:08:15 AM UTC-7, Lin Onetwo wrote: >> >> I found $:/tags/StartupAction/Browser will only execute tiddlywi >> actions, but can't execute javascript. >> But I have following JS want to execute: >> What could I d

[tw5] Re: using <$list filter= statement and have display items with hyperlink

2020-04-11 Thread Lin Onetwo
I personally use this in my Tag tiddler to show all tiddler with this tag: <$macrocall $name="locator-view" baseTitle=<> /> It comes with hyperlink 在 2020年4月11日星期六 UTC+8上午11:51:45,Bob Jansen写道: > > I am trying to set upan index page for items that all share a common tag. > > The statement I am

[tw5] Re: Saving TW

2020-04-11 Thread Lin Onetwo
Hi, Peter: as long as you are using MacOS, you can use my solution to auto move html file from download folder to a git repo, and auto backup it to github: See https://github.com/linonetwo/Meme-of-LinOnetwo/blob/455e6a21bb/serveAndWatchHTML.js and

[tw5] Re: Just wanted to say this

2020-04-11 Thread Lin Onetwo
I'm also get this feeling when I have problem, so I will try my best to help others too. 在 2020年4月11日星期六 UTC+8下午3:54:08,passingby写道: > > After wasting about 2 days on something I thought to myself, 'if it had > been TW, I would have asked on the group and received 3 solutions to one >

Re: [tw5] First *Real* (Large) Edition

2020-04-15 Thread Lin Onetwo
Maybe it is like the Extension Packs in the VSCode. I think the real problem behind Mohammad's word This is not only useful for newbies but also for other users. > It is really difficult to find plugins from googling or

[tw5] Re: How can we have TW5 to save only on the cloud? (not be downloadable on the local machine)

2020-04-15 Thread Lin Onetwo
Hi, see my wiki, is that what you want to achieve? wiki.onetwo.ren If it is, you can use this plugin: https://github.com/linonetwo/Tiddlywiki-NodeJS-Github-Template/tree/master/PublicWiki/plugins/prevent-edit -- You received this message because you are subscribed to the Google Groups

[tw5] Re: Announcing the release of TiddlyWiki v5.1.22

2020-04-16 Thread Lin Onetwo
Wow, the feeling of upgrading is so good! And the dropdown of sync button makes wonder maybe it can have multiple save target now. Maybe I can auto save to local nodejs, and optionally save HTML backup to Github once every day. 在 2020年4月16日星期四 UTC+8上午12:00:14,Jeremy Ruston写道: > > I’m

[tw5] Re: Is there a way to programmatically disable/remove the edit and create new tiddler buttons before uploading it to a hosting site

2020-04-16 Thread Lin Onetwo
Hi Raghu, You can achieve this by using a special template, just like normally we save nodejs wiki to HTML wiki using $:/core/save/all You can create a template similar to that ,but exclude the buttons and codemirror plugins. I also think about this before, I want to exclude codemirror

[tw5] Is there a plugin provide right click context menu?

2020-04-12 Thread Lin Onetwo
In Notion, right mouse click on a block can perform following useful refactor action: - change color of underlying block - turn a text into page ( refactor extract to a new page) - move to (refactor move to another page) - turn a text into a list or checkbox And in tiddlywiki I

[tw5] Re: Tagging with Transclusions?

2020-04-11 Thread Lin Onetwo
reuse-tiddler(title)<$macrocall $name="reuse-pane" content=""" View Source:[[$title$]] """ /> {{$title$}} \end 在 2020年4月10日星期五 UTC+8下午12:23:48,Lin Onetwo写道: > > I got this idea from https://wiki.hintsnet.com @pimgeek > > 在 2020年4月10日星期五 UTC+

[tw5] Re: list tiddlers without links

2020-04-11 Thread Lin Onetwo
Hi Klaas, Seems in `Sidebar -> More -> Missing ` you can find what you need. 在 2020年4月10日星期五 UTC+8上午12:41:51,Klaas Vaak写道: > > I am starting to populate my TW file with most of the tiddlers having > internal links i.e. to other ones. But some don’t have those links. > > How can I set up a

Re: [tw5] Re: How to execute JS on startup? I have a "copy on select" userscript

2020-04-12 Thread Lin Onetwo
It just implements function like https://addons.mozilla.org/en-US/firefox/addon/copy-on-select/ I'm using desktop app with nodejs tiddlywiki, so I feel unconfertable without this firefox add-on. So I make it work in tiddlywiki. 在 2020年4月12日星期日 UTC+8下午3:31:20,TonyM写道: > > So what mysterious

[tw5] Re: Presenting: a plugin which automatically relinks renamed tiddlers

2020-04-12 Thread Lin Onetwo
Why not upload to a plugin library like main library or Kookma Plugin Library ? 在 2019年9月2日星期一 UTC+8上午10:27:19,Flibbles写道: > > I present Relink ! > > It relinks fields, links, WikiLinks,

[tw5] Re: Is there a plugin provide right click context menu?

2020-04-12 Thread Lin Onetwo
Hi Tony, Thank you for so detailed comment! I will try out those native ways that I haven't used before. I will do some experiment on this, hoping to reduce the learning curve by integrating things into context menu, maybe the context menu can be another "equally efficient methods to achieve

Re: [tw5] Re: JS error

2020-04-12 Thread Lin Onetwo
I guess GreaseMonkey has inject some code to your wiki and make it dirty...So this error occurs in TiddlyDesktop. 在 2020年4月12日星期日 UTC+8下午10:38:52,Peter Buyze写道: > > Disabling ViolentMonkey stops that message popping up when using TW in the > browser. When using TiddlyDesktop it still occurs,

[tw5] How to execute JS on startup? I have a "copy on select" userscript

2020-04-11 Thread Lin Onetwo
I found $:/tags/StartupAction/Browser will only execute tiddlywi actions, but can't execute javascript. But I have following JS want to execute: // we won't do copy on select on text editor, otherwise you can't select and override text in the editor or text input function

[tw5] Re: Hello and quick tip: how to show link preview on hover in static websites

2020-04-12 Thread Lin Onetwo
Oh, this is useful. I want the preview to close after my mouse leave the link, so I made a twick. https://github.com/tobibeer/tw5-preview/issues/1 在 2020年4月13日星期一 UTC+8上午6:58:57,Diego Mesa写道: > > Anne-Laure, > > Thanks for sharing! I believe this is similar to Tobias Beer's Preview > plugin:

[tw5] Re: Presenting: EditorMagic - the editor as an assistant

2020-04-10 Thread Lin Onetwo
Maybe you can write request about regex and the examples it should match in the github issue, and I can try to solve. 在 2020年4月10日星期五 UTC+8下午3:36:46,Mat写道: > > LinOnetwo wrote: >> >> where you can see macros on the right. >> > > My hope is for the popup to be at the caret position though. IMO >

[tw5] Re: formatting tables through a view template

2020-04-10 Thread Lin Onetwo
Maybe you can try DynamicTable using <> https://ooktech.com/jed/ExampleWikis/DynamicTables/ 在 2020年4月11日星期六 UTC+8上午9:32:41,Robert Mastragostino写道: > > I assume that this is a simple question, but I couldn't find an answer in > the docs or searching through the forums. > > I have a tiddler

[tw5] Re: Is there a plugin to Syntax Highlighting the wikitext in codemirror?

2020-04-10 Thread Lin Onetwo
Oh, seems its already been discussed here https://groups.google.com/forum/#!msg/tiddlywiki/JG7bDM-eMeU/Gemy_hDx9LcJ . I was searched using wrong keywords. 在 2020年4月11日星期六 UTC+8上午11:48:19,Lin Onetwo写道: > > There is syntax highlighting for JS, HTML and classic tw2 wikitext, even >

[tw5] Re: Tiddlywiki + Anki Cards?

2020-04-10 Thread Lin Onetwo
Hi, Mathew What do you mean by encoding strategies? Does it mean the way to organize the tiddler so they can provide better context in Anki so easier to remember? I'm also wondering about how I can struct info when import tiddler into Anki. Instead of just one Card per TIddler, I want to

[tw5] Is there a plugin to Syntax Highlighting the wikitext in codemirror?

2020-04-10 Thread Lin Onetwo
There is syntax highlighting for JS, HTML and classic tw2 wikitext, even Markdown, but seems codemirror editor won't highlight tw5 wikitext when we writing `[[xxx]]` or `!! xxx` in the editor. Is it possible to highlight the syntax when we writing wikitext and macro? -- You received this

[tw5] Re: [meta] TiddlyWiki and... China - !?

2020-04-28 Thread Lin Onetwo
Hi, I've wrote a blog about replace Notion with Tiddlywiki I can see in the ga, there are some traffic searching notion click into this blog. And we have a knowled management

[tw5] Writing Widget in JS using ES6 Class syntax

2020-04-29 Thread Lin Onetwo
This is based on Mark S.'s example in https://groups.google.com/forum/#!msg/TiddlyWiki/bjludozbMqY/ja1YJa9g1k8J I'd like to create custom widget in the way that is similar to React, so I do a simple refactor, seems it is OK to write Widget in ES6 Class syntax: /*\ title:

[tw5] Re: Writing Widget in JS using ES6 Class syntax

2020-04-29 Thread Lin Onetwo
%AE.js 在 2020年4月29日星期三 UTC+8下午10:01:32,Lin Onetwo写道: > > This is based on Mark S.'s example in > https://groups.google.com/forum/#!msg/TiddlyWiki/bjludozbMqY/ja1YJa9g1k8J > > I'd like to create custom widget in the way that is similar to React, so I > do a simple refactor, seems

[tw5] Re: Writing Widget in JS using ES6 Class syntax

2020-04-29 Thread Lin Onetwo
Hi Mohammad, I think inlinetweetjs is self contained, you can just place into a tiddler tagged with $:/tags/RawMarkup Then warp any text with will just work. With custom widget you can call complex SDK's API, for example Google API in my case or Twitter API, but you won't need that when

[tw5] Re: How to prevent "This page is asking you to confirm that you want to leave - data you have entered may not be saved" ?

2020-04-14 Thread Lin Onetwo
is asking you to confirm that you want to leave\" in a read-only site", "author": "Lin Onetwo", "core-version": ">=5.0.0" } preventPopUp.js.tid: created: 20200414150455988 creator: LinOnetwo module-type: startup title: preventPopUp.js type: app

[tw5] FS-Monitor plugin to reload wiki on fs change, works well with VSCode

2020-08-08 Thread Lin Onetwo
/Jermolene/TiddlyWiki5/issues/3060#issuecomment-670850286 I will use it in the TiddlyGit-Desktop, to demonstrate this works very well with the git backup solution. https://github.com/tiddly-gittly/TiddlyGit-Desktop Best regards, Lin Onetwo -- You received this message because you are subscribed

[tw5] Re: Do you guys want another Tiddly app for Android?

2020-07-03 Thread Lin Onetwo
I don't think it is necessary to publish every small TW as APP, because you can just add a service worker https://onetwo.ren/wiki/#%24%3A%2Fplugins%2Flinonetwo%2Fservice-worker Then this wiki can be installed as a PWA. I'm recently consider building a RN app (for Android and iOS) to start

[tw5] Re: Automatically create tiddlers from outside source

2020-07-12 Thread Lin Onetwo
There is Pull and Push: For Pull, I have already pull Google Calendar to TW: https://onetwo.ren/wiki/#%E5%AF%BC%E5%85%A5GoogleCalendar%E7%9A%84%E6%8C%89%E9%92%AE For Push, I'm using nodejs TW so I sync it to Github, so I can just use Github API to append *.tid or *.txt with *.txt.meta file to

[tw5] Re: WYSIWYG editor for TW5

2020-06-29 Thread Lin Onetwo
There still are lots of things to experiment. But I'm recently working on a Git-based TiddlyWiki Desktop variant, so I'm not working on this topic. Lin Onetwo 在2020年6月28日星期日 UTC+8 上午8:54:02 写道: > @BJ Thanks for that! How did I miss this... > I might be googling this wrong things. Where could I hav

[tw5] Re: Git as syncadapter

2020-06-29 Thread Lin Onetwo
Hi, I'm using this script to sync things to git automatically https://github.com/linonetwo/Tiddlywiki-NodeJS-Github-Template/blob/master/scripts/watchWiki.js There are also scripts to start TiddlyWiki on start-up. But... you can see it ruined my GitHub commit timeline[image: Screen Shot

[tw5] Re: how to know who transclude a tiddler?

2020-06-10 Thread Lin Onetwo
thread: > > https://groups.google.com/forum/#!topic/tiddlywiki/9ra0s9AEKl4 > > -Springer > > > On Monday, June 8, 2020 at 9:26:36 AM UTC-4, Lin Onetwo wrote: >> >> And how to know who is using an img using `[img[xxx.png]]`? >> >> Without these backlinks, how to k

[tw5] Re: how to know who transclude a tiddler?

2020-06-08 Thread Lin Onetwo
And how to know who is using an img using `[img[xxx.png]]`? Without these backlinks, how to know which img is unused? 在2020年6月8日星期一 UTC+8 下午9:17:03 写道: > I want to implement a template to show who transclude a tiddler, so there > can be a "Bi-directional links" for transclusion. > > Is there a

[tw5] Re: TiddlyWiki github repo has 4913 stars but it should show 5000+ stars!!

2020-06-08 Thread Lin Onetwo
I'm doing my part and sharing this news in some tiddlywiki related wechat and QQ group! LinOnetwo -- 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

[tw5] how to know who transclude a tiddler?

2020-06-08 Thread Lin Onetwo
I want to implement a template to show who transclude a tiddler, so there can be a "Bi-directional links" for transclusion. Is there a plugin or filter to do so? -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe from this group and

[tw5] Re: [TW5] New Plugin: Simple Search

2020-06-03 Thread Lin Onetwo
Hi Elmiger, I really like this search bar, thank you for making this and share with us! I'm using NodeJS setup and want to place your plugin into the plugin folder, so I want to download the folder version of plugin could I know where the gitlab or github repo for this plugin is? -- You

[tw5] How to add

2020-07-26 Thread Lin Onetwo
Hi, I'm trying to play with three.js I add CDN links to https://onetwo.ren/wiki/#ThreeJSCDN Tagged with $:/tags/RawMarkup , so three.js dependencies were loaded correctly. Then I want to execute rendering script on tiddler load, so in https://onetwo.ren/wiki/#Clothes%20Demo I add a

[tw5] First release of

2020-07-19 Thread Lin Onetwo
e may be a prompt asking for license code, just ignore it, I will remove this in the next release. Lin Onetwo -- 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, se

[tw5] Re: First release of

2020-07-19 Thread Lin Onetwo
not update when using $:/config/FileSystemPaths to be merged :P Lin Onetwo 在2020年7月20日星期一 UTC+8 上午7:51:45 写道: > Followed! Very very cool, Lin. > Is this for single wiki at a time? Single repo? > Can you use Bob with it seamlessly? > > Looking forward to digging in here, and I noticed a s

[tw5] Re: First release of TiddlyGit-Desktop

2020-07-19 Thread Lin Onetwo
. If you have two PC, you have to install two instance of App, this is not a SaaS, it don't have an online service 1. yes, it is like tiddlywiki5 respository, with saparate tid files, so git commit will be much clear, and this enables timemachine using git operation Lin Onetwo 在2020年7月20日星期一 UTC+8 上午4

[tw5] Re: Query: Plugin Libraries? Who has them?

2020-07-23 Thread Lin Onetwo
-of-LinOnetwo/tiddlywiki.info#L90-L105 Best regards, Lin Onetwo 在2020年7月24日星期五 UTC+8 上午9:20:03 写道: > TW Tones, > > In your wiki is a link torum search to discuss your edition. I get an > error 418, that I do not have the rights. > Also I have for some time tried to avoi

[tw5] Re: Scratchpad: A simple example to demonstrate the adaptability of TiddlyWiki

2020-10-22 Thread Lin Onetwo
Hi Bimlas, Actually I think tiddly (very small) note are OK in tiddlywiki. I sometimes use Souk21/TW-commandpalette to quickly create tiddler that only have a title. The only thing I afraid is forgating them, as they are orphan. I think if we can auto create tag or link for them, this can be

[tw5] Re: Keyword Extraction - Project

2020-10-22 Thread Lin Onetwo
Hi, Tones Great idea, automating linking and tagging will be a boost to the writing. We normally consume time to do this by hand, and automatically do this in English (instead of in Chinese and Japanese) is very easy, as there are many tools. I would recommend

[tw5] Re: Keep Wikis settings and plugins in sync

2020-10-22 Thread Lin Onetwo
Hi, Tony and Tones, Why multiple wikis? I haven't reached that point, so I wonder the reason. Wouldn't that make transclusion and linking harder? I'm now putting different content in different Github repo, and clone then, symlink them into a "main" wiki, and only main wiki have plugins,

[tw5] Re: Did TiddlyWiki dropped support for chromium 30?

2021-03-30 Thread Lin Onetwo
a nodejs on mobile and run git commands on the mobile. Lin Onetwo 在2021年3月30日星期二 UTC+8 下午12:52:42 写道: > I'm testing my app Tiddloid and found that latest empty wiki retrieved > from tiddlywiki.com throws Internal Javascript Error and won't load. The > same thing occurs when loading l

[tw5] Re: Share your favorite TiddlyWiki workflow

2021-04-01 Thread Lin Onetwo
Hi David, What does [[@|AntiFragile (Taleb)]] mean? I make use of custom buttons too, I use Fast add <$button> <$action-sendmessage $message="tm-new-tiddler" title=<> tags="Thought" /> Add new thought About your 2, how do you add backlinks, links and tags to the

[tw5] Re: Sharing TiddlyWiki with my team

2021-04-01 Thread Lin Onetwo
Hi, I made a prototype that you can allow some members to oAuth2 login to nodejs wiki to edit, and other members can see the HTML wiki to be view only. https://github.com/linonetwo/try-passportjs-gitlab-tiddlywiki Hope this can give you some inspiration. 在2021年4月2日星期五 UTC+8 上午3:09:35 写道: >

[tw5] Chinese translated name of "TiddlyWiki" (「TiddlyWiki」 的中文译名 )

2021-03-30 Thread Lin Onetwo
We rised a discussion of how TiddlyWiki can be translated into Chinese, so it fits more into more advertisement context. We hope it keeps the more sounds like "TiddlyWiki" the better, and encourage usage of meaningful Chinese charactors instead of direct transliteration. Among our

[tw5] Re: Chinese translated name of "TiddlyWiki" (「TiddlyWiki」 的中文译名 )

2021-03-30 Thread Lin Onetwo
Here is discription in Chinese https://onetwo.ren/wiki/#TiddlyWiki%E7%9A%84%E4%B8%AD%E6%96%87%E8%AF%91%E5%90%8D 在2021年3月31日星期三 UTC+8 上午10:47:01 写道: > > We rised a discussion of how TiddlyWiki can be translated into Chinese, so > it fits more into more advertisement context. > > We hope it

Re: [tw5] Re: Github Save + TiddlyDesktop Save

2021-04-22 Thread Lin Onetwo
Hi, Maybe you can config a local git repo, and sync it to github, just like https://github.com/DiamondYuan/wiki He sync HTML to github repo, and config gh-pages to use that HTML. 在2021年4月23日星期五 UTC+8 上午8:38:01 写道: > Thanks, Mario! > > Best, > Rika Sukenik > > > On Wed, Apr 21, 2021 at 9:04

Re: [tw5] Re: WYSIWYG editor for TW5

2022-05-06 Thread Lin Onetwo
For anyone who search to here via google, please see https://talk.tiddlywiki.org/t/demo-of-a-new-wysiwyg-editor-slate-write-unstable-alpha-stage/2788 in the tw talk forum, I want to make a wysiwyg editor that can save to wikitext. 在2021年1月16日星期六 UTC+8 17:17:34 写道: > It sounds like you're

[tw5] Re: [TW5] How to embed a font (using @font-face and data-url)

2023-02-27 Thread Lin Onetwo
I encode it manually instead: 1. download the font file, for example, `FiraCode-VF.woff2` 2. `base64 '/Users/linonetwo/Downloads/Fira_Code_v6.2/woff2/FiraCode-VF.woff2' -o '/Users/linonetwo/Downloads/Fira_Code_v6.2/woff2/FiraCode-VF.woff2.base64.txt'` as said in

[tw5] Please help Alpha test TidGi mobile app on Android device

2024-03-27 Thread Lin Onetwo
Obsidian have Android app on Google play, but we don't have? https://play.google.com/store/apps/details?id=md.obsidian=en=US TidGi mobile is an Obsidian app comparable Tiddlywiki distribution, to let people know Tiddlywiki can be as *new user* friendly as Obsidian and Notion. Test link