[TW5] Twixie - Solve the saving problem - New release 0.5.26

392 views
Skip to first unread message

ih...@newsfromgod.com

unread,
Dec 18, 2015, 12:22:59 PM12/18/15
to tiddl...@googlegroups.com


Hi,

   This new release has some bug fixes and enhancements:

   * Fix bug in handling absolute path for backup dir
   * Store backups as HTML instead of twexes (thanks Mario)
   * Add LICENSE file to repository

   It continues to have the features that make twexe a great solution
   for easy to save local wikis:

   *   Automatic backups
   *   Automatic saving
   *   No browser add-ons needed!!
   *   Works on Linux and Windows
   *   Single file executable, can be moved, copied, etc.
   *   Wiki is compressed, occupying less space on your disk (sometimes even a third of the space!)
   *   Converts /any/ Tiddlywiki5 file to a single file executable , no need for special tiddlywiki plugins
   *   Automatically uses the saving tab in the control panel (there you can specify a backup directory if you don't like the default)
   *   Easily save the html wiki file from the executable twexe (if you need it for some reason)
   *   Opens up the possibility to run user specified external executables from your wiki (to draw charts, etc.) - stay tuned!!
   *   Supports external images (i.e. with _canonical_uri field)

You can download from:

https://ihm4u.github.io/twexe/

Thanks

Mark S.

unread,
Dec 21, 2015, 9:36:30 PM12/21/15
to TiddlyWiki, ih...@newsfromgod.com
Just curious, what is the memory footprint (ram) of this software? Is it better than TW desktop? The TW desktop took up something like a 1/8 G of memory just to start. This seems like a lot. I would like to take notes even while running memory intensive graphics software, but having to keep a browser or special app up is problematic (especially when other apps like Evernote take only a fraction of that amount).

Mark

ih...@newsfromgod.com

unread,
Dec 22, 2015, 12:34:19 PM12/22/15
to tiddl...@googlegroups.com
Hi Mark,

Quoting "'Mark S.' via TiddlyWiki" <tiddl...@googlegroups.com>:

> Just curious, what is the memory footprint (ram) of this software? Is it
> better than TW desktop? The TW desktop took up something like a 1/8 G of
> memory just to start. This seems like a lot. I would like to take notes
> even while running memory intensive graphics software, but having to keep a
> browser or special app up is problematic (especially when other apps like
> Evernote take only a fraction of that amount).
>
> Mark

Under windows, I ran task manager and it doesn't take that much memory:
from 1.0 to 2.0MB in general.

It will upsurge during saving (about the size of the wiki), because
it needs to compress the wiki in order to store it, but it will go back
down as soon as it is finished saving.


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+...@googlegroups.com.
> To post to this group, send email to tiddl...@googlegroups.com.
> Visit this group at https://groups.google.com/group/tiddlywiki.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/tiddlywiki/d56536c7-6eb3-4d74-aa08-3982f1e09bc3%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.



ih...@newsfromgod.com

unread,
Dec 22, 2015, 12:50:28 PM12/22/15
to tiddl...@googlegroups.com
Hi Mark,

Quoting "'Mark S.' via TiddlyWiki" <tiddl...@googlegroups.com>:

> Just curious, what is the memory footprint (ram) of this software? Is it
> better than TW desktop? The TW desktop took up something like a 1/8 G of
> memory just to start. This seems like a lot. I would like to take notes
> even while running memory intensive graphics software, but having to keep a
> browser or special app up is problematic (especially when other apps like
> Evernote take only a fraction of that amount).
>
> Mark
>

By the way, Twexe is the "server" side of things, you would still need
a browser
to write the notes. But you don't need to have the browser open all the time,
you could just close it and open it when you need it (twexe can stay
in the background).
You can also look into those light-weight browsers. Some one in the
group mentioned Pale Moon
and if have used Qupzilla randomly in the past.

Thanks



Marc Ferguson

unread,
Dec 23, 2015, 9:21:02 AM12/23/15
to tiddl...@googlegroups.com
I love the idea of Twixie but it needs to be usable on a Mac and on portable devices. Have you given any thought to making it more universal?

Sent from my iPhone
> To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/20151222123410.Horde.iXHC3aI3UzfCqn66r1Ol5xN%40www.newsfromgod.com.

Matabele

unread,
Dec 24, 2015, 9:52:39 PM12/24/15
to TiddlyWiki, ih...@newsfromgod.com
Hi

Anyone managed to get this running on Mac? And, if so, how?

regards

ih...@newsfromgod.com

unread,
Dec 28, 2015, 8:21:46 PM12/28/15
to tiddl...@googlegroups.com

Quoting Matabele <matabe...@gmail.com>:

> Hi
>
> Anyone managed to get this running on Mac? And, if so, how?
>
> regards
>
Hi Matabele,

You may be able to make it work with WineBottler at
http://winebottler.kronenberg.org/ which allows you to run windows
apps on the Mac.

I can't support a native Mac version because I don't have access
to a Macintosh, but if someone wants to support it, it should be very
easy to port it (it may even be just a recompile, but YMMV). The
development tools (Lazarus, Free Pascal) are available for Mac OS X
and there are instructions for compilation in the github repository at
https://github.com/ihm4u/twexe; it would need some testing because
there are some idiosyncrasies in the Mac world.

I really like how easy it is to port Free Pascal software, it took
just a recompile and I had it working on two different ARM devices in
just a few minutes!! Much easier than C++ or C.

Thanks



ih...@newsfromgod.com

unread,
Dec 28, 2015, 9:37:30 PM12/28/15
to tiddl...@googlegroups.com

Quoting Marc Ferguson <fergu...@gmail.com>:

> I love the idea of Twixie but it needs to be usable on a Mac and on
> portable devices. Have you given any thought to making it more
> universal?
>
> Sent from my iPhone
>

Hi Marc,

I designed it from the get go with portability in mind, that is
one of the reasons why I chose Free Pascal/Lazarus to develop it - the
complete development environment and runtime libraries are geared
towards portability (unlike C++ or C for which the compiler is
portable, but runtime and third-party libraries are not portable in
practice). I also needed a language that would allow some hard-core
operations like a self-modifying executable, signal handling, etc.

Most of all I wanted something *light*; almost all the other portable
options out there are not light and do not allow the packaging of a
single-file executable of about 2MB in size. They require the user to
install a run-time environment and then run the app on top of that. It
usually runs in the tens and even hundreds of Megabytes for the
environment alone.

I wanted a simple single-file executable that would be small and
statically linked for a specific CPU-OS target.This is what makes
Twixie so light, the plain executable without a Wiki is 950K in
Windows!!! That is amazing.The same for the RAM usage, only 1-2MB
average.

I am glad I chose Free Pascal, it took me less than a few minutes
to run it on a SBC (single board computer) ARM device, without
changing even one line of code (granted the SBC board was running
Linux also, but a different CPU and hardware).

Unfortunately I don't have the ability to support it on Mac or
other platforms, but I will be happy if someone takes up the challenge
for those platforms. Mac should be really easy to support.

As I pointed out to Matabele, you may be able to run the Windows
version on a Mac using something like WineBottler, I would like to
hear if anyone gets this to work.

Thanks
PS. There is one more little "portability" trick I did that have not
mentioned so far. If you have the twixie in a platform that is not
supported you can rename it and put a .zip extension on it; open it in
your unzip software (I tried with winzip and unzip) and voila! you get
your HTML wiki file. User data must be protected at all costs!!! :)




