Simple Android App for TiddlyWiki

771 views
Skip to first unread message

BurningTreeC

unread,
Dec 21, 2018, 10:54:13 PM12/21/18
to tiddl...@googlegroups.com
Hi there community,

I've made a very simple Android app that allows opening, modifying and saving a single-file tiddlywiki
For saving I use a slightly modified andtidwiki saver, I made a plugin from it
The app opens an index.html file that must be present in the Documents folder and makes a backup every time it saves

It misses some important features:

- choosing which file to edit (edits index.html in "Documents" right now)
- exporting files
- fullscreen (throws an error at the moment, but I'm close)

These features are implemented:

- creates a backup file in Documents/tw-backup on every save
- proper handling when smartphone gets rotated (portrait / landscape)
- importing files
- automatic creation of "Downloads" directory
- automatic creation of "index.html" in "Documents" if it doesn't exist (uses an empty 5.1.19 tiddlywiki)
- prompts for permission to access files on start (no need to open settings)


This is the first Android app I ever made - my skills are based on googling and copy-paste ;)

If anyone is interested to help adding features or to help testing, don't hesitate to leave me a reply in this thread


Here attached is an installable android apk and the saver plugin. To be able to install apps that come frome sources other than the play store, one must allow installing apps from unknown sources (Do it at your own risk!). See: https://www.androidcentral.com/unknown-sources
The app needs permission to access the filesystem (Settings - Apps - TW - Permissions).
The tiddlywiki file must be placed in the "Documents" folder (named "Documents" - /storage/emulated/0/Documents, in the Android "Home" folder)

You'll notice that it's no big thing, the wiki opens, you can work with it, some features don't work (see above) but it saves and it makes backups in Documents/tw-backup

Updates:

an app .apk for testing  can be downloaded here: https://github.com/BurningTreeC/TWApp/blob/master/app/release/app-release.apk


nice weekend to all tiddlers,
BurningTreeC

Message has been deleted
Message has been deleted
Message has been deleted

BurningTreeC

unread,
Dec 21, 2018, 11:04:44 PM12/21/18
to TiddlyWiki
Google doesn't want me to attach the .apk file, even zipped - I'll post a download link

Mohammad

unread,
Dec 21, 2018, 11:07:58 PM12/21/18
to TiddlyWiki
Hello BTC,

 This is a great step in using TW on Android system. Thank you!
For start this is really useful.

I hope you could resolve those shortcomings and publish it through Google Play.

-- Mohammad

Mark S.

unread,
Dec 21, 2018, 11:09:02 PM12/21/18
to TiddlyWiki
In the world of coincidences, I just today made a not-ready-for-prime-time Android app. I'm sure yours is much better. At the moment, it uses an external file manager (ES File) to pick files. But since it's Android 4.4, I don't know if it can save on an external device yet (it can save internally).

I was able to use the original andtidwiki saver. I'm wondering what you needed to change, or if there is some enhancement?

Thanks!
-- Mark

On Friday, December 21, 2018 at 7:54:13 PM UTC-8, BurningTreeC wrote:
Hi there community,

I've made a very simple Android app that allows opening, modifying and saving a single-file tiddlywiki
For saving I use a slightly modified andtidwiki saver, I made a plugin from it
The app opens an index.html file that must be present in the Documents folder and makes a backup every time it saves

It misses some important features:

- importing / exporting files
- fullscreen
- proper handling when smartphone gets rotated (portrait / landscape)


This is the first Android app I ever made - my skills are based on googling and copy-paste ;)

If anyone is interested to help adding features or to help testing, don't hesitate to leave me a reply in this thread


Here attached is an installable android apk and the saver plugin. To be able to install apps that come frome sources other than the play store, one must allow installing apps from unknown sources (Do it at your own risk!). See: https://www.androidcentral.com/unknown-sources
The app needs permission to access the filesystem (Settings - Apps - TW - Permissions).
The tiddlywiki file must be placed in the "Documents" folder (named "Documents" - /storage/emulated/0/Documents, in the Android "Home" folder)
The file needs the "androidsaver" plugin installed (it's just one small tiddler) - the easiest way is installing the plugin on a pc/laptop and transferring it to the phone afterwards

You'll notice that it's no big thing, the wiki opens, you can work with it, some features don't work (see above) but it saves and it makes backups in Documents/tw-backup


Mohammad

unread,
Dec 21, 2018, 11:10:24 PM12/21/18
to TiddlyWiki
One quick and non-professional way is to attach file like myApp.apxx

--Mohammad


BurningTreeC

unread,
Dec 21, 2018, 11:27:26 PM12/21/18
to TiddlyWiki
Hi Mohammad, thanks for your reply. I'm afraid the app is by far not ready being published. I'm hoping to find some people interested to cooperate.  We need shared knowledge

-- Mohammad

BurningTreeC

unread,
Dec 21, 2018, 11:35:38 PM12/21/18
to TiddlyWiki

In the world of coincidences, I just today made a not-ready-for-prime-time Android app. I'm sure yours is much better. At the moment, it uses an external file manager (ES File) to pick files. But since it's Android 4.4, I don't know if it can save on an external device yet (it can save internally).

Oh that's cool! I doubt mine is better. I'd like to make a github repository that contains a tiddlywiki with documentation regarding this app-development and the app-sources ... so we can share progress and discoveries
I couldn't figure out yet how to pick files, so you already know something I'd like to add :)


I was able to use the original andtidwiki saver. I'm wondering what you needed to change, or if there is some enhancement?

My app has a simple webview and I made a JavascriptInterface I can access from within tiddlywiki. I saw that the andtidwiki saver does something like that... Maybe my js interface only needs to be called "window.twi" ? (just got the idea ... that must be it!)

Thanks!
-- Mark

BurningTreeC

unread,
Dec 21, 2018, 11:38:02 PM12/21/18
to TiddlyWiki

One quick and non-professional way is to attach file like myApp.apxx

Lemme try that

--Mohammad


TW.apxx

BurningTreeC

unread,
Dec 21, 2018, 11:39:38 PM12/21/18
to TiddlyWiki

One quick and non-professional way is to attach file like myApp.apxx

--Mohammad


Great, this worked, thanks Mohammad! Just rename the file to TW.apk

Mark S.

unread,
Dec 21, 2018, 11:41:55 PM12/21/18
to TiddlyWiki
It just needs to be called "twi" instead of "Android".

-- Mark

BurningTreeC

unread,
Dec 21, 2018, 11:48:08 PM12/21/18
to TiddlyWiki

It just needs to be called "twi" instead of "Android".

Right, I tried that now. Thank you, you see I'm just figuring things out

-- Mark

BurningTreeC

unread,
Dec 21, 2018, 11:52:25 PM12/21/18
to TiddlyWiki
Here's the app that doesn't need my plugin anymore. works with a standard tiddlywiki file
TW.apxx

Mark S.

unread,
Dec 22, 2018, 12:16:48 AM12/22/18
to TiddlyWiki
It won't install on my system -- what minimum SDK level did you specify?

Nice touch having the icon in there.

The orientation problem is standard. You have to save the currently loaded file path in onPause (I think -- it might be something else) and then reload the TW in onResume. I'm sure the technique is outlined in more than one tutorial out there. The problem for TW is that if you happen to be typing something and then tilt the screen, it's all gone. I guess the solution would be to enhance the webview interface to tell the TW file to save before the pause. If that's possible ...

