TWEXE Executable TiddlyWiki's

370 views
Skip to first unread message

TW Tones

unread,
Jun 17, 2020, 3:24:59 AM6/17/20
to TiddlyWiki
Folks especially David Gifford or tiddlytools editors.


twexe works on both Windows and Linux. 

Twexe converts any Tiddlywiki5 html file into an executable. It then serves the file and opens your browser with the wiki, using the existing saving mechanism in the control panel within the standard Tiddlywiki5, no need for plugins or browser add-ons.

See the website and source https://ihm4u.github.io/twexe/ (TW 5.1.9) So use the updated one, linked to here.


Unfortunately we need to update tiddlyTools because it is Listed incorrectly. See below

Some points
  • Any executable could have a virus installed so only get this from a trusted source and virus-scan it.
  • It is 5 years old but I would like us to review its use, thank the author and ask for it to be reviewed.
  • I have followed the instructions and updated it with the current empty version 5.1.22
  • I am not sure if it will remain in this email/post after posting So I have uploaded it here https://github.com/AnthonyMuscio/AnthonyMuscio.github.io
  • Its easy to pack twexe with your own single file html
Attached file was scanned with Windows defender today 17/06/2020. emptyTW5.1.22.exe size 1.26 MB (1,328,756 bytes) Wednesday, ‎17 ‎June ‎2020, ‏‎4:56:50 PM


Tiddytools is incorrect; it says

[twexe](https://ihm4u.github.io/twexe/) - only works in offline hta versions of TW. It lets you register and run exes from tiddlywiki

Change to
[twexe run exe's from hta files](https://github.com/welford/twexe) - only works in offline hta versions of TW. It lets you register and run exes from tiddlywiki

This link takes you to the one described below. The correct link for the HTA exe plugin is http://welford.github.io/ or https://github.com/welford/twexe

Tiddytools needs a second entry and Should read;

Under savers amongst other sections

[twexe executable Tiddlywikis](https://ihm4u.github.io/twexe/) - Allows you to pack a single file tiddlywiki into an Executable file for offline execution on Windows or Linux. Once executed it starts a server and opens in your default browser.

Regards
Tony

TW Tones

unread,
Jun 17, 2020, 3:31:38 AM6/17/20
to TiddlyWiki
I have to remove the executable from my github repository to stop getting warning emails.

I will try and share it elsewhere.

TW Tones

TiddlyTweeter

unread,
Jun 17, 2020, 3:58:03 AM6/17/20
to TiddlyWiki
Very Good post IMO.

Most informative. I hope you get feedback.

TT

TiddlyTweeter

unread,
Jun 17, 2020, 4:28:03 AM6/17/20
to TiddlyWiki
Tony

Let us know how that goes, please!

My experience is anything with an "exe", either just a string or an actual executable, often requires explicit permissions from end  user?

Unsigned executables are (rightly) seen as potentially dangerous. 

TT

Birthe C

unread,
Jun 17, 2020, 5:41:48 AM6/17/20
to TiddlyWiki
TW Tones,

Aren't you thinking of TiddlyWiki Toolmap

Tiddlytools is Eric Shulmans trademark.


Birthe

TW Tones

unread,
Jun 17, 2020, 7:30:11 AM6/17/20
to TiddlyWiki
Oops

Yes Birthe. Ta

Yony

TiddlyTweeter

unread,
Jun 17, 2020, 9:16:25 AM6/17/20
to TiddlyWiki
Hello Yony. :-)

On Wednesday, 17 June 2020 13:30:11 UTC+2, TW Tones wrote:
Oops

Yes Birthe. Ta

Yony

Mark S.

unread,
Jun 17, 2020, 10:07:40 AM6/17/20
to TiddlyWiki
toolmap updated.

David Gifford

unread,
Jun 17, 2020, 10:20:31 AM6/17/20
to TiddlyWiki
Mark S, thank you for updating the Toolmap!

Everyone else: if you provide updates for the Toolmap, please put Toolmap in the title of the thread. I don't read every single thread, so I need something to call my attention to it. Thanks!

TW Tones

unread,
Jun 17, 2020, 6:09:04 PM6/17/20
to TiddlyWiki
Will do David

TW Tones

Birthe C

unread,
Aug 12, 2020, 3:13:08 AM8/12/20
to TiddlyWiki
It definitely looks interesting. I have looked at it several times over the years, but never found out how to use twexe on linux. (I am using linux Mint 20). Trying to run it, it opened an old tiddlywiki in my browser.
I had trouble seeing the video and it was far too small for me to get any idea, what was happening. Also I find the description on the link confusing. Do this or that and then some. Where how and when?

Is anybody using twexe on Linux? If so would you please explain how to do it?


Birthe

Mark S.

unread,
Aug 12, 2020, 12:31:54 PM8/12/20
to TiddlyWiki
Be sure to mark the download as executable (which I assume you must have done, but it's something like chmod 744 twexe .

From terminal directory where the dowload (and your target html file) is:

./twexe myfile.html

(long, long wait while it builds)

Then run "./myfile".

It will open up an instance in your browser (hopefully) running on 127.0.0.1:8080 (or the first port after 8080 that is free)

It makes lots of backup files, that you will need to clean up eventually. It makes those files, even though I didn't specify the -k option.

Birthe C

unread,
Aug 12, 2020, 11:02:15 PM8/12/20
to TiddlyWiki
Thank you Mark S,

Now I got to try it. every time I have read about twexe, I have thought about it.
From description it is tempting, but in reality I do not find it practical. I wouldn't run several wikies using it. One special wiki maybe.

Thanks to you I have now peace in my mind concerning this. (idea for tiddlywiki can really haunt us).


Birthe

Mark S.

unread,
Aug 13, 2020, 12:09:18 AM8/13/20
to TiddlyWiki
Yes, I don't see it as being too practical either, especially because it takes about 5 minutes to set up each file you want to run.

It does suggest something that would be useful (well, maybe) -- node.js for single TW files. So you'd run like:

tiddlywiki-s myfile.html -p 8090 -f mydir

and immediately (no delay) it would run on port 8090 and use directory ./mydir to serve up any supporting static files. Something that works like tiddlyserver, but without the complicated setup.

But I suppose having 20+ methods of saving is probably enough ;-)
Reply all
Reply to author
Forward
0 new messages