Spangenhelm

unread,
Jan 5, 2016, 7:45:55 PM1/5/16
to TiddlyWiki, ih...@newsfromgod.com
Hi, thank you for your work this looks promising! For now on my linux i'm having a problem when i try to launch it so i have a few questions:

- Does it need to be run with as "sudo" ?
- I have given it permission to be run as a application but does it need it ?

Apparently it creates the self contained file without problems but when i double-click it the webpage stays empty and display a error from the server: "Err_empty_response" (the server has not send any data)

Same message when launching the twexe file itself. Any idea why ?

Config: Antergos / Chromium 47.0.25 (64bits)

Matabele

unread,
Jan 6, 2016, 6:34:54 AM1/6/16
to TiddlyWiki, ih...@newsfromgod.com
Hi 

I tried using this with wine -- the only time it ran for a while was when I treated the .exe. file as an installation file (once installed -- it failed to run.)

I then tried re-compiling, but to date I haven't managed to satisfy all of the dependencies for building.

regards

On Tuesday, 29 December 2015 03:21:46 UTC+2, ih...@newsfromgod.com wrote

ih...@newsfromgod.com

unread,
Jan 12, 2016, 4:11:05 PM1/12/16
to tiddl...@googlegroups.com
Hi Spangenhelm,

Quoting Spangenhelm <goo...@florentv.com>:

> Hi, thank you for your work this looks promising! For now on my linux i'm
> having a problem when i try to launch it so i have a few questions:
>
> - Does it need to be run with as "sudo" ?

No, it should run just as a regular user.

> - I have given it permission to be run as a application but does it need it
> ?
>
Hmm, what OS is this? It needs permissions to setup a TCP HTTP server
on a port
above 1024. This permission is given by default in all all typical
unices, but
may be different if you are using some linux derivative like ChromeOS.

> Apparently it creates the self contained file without problems but when i
> double-click it the webpage stays empty and display a error from the
> server: "Err_empty_response" (the server has not send any data)
>
> Same message when launching the twexe file itself. Any idea why ?

If the permission above is not given then the server would not be able
to send any data.

>
> Config: Antergos / Chromium 47.0.25 (64bits)


thanks!







ih...@newsfromgod.com

unread,
Jan 12, 2016, 4:16:14 PM1/12/16
to tiddl...@googlegroups.com

Quoting Matabele <matabe...@gmail.com>:

> Hi
>
> I tried using this with wine -- the only time it ran for a while was when I
> treated the .exe. file as an installation file (once installed -- it failed
> to run.)

I see, twexe is a single executable file; there is no installation with it.

>
> I then tried re-compiling, but to date I haven't managed to satisfy all of
> the dependencies for building.
>
> regards

The re-compilation won't probably help you here; I think the problem has
to do with the way Mac handles application "bundles". The best bet is
to use it under wine as an "installation" file.

Unfortunately I don't have access to a Mac, so I can't do any kind of
testing.

>
> On Tuesday, 29 December 2015 03:21:46 UTC+2, ih...@newsfromgod.com wrote
>>
>> You may be able to make it work with WineBottler at
>> http://winebottler.kronenberg.org/ which allows you to run windows
>> apps on the Mac.
>>
>
> --
> 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+...@googlegroups.com.
> To post to this group, send email to tiddl...@googlegroups.com.
> Visit this group at https://groups.google.com/group/tiddlywiki.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/tiddlywiki/00c9e405-a729-4cdd-94ba-5ed71f0d9092%40googlegroups.com.

Spangenhelm

unread,
Jan 13, 2016, 6:12:45 AM1/13/16
to TiddlyWiki, ih...@newsfromgod.com
Hi, Antergos is just an installer for a classic Arch Linux distro so it must not be the problem, i will follow your advices and come back to you if needed.
Thanks
Reply all
Reply to author
Forward
0 new messages