I notice the path you specify is for the internal system. Do you have the android.permission.WRITE_EXTERNAL_STORAGE set in the manifest? Supposedly if you set it, on Android 6 - 8 you should be able to write the external storage card.

-- Mark

TonyM

unread,
Dec 22, 2018, 1:11:29 AM12/22/18
to TiddlyWiki
Folks

It is really exciting to hear you are playing with this. I have dreamed of having a way to build a tiddlywiki and publish it as an app. I think we need to work together to document the process so anyone can design and publish a tiddlywiki as an app. Perhaps even its own folder not documents. Of course individuals will have to try and get it into the app store but we can share the experience. With acknowledgement of tiddlywiki.com and a custom design to drive new users I do not see why we could not charge for the apps. Perhaps a vanila tiddlywiki app build by this team and sheparded through to the app store with a low price we can all afford, can go to the community via jeremy.

What do you think?

Tony

BurningTreeC

unread,
Dec 22, 2018, 1:36:32 AM12/22/18
to TiddlyWiki

It won't install on my system -- what minimum SDK level did you specify?

Nice touch having the icon in there.

The orientation problem is standard. You have to save the currently loaded file path in onPause (I think -- it might be something else) and then reload the TW in onResume. I'm sure the technique is outlined in more than one tutorial out there. The problem for TW is that if you happen to be typing something and then tilt the screen, it's all gone. I guess the solution would be to enhance the webview interface to tell the TW file to save before the pause. If that's possible ...

I notice the path you specify is for the internal system. Do you have the android.permission.WRITE_EXTERNAL_STORAGE set in the manifest? Supposedly if you set it, on Android 6 - 8 you should be able to write the external storage card.

Yes, I use the write-external-storage permission - therefor minimum sdk level is 23 but I have it set to 28 which is what android studio gave me. I'm not experienced with these things, just wanted it to work on my phone.
If it's helpful to you somehow, I add the code here, it's just three files

BurningTreeC

unread,
Dec 22, 2018, 1:40:13 AM12/22/18
to TiddlyWiki

Folks

It is really exciting to hear you are playing with this. I have dreamed of having a way to build a tiddlywiki and publish it as an app. I think we need to work together to document the process so anyone can design and publish a tiddlywiki as an app. Perhaps even its own folder not documents. Of course individuals will have to try and get it into the app store but we can share the experience. With acknowledgement of tiddlywiki.com and a custom design to drive new users I do not see why we could not charge for the apps. Perhaps a vanila tiddlywiki app build by this team and sheparded through to the app store with a low price we can all afford, can go to the community via jeremy.

What do you think?


I think yes, great idea. My requirements would be:

- no ads (never ever)
- open source
- simple design


BurningTreeC

unread,
Dec 22, 2018, 1:42:23 AM12/22/18
to TiddlyWiki

It won't install on my system -- what minimum SDK level did you specify?

Nice touch having the icon in there.

The orientation problem is standard. You have to save the currently loaded file path in onPause (I think -- it might be something else) and then reload the TW in onResume. I'm sure the technique is outlined in more than one tutorial out there. The problem for TW is that if you happen to be typing something and then tilt the screen, it's all gone. I guess the solution would be to enhance the webview interface to tell the TW file to save before the pause. If that's possible ...

About the orientation problem: I've seen that I can write to the cache, so I would save to the cache before it rotates and restore afterwards if I find a way doing it

BurningTreeC

unread,
Dec 22, 2018, 2:33:19 AM12/22/18
to TiddlyWiki
New app version with confirmation dialogs working.

The app works on my android 6.0 - I believe that's also the minimum version required

TW.apxx

Jeremy Ruston

unread,
Dec 22, 2018, 2:56:27 AM12/22/18
to tiddl...@googlegroups.com
Hi BurningTreeC, Mark,

Great work! A modern TiddlyWiki app for Android is long overdue, and could be very popular.

If you'd like to make it a community property then we could host it alongside TiddlyDesktop (currently at https://github.com/Jermolene/TiddlyDesktop, but moving to https://github.com/TiddlyWiki/TiddlyDesktop

Also, I'd be very grateful if you could post some screenshots for those of us without Android,

Best wishes


On 22 Dec 2018, at 07:33, BurningTreeC <hypnotize...@gmail.com> wrote:

New app version with confirmation dialogs working.

The app works on my android 6.0 - I believe that's also the minimum version required

--
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/1370a710-b488-44c0-98d7-80ce4b2d6e06%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
<TW.apxx>

BurningTreeC

unread,
Dec 22, 2018, 3:24:49 AM12/22/18
to TiddlyWiki

Hi BurningTreeC, Mark,

Great work! A modern TiddlyWiki app for Android is long overdue, and could be very popular.

If you'd like to make it a community property then we could host it alongside TiddlyDesktop (currently at https://github.com/Jermolene/TiddlyDesktop, but moving to https://github.com/TiddlyWiki/TiddlyDesktop

Hi Jeremy, thanks for the praise in advance, I appreciate, though the app is still very simple, but I'm seeing more and more what can be done and as a community property it could go somewhere, I would welcome that

I've attached some screenshots
IMG_20181222_091138.png
Screenshot_2018-12-22-09-08-46.png
Screenshot_2018-12-22-09-09-06.png
Screenshot_2018-12-22-09-09-44.png

Mohammad

unread,
Dec 22, 2018, 8:25:17 AM12/22/18
to TiddlyWiki
Wonderful BTC,
 For those who are not on Android! I recommend to download an Android emulator to be able to run this app!
Some are free to use!



--Mohammad

R2

unread,
Dec 22, 2018, 9:28:30 AM12/22/18
to TiddlyWiki


Great idea!

I'd definitely pay. Same requirements as BurningTreeC.

I am onboarding by preparing a long trip to Ethiopia and am seeing the potential here. Imagine a guidebook that you mix and blend from different sources: buy the core content from a publisher (Bradt, Lonely Planet...), download additional content from other travellers, add your own, remove everything you don't think you'll need from sight, conveniently add and updates tiddlers, navigate between tiddlers based on tags and Tiddlymaps, etc. No need for an Internet connection or an advanced phone, much lighter than a paperback, no constraints in terms of maps and convenient geographical navigation thanks to Tiddlymaps...

Best,
R2

Mohammad

unread,
Dec 22, 2018, 9:44:32 AM12/22/18
to TiddlyWiki
Hello BTC,

 Installing on Android 8.1 works like a charm! Very fast, responsive and very good looking!

A million thanks.

During installation it just warn me it is not a Google play and not verified! I selected "Install anyway"


Short instruction
  1. Download the an empty TW and put under Documents and rename your empty.html to index.html (named "Documents" - /storage/emulated/0/Documents, in the Android "Home" folder)
  2. Download the BTC apxx above, rename to .apk and install
  3. Run the TW app
That's all.

BTC,
 I installed several plugins like highlight.js and Codemirror and they are work great!

@Jeremy
 We need a mobile first theme now, Jd's themes or Riz theme can be used here, but now we should get much attention.

This app will put TW several steps ahead! On the mobile and tablet, now TW is a must have app.


Best Regards 
Mohammad

Mohammad

unread,
Dec 22, 2018, 9:46:15 AM12/22/18
to TiddlyWiki
Further input!

The current theme is very nice and responsive! But it is not mobile first!

--Mohammad

Mark S.

