Open file:// protocol or folder path from tiddlywiki

In https://github.com/tiddly-gittly/TidGi-Desktop You can put links like [ext[xxx|C:\Users\linonetwo\Desktop]] in your wiki, or prefix with file protocol like [ext[xxx|file://C:\Users\linonetwo\Desktop]].

Click on it will open the folder on system explorer. In this way, tiddlywiki can acts as a file manager for your favorite files.

This can only be done in environment like TidGi app, which is a cross-platfrom opensource Electron wrapper for nodejs wiki.

Full documents are in https://tidgi.fun/#TidGi%20Feature%20Handbook%2FReference%20External%20Files

2 Likes

This is also true with tiddlywiki-app, hta files and possibly tiddydesktop.

It allows integration with your local machine.

Yes, this requires additional development on the tiddlywiki apps like TidGi’s code, to handle difference between

  1. open folder
  2. open file
  3. open other wiki’s specific tiddler with tidgi://wiki/#New Tiddler

this feature needs a lot of coding in the native app part.

I just realised at least we can provide a file:// link to a Windows 11 .lnk or shortcut file, which can contain parameters to the local application, opening the application with the hard coded parameters.

Where it would be nice is, if the parameters could be generated in tiddlywiki and passed to the local machine.

I have not being using tidGI yet.

I am looking for a general solution that may also work in tiddlywiki-app if possible.

I’ve see you write this many times, maybe you should have a try lol.

And what I mean is that, things like this, and page scaling with ctrl+ +/- requires native code, there is no hack way to do this only on wiki side.

Theoretically, you can launch specific and open a tiddler with start tidgi://wiki/#New Tiddler, but it have some bug currently, and requires modification to native code.

If I may be totaly honest, I am impressed with your work, and very interested in using and contributing, however every time I look and see a wall of Chinese characters I seem to get a kind of dyslexia and dont know what I am supposed to do.

I also want to do full i18n, especially this could be done by Github Copilot. But I’m still waiting for Introducing bundled sub plugins by Jermolene · Pull Request #8957 · TiddlyWiki/TiddlyWiki5 · GitHub . Just like I’m waiting for feat: serialize AST node back to wikitext string by linonetwo · Pull Request #8258 · TiddlyWiki/TiddlyWiki5 · GitHub so I could release my powerful next-level WYSIWYG editor.

TidGi itself have full en ru jp fr translation, have you tried that?
If you find TidGi default template not fully translated. You could just import your own HTML file instead.

1 Like

Installed and researching now. Thanks for you work @linonetwo

Right.

Browserland issues.

The single biggest issue I’ve had in TW is not TW, rather, it is with access to BROWSER BACKENDS that can allow me to interact with the O/S.

This is a big roadblock on freeness.

I know WHY the Browser Gods relentlessly curtail making it easy to interact with one’s own O/S.

Truth is that peeps who understand that can survive it well.

I don’t want node or element. I want a free (liberated) browser.

Give me a universal back-end already to transcend the limited Browser Matrix!

In the past, past, WE had it. The browser could issue commands to the O/S bro.

Am I the last of us missing that?

TiddlyTitch

Perhaps a local only browser would be good, but when you follow a link to the outside world there are good reasons to have a safe and secure browser. Perhaps a local browser that was safe in the LAN but outside that opens the browser of choice?

Keep in mind TiddlyDesktop, TiddlyWiki-App and others although they use provision multi-file wikis and access on the LAN they typicaly come with a simplified browser which has file: access. One of the issues is these embeded browsers just dont have the support, tools and addons the internet facing browsers do.

1 Like

Building a browser app based on Electron may cost 300 employees for a decade (brave inc).

Technically totally possible to add browser feature to TidGi app that is based on Electron, it is not hard. But Tiddlywiki is a niche market, and most of users don’t self advertise it on other platfroms like obsidian users (obsidian users are like cult, lol). So the market size won’t worth it.

I add file:// protocol support just because I personally want to use it too. But when comes to “is that worth” or “will there be more”? I’d say it is hard to say.

1 Like

Right. TW is, fortunately, not a cult.

Regarding the OP on file:// … it is central in so far as ‘‘outreach’’ to the O/S is central to control of “my machine”.

Do you want ONLY true local file browsing OR file browsing that can also LAUNCH executables browsed to?

Running programs under TW control seems good to me.

TT

Oh, I get what you mean, I give it a try now, and I find it works

Or running shell script, I have some adb script on tw that I frequently used, I run them by a single click.