unread,
Dec 22, 2018, 9:51:07 AM12/22/18
to TiddlyWiki
Yes, it would be great to see how you're doing the load/save. I started out trying to load the actual bytes into memory, but it never quite worked (never got past the load screen). Then changed approach to use loadUri and that worked great.

With your settings, are you able to save to an external drive?

-- Mark

BurningTreeC

unread,
Dec 22, 2018, 10:02:12 AM12/22/18
to TiddlyWiki

Yes, it would be great to see how you're doing the load/save. I started out trying to load the actual bytes into memory, but it never quite worked (never got past the load screen). Then changed approach to use loadUri and that worked great.

Hi Mark, here attached is my WebAppInterface Java file that does all the saving

With your settings, are you able to save to an external drive?

I haven't tried yet but I'm curious, too. I'll let you know soon

WebAppInterface.java

BurningTreeC

unread,
Dec 22, 2018, 10:07:14 AM12/22/18
to TiddlyWiki

Further input!

The current theme is very nice and responsive! But it is not mobile first!

--Mohammad

Yes, I think so, too. We first need some small optimized tweaks for the sidebar button and the tiddler-margins

Then I think we need a lighter edit template with buttons that are easier to access. I think about an edit template positioned fixed top0left0widht100height100 ...

But first of all, let's get the apps to a satisfying state

Mark S.

unread,
Dec 22, 2018, 10:23:13 AM12/22/18
to TiddlyWiki
Here's my WAI. It's much simpler since I don't try to save backups. But it allows you to save any file from anywhere (but will silently fail if there is a permissions mismatch).

I would like to see the code where you load the incoming file. I think you might be using a better approach than I used (a simple urlLoad).

In the longer term, one of the weaknesses of AndTidWiki was how hard it was to switch between TW files. Android now has a ViewPage layout. So you could just swipe sidewise and change what file you're viewing.

Good luck!
-- Mark
WebAppInterface.java

BurningTreeC

unread,
Dec 22, 2018, 11:03:26 AM12/22/18
to TiddlyWiki

Here's my WAI. It's much simpler since I don't try to save backups. But it allows you to save any file from anywhere (but will silently fail if there is a permissions mismatch).

I would like to see the code where you load the incoming file. I think you might be using a better approach than I used (a simple urlLoad).

Sorry to all others for bumping non-tiddlytext - Mark, the file is loaded in to lines:

File f = new File(Environment.getExternalStoragePublicDirectory(Environment.DIRECTORY_DOCUMENTS), "index.html");
mWebView.loadUrl(Uri.fromFile(f).toString());

In the longer term, one of the weaknesses of AndTidWiki was how hard it was to switch between TW files. Android now has a ViewPage layout. So you could just swipe sidewise and change what file you're viewing.

Yes, I'm interested in layouts that help selecting files, a "library" of all wikies. But I don't have a clue how , haven't looked into the documentation yet

I hope we can share our findings and progress from time to time

About the external-sd-card saving, I don't know, haven't found very helpful documentation about that. If you know something about how to try, please let me know

Good luck!
-- Mark

@TiddlyTweeter

unread,
Dec 22, 2018, 12:03:43 PM12/22/18
to TiddlyWiki
Whoa! Nice one. 😁 I'll comment later.

Mark S.

unread,
Dec 22, 2018, 3:10:06 PM12/22/18
to TiddlyWiki
If you use my WAI, then you can load a TW file from anywhere, making testing easier.

I've just put the code up on GitHub, though I don't know if I did it correctly. See https://github.com/Marxsal/Quinoid01.

-- Mark

BurningTreeC

unread,
Dec 23, 2018, 1:24:54 AM12/23/18
to TiddlyWiki

If you use my WAI, then you can load a TW file from anywhere, making testing easier.

I've just put the code up on GitHub, though I don't know if I did it correctly. See https://github.com/Marxsal/Quinoid01.

Thanks! My code is here: https://github.com/BurningTreeC/TWapp

If you'd like to correct or add something, don't hesitate to create PR's , anyone interested. Also, the issues section can be used for ideas, suggestions, reports

BurningTreeC

unread,
Dec 23, 2018, 1:41:58 AM12/23/18
to TiddlyWiki
** Still waiting for @TiddlyTweeter's comment who has his own definition of later ;) **

BurningTreeC

unread,
Dec 23, 2018, 4:05:07 AM12/23/18
to TiddlyWiki
Now the app can import files :)

Here is a link where the most recent .apk can be downloaded for testing

@TiddlyTweeter

unread,
Dec 23, 2018, 6:07:40 AM12/23/18
to TiddlyWiki
BurningTreeC wrote:
** Still waiting for @TiddlyTweeter's comment who has his own definition of later ;) **

LOL! ... Well  I got the app installed on Android 8.0 no problem ... only issue it the phone apparently has no "Documents" folder :-). So this could take a little while longer ...

Mohammad

unread,
Dec 23, 2018, 7:26:09 AM12/23/18
to TiddlyWiki
BTC,
 Why you set name as app-release instead TW.apk?

-Mohammad

Mohammad

unread,
Dec 23, 2018, 7:34:46 AM12/23/18
to TiddlyWiki
I cannot install this while the previous version is installed?

-Android 8.1

Mohammad

BurningTreeC

unread,
Dec 23, 2018, 8:46:02 AM12/23/18
to TiddlyWiki

BTC,
 Why you set name as app-release instead TW.apk?

Because I would have to rename it manually every time I build it. Naming it app-release.apk is no problem

Do you still have issues installing the current version?

-Mohammad

BurningTreeC

unread,
Dec 23, 2018, 8:47:21 AM12/23/18
to TiddlyWiki

BurningTreeC wrote:
** Still waiting for @TiddlyTweeter's comment who has his own definition of later ;) **

LOL! ... Well  I got the app installed on Android 8.0 no problem ... only issue it the phone apparently has no "Documents" folder :-). So this could take a little while longer ...


Hm :) ... The latest version should make that folder now if it's missing ... (I hope)

Mohammad

unread,
Dec 23, 2018, 9:04:09 AM12/23/18
to TiddlyWiki
I just download the latest version from github! Again I can INSTALL.
The import works! I used the Tools/import and added simple tiddler and a plugin!
Both works!


Thank you


--Mohammad

@TiddlyTweeter

unread,
Dec 24, 2018, 3:53:33 AM12/24/18
to TiddlyWiki
BTC (& Mark S.)

I now got it working. Android 8.0.0. Looking good. FWIW ...

1 ... different versions of Android display settings for Apps differently so once you installed it you maybe need hunt around a bit if you need to modify permissions.

2 ... initially I got the error when I ran TW app. of  "net::ERR_ACCESS_DENIED. I changed the Permissions on TW app. to allow "Storage". Then it worked.

I have other comments regarding functionality ... but "later" after I used it some days. Ok?

Danke mille!

BTC:
** Still waiting for @TiddlyTweeter's comment who has his own definition of later ;) **

TT: LOL! ... Well  I got the app installed on Android 8.0 no problem ... only issue it the phone apparently has no "Documents" folder :-). So this could take a little while longer ...


BTC: Hm :) ... The latest version should make that folder now if it's missing ... (I hope)

Ton Gerner

unread,
Dec 24, 2018, 8:45:08 AM12/24/18
to TiddlyWiki
Hi all,

I got it working on my old Nexus 5 with Android 6.0.1.


> The latest version should make that folder now if it's missing ... (I hope)

I had to add a Documents folder and then got the 'access denied' error.
I thought it had to do with creating the Documents folder on my PC (phone conected to PC), but could not see or change permissions over there.
Thanks to @TiddlyTweeter I found the 'storage' setting.

One strange thing: Going from Portrait to Landscape (turning the phone) does reload the TiddlyWiki file!

Keep up the good work.

Thanks,

Ton

Mohammad

unread,
Dec 24, 2018, 9:29:41 AM12/24/18
to TiddlyWiki
@BTC
On Android 8.1 it is not possible to move the cursor in edit mode.
Cut, paste, copy only works for whole text not part of it.

Cheers
Mohammad

Message has been deleted

Mohammad

unread,
Dec 24, 2018, 10:30:50 AM12/24/18
to TiddlyWiki
Hi BTC
Seems something warning on my side.
On reinstall it works.

Thank you

TonyM

unread,
Dec 24, 2018, 7:45:58 PM12/24/18
to TiddlyWiki
Mohammad,

You may find this in an alternate keyboard, I saw one designed for ms excel which may give you come arrow keys.

Regards

Mohammad

unread,
Dec 25, 2018, 12:30:00 AM12/25/18
to TiddlyWiki
Thanks Tony!

Ton Gerner

unread,
Dec 25, 2018, 4:20:10 AM12/25/18
to TiddlyWiki
Hi Mohammad,


Cheers,

Ton

Mohammad

unread,
Dec 25, 2018, 1:43:01 PM12/25/18
to TiddlyWiki
Thank you Ton!

Yes, I need that, using original Android keyboard it is very touch to code in TW, but writing normal text is easy!
I am thinking to create some snippets and use them for inserting widgets and like that...

Cheers
Mohammad 

Ste Wilson

unread,
Dec 26, 2018, 6:37:29 AM12/26/18
to TiddlyWiki
There is a noteself android app in existence too.

Ste Wilson

unread,
Dec 26, 2018, 6:52:11 AM12/26/18
to TiddlyWiki

Ste Wilson

unread,
Dec 26, 2018, 6:55:03 AM12/26/18
to TiddlyWiki
Sorry. Try again.
https://github.com/NoteSelf/android-app

Search for noteself and android to find the discussion on here. Can't seem to link to it... Grrrrr Google.

BurningTreeC

unread,
Dec 27, 2018, 2:37:55 PM12/27/18
to TiddlyWiki
Nice holidays to all!

Some updates from the TWApp - front:

- rotation doesn't reload anymore, neither should split-screen view
- the app now asks for permission to access files when it starts and permission is missing
- the Documents folder gets created automatically
- the index.html gets copied to the Documents folder if it's missing there (the app comes with a 5.1.19 empty tiddlywiki for copying)

Hope you all enjoy the tiddly testing time, 'til next time

BTC

Mohammad

unread,
Dec 27, 2018, 2:45:19 PM12/27/18
to TiddlyWiki
Many Thanks BTC,

 This is a great improvement.

A short comment: Is it possible to have several TW files in Document folder and choose among them?


Download page: Is this https://github.com/BurningTreeC/TWApp/tree/master/app/release the download page?
Is it possible to make resales and use: https://github.com/BurningTreeC/TWApp/releases


Best wishes
Mohammad

Ton Gerner

unread,
Dec 27, 2018, 3:41:50 PM12/27/18
to TiddlyWiki
Hi BTC,

Nice progress.

Tested with Nexus 5 - Android 6.0.1


> - rotation doesn't reload anymore, neither should split-screen view

Yes, you did correct that.


> - the app now asks for permission to access files when it starts and permission is missing

Yes, I noticed that.


> - the Documents folder gets created automatically

Yes, checking with the Total Commander app on my phone I do see the Documents folder. I also see backups are made in subfolder tw-backup! Great.
For some reason I do not see the Documents folder on my PC (Linux Mint 19.1). Reconnecting/giving permission for data transfer did not help. Strange, but not important, the folder is there.


> - the index.html gets copied to the Documents folder if it's missing there (the app comes with a 5.1.19 empty tiddlywiki for copying)

Great.

Many thanks.

Cheers,

Ton



@TiddlyTweeter

unread,
Dec 27, 2018, 4:06:39 PM12/27/18
to tiddl...@googlegroups.com
Just for you I REMOVED the last App version, the TW file and the "Documents" folder ...

... lets see what happens ...

1 - on my Android phone (8.0.0) to reveal the download button after going to the address I need to click (a) "Desktop version"; (b) click on app-release.apk. This enables the green download button. Downloads fine to phone.

2 - Click to install. Asks if its kosher a couple of times. Click okay to install. It went ahead.

3 - Looked through the Apps to find TW and dragged it to the main screen ...

4 - Clicked it to run ... not quite there as net::ERR_FILE_NOT_FOUND

5 - Looks like no "Documents" folder was created??

UPDATE ...

On SECOND RUN IT IS THERE

... it worked! Magic!

Brilliant ...

josiah

@TiddlyTweeter

unread,
Dec 27, 2018, 4:27:12 PM12/27/18
to TiddlyWiki
Update for those only on email. I modified my last post to confirm BTC's Android app DOES create the needed folder and imports the latest TW automagically. 

Mohammad

unread,
Dec 27, 2018, 11:33:59 PM12/27/18
to TiddlyWiki
Josiah,
 Thanks for your first note! It saved me from downloading on my laptop and then transfer to my phone! The secret was eneble Desktop mode in chrome when I want to download the app.

Cheers
Mohammad

BurningTreeC

unread,
Dec 30, 2018, 8:49:58 AM12/30/18
to TiddlyWiki
Hi 

>_

I'd like to ask those that made it to try the app for some testing experiences

Do you think the app is going in the right direction?

Have you got ideas what could be done while testing/using it?

Have you found issues that would disqualify such an app for your daily use?

BurningTreeC

unread,
Dec 30, 2018, 8:58:05 AM12/30/18
to TiddlyWiki
In the meantime BTC's taking some Android app development lessons

Mohammad

unread,
Dec 30, 2018, 11:54:01 AM12/30/18
to TiddlyWiki
HI BTC,

 I am using the TW.apk on Android 8.1. Everything goes well.
On the app side it is great. My comment is to be able to open several different wiki and not restricted to one!
(I don't mean to have them open at the same time, but the ability to open one by one.)


On the Tiddlywiki side, may be a better UI (mobile first) help a better experiences on mobile.

The app for me is simple to install, simple to use. 


Thank you for your efforts.


--Mohammad

Riz

unread,
Dec 30, 2018, 1:54:55 PM12/30/18
to TiddlyWiki
Hi BTC,
Can you clarify what features will the app have over the existing android tiddlysaver webdav app? Consider the following features.


* Not limited to a single folder. This is the biggest shortcoming of the webdav android tw saver app. You have to put all tiddlywikis in single folder. Ideally we should be able to long press an html from anywhere and choose to open with the tw app.
* Ability to share text to a default tiddlywiki, which will be stored as a tiddler.
* Ability to create quick notes from notification bar in a default tiddlywiki.

Not necessary, but would be nice to also have.
* Ability to create a new empty wiki.
* Cloud Sync

Sincerely,
Riz

BurningTreeC

unread,
Dec 31, 2018, 2:18:46 AM12/31/18
to TiddlyWiki
Hi Riz,
 
Hi BTC,
Can you clarify what features will the app have over the existing android tiddlysaver webdav app? Consider the following features.

Thanks for mentioning the webdav app, I didn't know there was one for Android. Therefor I can't tell what the differences are
I'm not really interested in anything where I have to set something up. I want an app that just lets me start doing something using Android-native features and finally making TW interact with them

The app should be designed similar to TiddlyDesktop, with a landing page where I can create or select wikies

I want to be able to have different wikies open at the same time

I'm trying to figure out if that landing page can be accessed by swiping in from the left from any wiki, would be good

I want the share mechanism working, so that I can share with TW from other apps. It should allow selecting the wiki I want to share with

Sharing should also work from within TW. I'm thinking about an extra export button that opens a "share with" dialog

I want to solve the current shortcomings with going fullscreen (and fullscreen content like yt videos probably)

Basically, I want to make the App integrated and communicating with the system first, and then build up on that

Then I'd like to explore widgets and notifications and all those extra goodies Android provides


* Not limited to a single folder. This is the biggest shortcoming of the webdav android tw saver app. You have to put all tiddlywikis in single folder. Ideally we should be able to long press an html from anywhere and choose to open with the tw app.


Yes, that's very important to me, too. I started with the simplest way I found for saving the file, without having to dig too deep into the mechanisms. I think I'll get there during the process

* Ability to share text to a default tiddlywiki, which will be stored as a tiddler.
* Ability to create quick notes from notification bar  in a default tiddlywiki.


Yeah right, setting a tw as default makes great sense. That shouldn't be too complicated. I think Android already remembers such selections, for example when I open a link it asks me which browser and if I want to always open links with that browser. So the mechanism is there and I'd just try using it
 

Not necessary, but would be nice to also have.
* Ability to create a new empty wiki.


That's a no-brainer
 

* Cloud Sync


Yep, maybe, would be cool. I'd have to gather some ideas about the how-to ...

* Where to put the files - or tell a process to just sync that selected TW from wherever it is?
* What syncing mechanism ... I haven't explored how easy it'll be to use my Linux knowledge within Android, but I think starting a sync command should not be the most difficult thing to do. I've seen that I can make background services. I think a button somewhere that launches a sync could already be sufficient, I like the idea of being in charge about what and when to sync
* What should be the sync target of choice, should there be more, can it be made configurable to just add a preferred target... ? Android lets us add accounts, maybe they can be accessed for syncing ... 
* This is something to figure out... The more help I find with this the more likely it becomes to be realized
 

Sincerely,
Riz


Thanks Riz, you've triggered a pretty good brainstorming :)

all the best,
BTC 

BurningTreeC

unread,
Dec 31, 2018, 3:28:31 AM12/31/18
to TiddlyWiki
Now I also want to make the app access the Termux API
That'd be fun
From the wiki-side a plugin with widgets for termux-api access
The rest is up to the user what he wants to do with the endless possibilities Termux offers
* build a wiki folder from my wiki file? No problem with termux
* launch that wiki using nodejs - easy
* open that wiki within the app - straight forward
* launch a syncer - no problem, Termux has rsync and syncthing
* pipe tiddlers through jq and do whatever you like doing with it - sounds like nerdy fun




BurningTreeC

unread,
Dec 31, 2018, 3:34:15 AM12/31/18
to TiddlyWiki
... And for those being on an intertwingling mission, Termux has an erlang package a pkg install erlang away

BurningTreeC

unread,
Dec 31, 2018, 3:46:20 AM12/31/18
to TiddlyWiki
Planned for Version 50.0.1 in the far 2051
Intertwingling our solar system with our phones  and wikies, probably through a TWyson sphere

Hands down - the scope of the sarcasm variable is just this post
</$sarcasm>

Happy New Year all of you, and a healthy, happy, enlightening and productive 2019






Riz

unread,
Dec 31, 2018, 5:30:11 AM12/31/18
to TiddlyWiki
This is the app I was talking about. On second look, I realise that it is just a general WebDAV server. I have been using it for so long that my brain just naturally associated it with Tiddlywiki.

https://play.google.com/store/apps/details?id=com.theolivetree.webdavserver

Here are the steps if you want to try.

1. Download and install the app
2. Open the app. Go to its settings page (the spanner icon on the top right corner of the app)
3. Set "Network interface" to "Loopback"
4. Set port to something like "8070"
5. Set "Home directory" to "Custom Folder"
6. Set "Custom folder" to a folder in your internal memory. (I have not tried with external sd)
7. Now come back to main screen and press the power button there.

The server will start.
Keep thTiddlywiki files in the "Custom folder" you set in step 6.

Goto 127.0.0.1:8070 in your browser. You can see the list of files. Open a Tiddlywiki file and try making changes and save.

There is nothing fancy here. That is why I want you to succeed in this endeavour. The share and quick notes would go a long way to make Tiddlywiki mobile usage easier.

Wish you all the luck in the world.

Sincerely,
Riz

@TiddlyTweeter

unread,
Dec 31, 2018, 7:52:57 AM12/31/18
to TiddlyWiki
> BTC: Do you think the app is going in the right direction?

YES.

> Have you got ideas ...

Riz and Mark made many interesting comments I can't add much to.

BUT the beauty of what you have made is its simplicity of install. That is exactly right for Android IMO. Meaning I could ask friends to trial it assured it will work. It's that "Tiddly desktop" type experience that will gain users.

IF, eventually, it could be on Play Store, so much the better.

A few comments ....

In looking at improvements there seem to be TWO different issues ... (a) the mechanism of install & running; (b) the "mobile friendliness" of installed TW.

Though it's, as it were, not your main objective to have to address B when coping with A ... I do think it matters somewhat.

My thought here is that the default first installed TW be prepped with a style that is more mobile optimised. That could maybe be an assembledge of things already made by you, JD and Thomas.

Part of the issue for optimal Android TW is both CSS stylistics and the structure of the TW. I suspect that we'll better evolve into what is needed once Android usage increases. Which I am sure your app will foster.

One thing I'd like to understand myself is HOW to activate TW startup actions that use environment detection Tiddlers (.info) to modify the interface or apply a specific theme.

On the specifics of install and running ... some thoughts, echoing others ...

1 - I think it's great DEFAULT behaviour is to create a "Documents" folder if it does not exist. The simplicity is just right. FWIW, I suggest the default be "Documents/TW/" to prevent possible conflicts if a user already has an "index.html" (which is not a TW) in that folder.

2 - Though I have no idea how one could do it, I think a more advanced CUSTOM mode, which is what others have basically covered in suggestions, looks attractive. FWIW, in my own use I'd love to (a) be able to have access to more than one TW; (b) preferably concurrent; (c) some way to access "template/edition" TW -- either in an online depository or one's own on phone.

As I think about it more ... the thing with smart phones in general is they are optimal for Apps DELIMITED to specific purposes. So a thought is to not just one "App" but rather several. I hope it's clear what I mean by that!

many thanks & best wishes for proxima jahre.

Josiah

Watt

unread,
Jan 1, 2019, 2:00:15 PM1/1/19
to TiddlyWiki
Thanks BTC for this app, it really is a game changer for TW on Android mobiles.

I had previously been bodging along, as us non-techies do, using TW5 on my Android 7.0 phone for about a year. Firefox for Android worked well for me with BJ's Saver plugin, until recently, when an inexplicable, possibly self inflicted Firefox deletion of downloaded TW's and backups motivated a move to Ecosia Browser and the basic download to save method. (Actually not that cumbersome if you add <<now>> to the Tiddler title field in Control panel). To have an App that does backups tidily has put an end to my fiddling with multiple timestamped TW's. Thank you very, very much.

Here is some feedback on your excellent App so far, bear in mind that I know nothing and understand less;

1. The github link doesn't work anymore. I get a 404 on both mobile and desktop versions. Maybe you've taken it down while you revise the App, maybe I'm doing something wrong. Either way this feedback is based on the second version of the App, not the most recent version which I can't download yet.

2. The first version TW.apk installed easily, I had to adjust permissions to allow storage, as described in several earlier posts above.
I copied my already existing wiki into the Documents folder (which existed on my Android). I renamed my wiki file 'index.html'. I opened the app and it worked exactly as it had previously in the browser. Clicking Save created backups! Thank you again BTC!
When the second version came out I uninstalled the TW App, as you would normally for Android apps. I kept the already existing Documents folder and backups sub-folder and installed the new version of the TW App. I think it worked out of the box with my existing index.html. I had to allow permissions for storage again. The backups were untouched by the App upgrade. If necessary the most recent backup could be copied up into Documents and renamed index.html.

3. I had already installed JD's Mobile theme on my wiki (http://j.d.simplemobile.tiddlyspot.com). It works very well for me. I think mobile apps need big buttons for everything. JD's theme provides them for all in-built TW navigation and they are customisable. In addition I bodged together a css pop-up set of my own buttons, launched from a single button on a 'Home' start-up tiddler. It works well enough for me, I can't find the link in the forum but that's where I copied it from. I like the idea of a consistent 'Home' tiddler with a button that launches a pop-up of further navigation buttons. I tried to emulate the start screen of 'Omni notes', another excellent, free Android app you might like to look at in playstore. My attempt works but is a real hack. Anyone who understands css navigation menus would do better in 2 minutes I'm sure.

4. Other plugins/macros/tweaks that I have installed and seem to work well with mobile are;
'New here (add it to toolbar of tids via Control Panel, Appearance, Toolbars, View Toolbar)'
'BJ's Story tabs - http://bjtools.tiddlyspot.com/#StoryTopTabs'
'Manuar's Contacts Manager - https://beleriandcrises.github.io/tw-mycontacts/'(I cannibalised it a bit to work from my pop-up menu and with the different theme - don't ask me how as it was a long time ago, but it works for me.)
'TWaddle's Side editor - http://sideeditor.tiddlyspot.com/'
'Mohammad's Edit/addNote' - http://addnote.tiddlyspot.com
'BurningTree's Hammerwidgets - Swipe, Pan, Press, Tap and Pinch widgets' - http://hammerwidgets.tiddlyspot.com
'Ibnishak's Social Networking Macro - https://ibnishak.github.io/Tesseract/pluginsandmacros/socialmacros/index.html (required fiddling, 4 tids are needed for it to work: Animate, svg icons, macro, stylesheet. I then had to edit the macro adding '&' before subject in mailto, based on this info, https://stackoverflow.com/questions/2583928/prefilling-gmail-compose-screen-with-html-text . I only use it for the email so can't say if the rest works.)

I have other plugins installed and everything works. The wiki is about 7mb - text entry can be slow sometimes. Does TW App use a lot of memory?


5. Regarding use of more than one wiki within your app, I still have links to additional wikis that are in the tiddlywikilocations directory that BJ's Saver required. They are still listed in a tiddler in my Documents/index.html. The links look like this on my android: file:///storage/emulated/0/Download/tiddlywikilocations/filename.html . These links open the external wiki within your TW app when clicked, replacing the original index.html. The external wiki then operates normally within the app. However if I create a new tiddler and save it, the external wiki is saved as index.html in the Documents folder, overwriting the original Documents/index.html that I started off with. Therefore CAUTION is required if you have a lot of unsaved work in your original index.html and want to try this out. If you've got a backup saved it's no problem to restore the original index.html. It appears that a menu system is almost possible but if I click on the Android back button from the external wiki, trying to get back to the original, then the app crashes out. As others have mentioned the ability to open wikis from a list would be great.

6. Top of my wishlist for your app would be its inclusion as a Share destination. I think it's called 'intents' in Android, but I'm sure you'd know better. For example, if I'm on a webpage/text selection in a browser or any other app I can click on Share and TW will be one of the listed destination options. If you take a look at 'Omni Notes' and 'Orgzly' (A free .org mode outliner) on the playstore you'll see two examples with such functionality. BJ's Tiddlyclip worked beautifully on desktop. It's a real handicap for me not having that functionality on Android.

7. Next on my wishlist would be human readable timestamps in the backup file names.
 
8. Sharing in the opposite direction, from TW to other apps, already seems to work on my Android. If I select text the Share option comes up. The Social Networking Button Macro mentioned above also shares entire tiddler content to my gmail app if I want. TW already has several export options built in for more comprehensive exports. (If you do take a look at 'Omni Notes' and 'Orgzly' both also have export options, Orgzly files can be directly imported into TW without conversion, Omni Notes uses sqlite and is more fiddly).

9. Keeping it simple is key in my opinion. All the server options such as Bob and Tiddlyserver work very, very well but App users on mobile like me want to just click, open and use. Instant availability. Auto save. Big colourful buttons! Buttons that open more navigation buttons! Everything in a TW app should be achievable with my (non-opposable) thumbs. For example Omni notes takes you straight in to text entry, no additional clicks to enter 'edit mode'. One click to open, then type, a drop down tag selection, one click to save and close. Is no edit mode possible for TW (unless requested in settings)?

10. I really would like to thank you for this App. Like many others I live on my phone and if it doesn't exist on mobile, it doesn't exist. I use TW5 for everything now, really everything, so a big thank you BTC for this leap forward into 2019! Thanks also to all the contributors to this forum who's patient explanations and examples help us bodgers get so much more out of the wonderful Tiddlywiki. A big thanks, especially, to Saint Jeremy Ruston, the man who never sleeps. A Happy, Healthy and Wealthy New Year to all you Tiddlywikrs everywhere!

TonyM

unread,
Jan 1, 2019, 11:31:52 PM1/1/19
to TiddlyWiki
Folks esp BTC,

I have being following this with great interest but Christmas / New Year and the temporary loss of one eye, has slowed me down.

I have trawled the thread and cant find where to locate the latest apkxx, Or a link to it to use on the phone. What is the definitive location for it now?
and is there a step by step instruction to installing the apk?

I was keen to contribute earlier, and will once I have install it and reviewed it. 

What BTC is saying about Termux API's sounds very interesting but I am not sure exactly how this works, would you have Termux and The App installed, and The App Enables issuing commands and thus tiddlywiki commands sent to the Termux shell?

From a design Features point of View I love the idea of the key community app that can open multiple tiddlywikis etc... this is a critical first step. However I would be keen for individuals in the community to provide the means by which to package a custom edition of TiddlyWiki within an app, so for example if I built a TiddlyWiki that provides say decision support tools, or an evaluation tool, or a dashboard, advanced notetaker I / We could package this and distribute independent apps, ideally through the app store.

This would be using TiddlyWiki as an app development platform we are all familiar with, deployed on the android platform would provide a rapid application development and deployment path. This would really turbocharge the mobile first applications whilst ensuring the final app is largely open source with TiddlyWikis famous hack-ability. The community can stream line this path and TiddlyWiki could be come a key method to deploy to multiple platforms solutions, the advantage being everyone in the community contributes to making this a fast path to app development, while retaining all tiddlywikis other advantages and platform.

The Question is then can these custom editions be sold in the app store for a few dollars and provide a return to the edition developer and person who packaged it as an App?

I think some licencing standards should be published such as tiddlywiki must be linked to, acknowledgements included, and details how to hack your tiddlywiki made available in a custom app.

Regards
Tony


On Saturday, 22 December 2018 14:54:13 UTC+11, BurningTreeC wrote:
Hi there community,

I've made a very simple Android app that allows opening, modifying and saving a single-file tiddlywiki
For saving I use a slightly modified andtidwiki saver, I made a plugin from it
The app opens an index.html file that must be present in the Documents folder and makes a backup every time it saves

It misses some important features:

- choosing which file to edit (edits index.html in "Documents" right now)
- exporting files
- fullscreen (throws an error at the moment, but I'm close)

These features are implemented:

- creates a backup file in Documents/tw-backup on every save
- proper handling when smartphone gets rotated (portrait / landscape)
- importing files
- automatic creation of "Downloads" directory
- automatic creation of "index.html" in "Documents" if it doesn't exist (uses an empty 5.1.19 tiddlywiki)
- prompts for permission to access files on start (no need to open settings)


This is the first Android app I ever made - my skills are based on googling and copy-paste ;)

If anyone is interested to help adding features or to help testing, don't hesitate to leave me a reply in this thread


Here attached is an installable android apk and the saver plugin. To be able to install apps that come frome sources other than the play store, one must allow installing apps from unknown sources (Do it at your own risk!). See: https://www.androidcentral.com/unknown-sources
The app needs permission to access the filesystem (Settings - Apps - TW - Permissions).
The tiddlywiki file must be placed in the "Documents" folder (named "Documents" - /storage/emulated/0/Documents, in the Android "Home" folder)

You'll notice that it's no big thing, the wiki opens, you can work with it, some features don't work (see above) but it saves and it makes backups in Documents/tw-backup

Updates:

an app .apk for testing  can be downloaded here: https://github.com/BurningTreeC/TWApp/blob/master/app/release/app-release.apk


nice weekend to all tiddlers,
BurningTreeC

BurningTreeC

unread,
Jan 2, 2019, 1:43:59 AM1/2/19
to TiddlyWiki
Hi TiddlyTweeter, Watt and Tony,

Thanks for this great feedback!

I'm going to respond to Tony first because these are some very basic questions I'd like to answer and discuss first

Folks esp BTC,

I have being following this with great interest but Christmas / New Year and the temporary loss of one eye, has slowed me down.

Tony, I hope everything went well

I have trawled the thread and cant find where to locate the latest apkxx, Or a link to it to use on the phone. What is the definitive location for it now?
and is there a step by step instruction to installing the apk?

The apk is temporarily down as currently it's too experimental with some things behaving strange. I don't want people to install it over an eventually installed previous version which is somehow already in use as it seems.
There is no definitive location yet. The Github repository is for having quick access to the code if I'm away from home and want to work on it, the apk that's there from time to time is really just for testing, it's been in a subfolder of the project and it will be like that for a while
A definitive location would be the releases section of the repository. Jeremy asked before if I want to move the code to the TiddlyWiki repo which would be great. That needs some work on his part first, making the repo ready, moving TiddlyDesktop there and I don't know what else.
There's also Marxsal's app that should not be forgotten. I hope that with moving code to the TiddlyWiki repo this could become more open for other developers and we can improve it together.
The definitive location is not that settled as you see, but it will be in the releases section of the final repo

I was keen to contribute earlier, and will once I have install it and reviewed it. 

What BTC is saying about Termux API's sounds very interesting but I am not sure exactly how this works, would you have Termux and The App installed, and The App Enables issuing commands and thus tiddlywiki commands sent to the Termux shell?

Termux can access Android features through its API which can be installed after installing Termux. There's a separate app and a package to install within Termux. Yes, I basically thought that when Termux is installed, the whole feature set can be made accessible within tiddlywiki with some commands. Further we could launch Termux commands and scripts, too. This would be a great extra without being necessary for the app to work. It would be a tiddlywiki plugin

From a design Features point of View I love the idea of the key community app that can open multiple tiddlywikis etc... this is a critical first step. However I would be keen for individuals in the community to provide the means by which to package a custom edition of TiddlyWiki within an app, so for example if I built a TiddlyWiki that provides say decision support tools, or an evaluation tool, or a dashboard, advanced notetaker I / We could package this and distribute independent apps, ideally through the app store.

Yes, that could be a way. I already mentioned a landing page that should open within the app. There should be a "new wiki" button which could make us select a premade "edition". But I don't know yet what's the best way to provide such editions, we'll see

This would be using TiddlyWiki as an app development platform we are all familiar with, deployed on the android platform would provide a rapid application development and deployment path. This would really turbocharge the mobile first applications whilst ensuring the final app is largely open source with TiddlyWikis famous hack-ability. The community can stream line this path and TiddlyWiki could be come a key method to deploy to multiple platforms solutions, the advantage being everyone in the community contributes to making this a fast path to app development, while retaining all tiddlywikis other advantages and platform.

The Question is then can these custom editions be sold in the app store for a few dollars and provide a return to the edition developer and person who packaged it as an App?

I've been thinking about this and I cannot say I'd have come to a point...
This can be serious work and creators often end without any rewards when everything is done and can just be downloaded and installed
I wouldn't really want to provide an interface within the app that brings users to the app store for selecting an edition
The Open Source feeling of TiddlyWiki is a key point for me and I'd like to stick with the up- and downsides of it
What I want to do is a similar approach like Termux does it:

* Termux is open source
* You can get all Termux apps without paying through the F-Droid app store
* You pay something for certain Termux apps when installing through the google play store. That's like deciding to support the project by installing through the play store, paying to support it

There are so many possible editions that I think they must somehow be managed by the creators themselves


I think some licencing standards should be published such as tiddlywiki must be linked to, acknowledgements included, and details how to hack your tiddlywiki made available in a custom app.

I don't know. TiddlyWiki is licensed, every single tiddlywiki html file is licensed. It's basically "do whatever you like to do with it, don't lie about the origins, don't promote your product using the original names of creators and contributors without permission, and always include the original license". I'd like to see what Jeremy thinks about this

I can just say that I want to keep it simple. The simple approach is the html file that's the start of everything here. Users should know about that file. Users should know how to use a browser to download it and a file manager to move it and eventually organize it. I don't want to make the app a playschool teacher

What I definitely want is being able to select a file on the system to start with


Regards
Tony

 Thank you Tony!

BurningTreeC

unread,
Jan 2, 2019, 2:23:30 AM1/2/19
to TiddlyWiki
Hi Josiah, thanks for your feedback!


> BTC: Do you think the app is going in the right direction?

YES.

> Have you got ideas ...

Riz and Mark made many interesting comments I can't add much to.

BUT the beauty of what you have made is its simplicity of install. That is exactly right for Android IMO. Meaning I could ask friends to trial it assured it will work. It's that "Tiddly desktop" type experience that will gain users.


The simplicity comes from the simplicity of my modest android programming skills, but you're right that it's also a real strength of the concept. I want to keep that approach the whole way through

IF, eventually, it could be on Play Store, so much the better.


It should be there when it's ready to be there. There's also the open-source F-Droid app-store. I'm sure I want to make it appear there first
 

A few comments ....

In looking at improvements there seem to be TWO different issues ... (a) the mechanism of install & running; (b) the "mobile friendliness" of installed TW.

Though it's, as it were, not your main objective to have to address B when coping with A ... I do think it matters somewhat.


It matters a lot and I would address that, too and I believe so would others. If we want the default tiddlywiki to be more mobile friendly, which is something we want (...) , we should first create a prioritized list of simple required adjustments, like:

* move sidebar button down and closer to the edge, take left-handers into account
* think about the positions of the tiddler buttons. should they be layed out horizontally or vertically, left or right?

questions like these do matter a lot here
 

My thought here is that the default first installed TW be prepped with a style that is more mobile optimised. That could maybe be an assembledge of things already made by you, JD and Thomas.

Part of the issue for optimal Android TW is both CSS stylistics and the structure of the TW. I suspect that we'll better evolve into what is needed once Android usage increases. Which I am sure your app will foster.


Yes, first I think tiddlywiki should add sane defaults addressing questions like above
Nothing too opinionated should go there as the differences between a tiddlywiki in the browser and one on a smartphone should be recognizable at first sight as necessary adjustments for operability

One thing I'd like to understand myself is HOW to activate TW startup actions that use environment detection Tiddlers (.info) to modify the interface or apply a specific theme.


Hm, I think the $:/info/browser/screen/height and $:/info/browser/screen/width tiddlers can be used to determine if we're on a small screen

In a tiddler tagged $:/tags/StartupAction

<$reveal state="$:/info/browser/screen/width" type="lt" text={{$:/themes/tiddlywiki/vanilla/metrics/sidebarbreakpoint}}>
actions if screen is small
</$reveal>
 
An additional option comes using the dynaview plugin and enabling saving the view dimensions whenever the view changes (enable it through the checkbox in the plugin's config tab)
Using that we can create stylesheets that adjust when dimensions change

On the specifics of install and running ... some thoughts, echoing others ...

1 - I think it's great DEFAULT behaviour is to create a "Documents" folder if it does not exist. The simplicity is just right. FWIW, I suggest the default be "Documents/TW/" to prevent possible conflicts if a user already has an "index.html" (which is not a TW) in that folder.


I want to keep it simple like that, but I believe the Documents folder will not be the default location. It will be possible to select a starting wiki, otherwise the app just creates one and starts with it. The app will be able to open more than one at the same time and the files will be organized better, separate folders for each wiki. Probably a new folder just for the app
 

2 - Though I have no idea how one could do it, I think a more advanced CUSTOM mode, which is what others have basically covered in suggestions, looks attractive. FWIW, in my own use I'd love to (a) be able to have access to more than one TW; (b) preferably concurrent; (c) some way to access "template/edition" TW -- either in an online depository or one's own on phone.

As I think about it more ... the thing with smart phones in general is they are optimal for Apps DELIMITED to specific purposes. So a thought is to not just one "App" but rather several. I hope it's clear what I mean by that!


If you mean being able to have more wikies open at the same time then yes, that'll come. But there will be only one app

many thanks & best wishes for proxima jahre.

Josiah


Thank you!

TonyM

unread,
Jan 2, 2019, 8:30:00 AM1/2/19
to TiddlyWiki
Btc,

Thanks for your considered responce.

I will keep an eye out for the next test version so I can contribute. I am prepared to use a test knowing later uninstalls etc may be nessasary.

My eye has a gas bubble in it for a couple of weeks. An interesting expierience for sure. I have a built in spirit level.

Fyi

I played with a geolocation plugin and it worked on noteself if I remember correctly, presumably firefox has access to some of the phone devices. I say this because I expect there is a rich set of interfaces available without termux, but I do not know enought to say what.

Nevertheless a termux interconnected app could introduce a lot of possibilities. Very interesting idea.

Regards
Tony

Watt

unread,
Jan 2, 2019, 10:09:50 AM1/2/19
to TiddlyWiki
I can confirm leaflet works very well for maps. I have it working on mobile in a browser, but the same wiki doesn't acquire geolocation points within the TW app. I don't think the app is requesting location permissions, and I can't find anywhere to grant it on my Android. Previously created geoloc points create maps in TWapp though.

Jan has done a lot of work on maps and leaflet, see here if you're interested;
https://groups.google.com/forum/m/#!searchin/TiddlyWiki/Geoloc/tiddlywiki/GG6IugxnFxU

There is further help here;
https://groups.google.com/forum/m/#!searchin/TiddlyWiki/Geoloc/tiddlywiki/b2ekqFfjvz0

If you search the forum for 'Geoloc' those are the top two results, at the moment.

I had a lot of trouble getting it working, and be warned that the plugin, as is, can create an unrecoverable red Java error popup which killed several test wikis. Try it out on an empty wiki would be my humble advice.

Once working it is amazing to be able to geolocate on mobile within TW5. Thanks you leaflet plugin author Sylvain!

BurningTreeC

unread,
Jan 6, 2019, 2:46:59 PM1/6/19
to TiddlyWiki
Hi @all interested in the progress I'm making with the Äpp,

I've put a screen recording online which just shows where it's going:



BTC

@TiddlyTweeter

unread,
Jan 7, 2019, 3:47:31 AM1/7/19
to TiddlyWiki
Looking good ... !

I thought it interesting how you used bits of the TiddlyDesktop type menuing. 

The ways of making new wiki looks v. good.

Interested to see where it all arrives.

Best wishes
J
.

BurningTreeC

unread,
Jan 8, 2019, 3:53:41 PM1/8/19
to TiddlyWiki
@Mark S. , I hope you'll see this,

Jeremy has created a repository at https://github.com/TiddlyWiki/aTW which we want to use for a tiddlywiki android app
I'd like to create a solid skeleton first, based on what I tried in my experiments, but I'd like to invite you and everyone interested to help working on this

all the best, Simon

BurningTreeC

unread,
Jan 8, 2019, 3:57:37 PM1/8/19
to TiddlyWiki

Looking good ... !

I thought it interesting how you used bits of the TiddlyDesktop type menuing. 

The ways of making new wiki looks v. good.

Interested to see where it all arrives.

Best wishes
J
.

Thank you very much for your feedback, Josiah. We're moving the code over to a repository Jeremy created for this purpose. Don't hesitate to leave comments and ideas there, any type of help is welcome!

Simon

Watt

unread,
Jan 8, 2019, 7:20:25 PM1/8/19
to TiddlyWiki
I'm not a developer, and I haven't got a github account but... I've got an android phone! Will sign up and see if I can help in some way. Even if it's only testing and feedback. We can still ask questions about mobile here on the forum though, right? Or is github a forum too?

BurningTreeC

unread,
Jan 9, 2019, 5:58:41 PM1/9/19
to TiddlyWiki
I'm not a developer, and I haven't got a github account but... I've got an android phone! Will sign up and see if I can help in some way. Even if it's only testing and feedback. We can still ask questions about mobile here on the forum though, right? Or is github a forum too?

Hi Watt, Android users are android experts nevertheless
Everyone's invited to contribute
Reply all
Reply to author
Forward
0 new messages