Let us consider the possibilities.
> More importantly, power shell or bash cannot be the language of choice for this because that would mean separate scripts for different platforms,
> Node and Python are options. However, windows users might need specially created executables with third party softwares, while Linux and Mac users
> Oh did I mention user also have to remember to start up the program every time he launches the wiki.
> Guess what just got overwritten?
Let us consider the possibilities.
If we are looking for a solution external to browser, there is a couple of issues.
First, TW5 does not store the save path anywhere in its body and rightly so. This means there is no way for any solution to know where to move the latest TW5 file to. So it comes down to the user to tell the saving program where to save the wiki. Best case scenario, user has to create a settings file outlining which html file to move where. User has to do this for every wiki he ever uses and will have to edit it everytime he moves wiki or renames it.
More importantly, power shell or bash cannot be the language of choice for this because that would mean separate scripts for different platforms,
Oh did I mention user also have to remember to start up the program every time he launches the wiki.
Consider someone who uses Dropbox folder to sync his TW5s. One day he forgot to start up the saver script as he had a lot in mind. He reaches office only to realise that all his edits from home exist only in the download folder of his home PC. Boy! would he ditch such a solution a fast.
For what it is worth, there is an existing solution resolving atleast some of the issues I mentioned above and that is Tiddlyserver. In tiddlyserver
Thanks for clarifying. Why do you focus on restore rather than save?
A universal solution would be great, and anything is possible especially with skills and creativity. The issue with universal is it needs work throughout the universe. Perhaps the top 3 to 5 browsers would go 99% of the way. Wrapping some of the solutions in an install may help.
However I would put my money on ensuring tiddlywiki complies with progressive web apps, PWA. In some ways tiddlywiki was this before pwas existed. I expect pwas to be possible on all top browsers and platforms in time.
Despite the nay sayers persistent storage on the client is possible and top solutions depend on it already. Even if the client opt in process needs to mature.
But perhaps there are other ways. We will find them as a team.
Regards
Tony
Thanks for clarifying. Why do you focus on restore rather than save?
> Timimi on Firefox is set and forget - for single file wikis from any folder and save to any folder
> Bob.exe is very easy to use without trying to do anything special.
> In TiddlyServer you can add a folder or more to settings, and browse for you single file or Folder based wiki without an entry in any file. A Virtual or physical folder structure can be used/created.
> On Windows renaming a file to tiddlywiki.hta uses Internet Explorer and can save locally
> On SharePoint renaming a file to tiddlywiki.aspx uses any browser and can save back (store in a webPages library for speed and checkout to one editor)
> TiddlyDesktop lets you make use use of higher desktop privileges allowing links in file or folder wikis that let you open File explorer, default Browser or even executables.
> Installing AMPPS MAMP etc.. allows you to host wikis on a local apache server and use TW-receiver, set an forget
> Installing vanilla nodeJS lets you make use of static tiddlers, serve files from you desktop to your browser so you can load only those at a time if you wanted on large wikis.
Doesn't work with Edge
As for timimi not supporting chrome and others, may I remind you that timimi 1 still runs on chrome? The question is not is it currently supporting other browsers. Instead the question should be, can the underlying mechanism of timimi be extended to support other major browsers. The answer is a resounding yes. The only matter is time for the actual development, not technical or technological. The browsers which support the same mechanism is as follows:
- Chrome
- Firefox
- Edge (They are changing their API to be same as chrome's. So it is not even required to develop a separate extension, just reuse chrome)
- Vivaldi - Same case as edge
- Brave - Same case as edge
- Opera
Sincerely,
Riz
> On SharePoint renaming a file to tiddlywiki.aspx uses any browser and can save back (store in a webPages library for speed and checkout to one editor)I seem to recall that this was a commercial subscription that was required.
> TiddlyDesktop lets you make use use of higher desktop privileges allowing links in file or folder wikis that let you open File explorer, default Browser or even executables.TD installed takes almost 300 megs of space. Not a lightweight, portable, browser-powered solution. Also, for me, it would really help if it didn't require reboot whenever you re-opened a data folder TW.
> Did you know file://c:/ in firefox creates a directory you can browse and dragging and dropping files found there on TiddlyDesktop captures the full local file path?, also you can drag items in FF address bar as well.
You'll need to explain how to get this to work. I've tried multiple times and haven't succeeded. I think you're saying if you use FF as a file browser you can drag and drop. Have to try that.
> Installing AMPPS MAMP etc.. allows you to host wikis on a local apache server and use TW-receiver, set an forgetI don't think installing and forgetting a full-blown apache server is a good idea for most people. You've opened up a world of security concerns. I bet there's a fair bit of "setting" before you ever get to the "forgetting" part.
> With the forthcoming local storage plugin you can work and save in local storage then download like in option (1) every now and then as a backup,
Jeremy has told us that the local storage plugin shouldn't be considered as a storage mechanism. It is used in other apps, so, let's see. The main thing is that you lose transparency. Without deleting your profile you can't be sure that you've removed all traces of your original file.
> Installing vanilla nodeJS lets you make use of static tiddlers, serve files from you desktop to your browser so you can load only those at a time if you wanted on large wikis.Not a single-file TW solution. Requires node to be installed and a server to be continuously running.
> PS New version firefox is challenging Chrome
No, it's not. Did you know that 90% of Mozilla's revenue comes from Google? Do you really think G will
let Mozilla create a truly competitive product?
Mark,
300 megs is becoming trivial for desktops today. Reboot requirement, I have not observed this?
> Installing vanilla nodeJS lets you make use of static tiddlers, serve files from you desktop to your browser so you can load only those at a time if you wanted on large wikis.
>>> I agree but if we had a simple installer, and the way to add wikis easily we can leverage Nodes own cross platform work to keep tiddlywiki cross platform.
>>> Perhaps updates to TiddlyServers settings process or single file wikis on bob.exe would help this a lot.
Meanwhile, a batch file with less than a hundred lines of code can provide the features that you do need.
> No, it's not. Did you know that 90% of Mozilla's revenue comes from Google? Do you really think G will
let Mozilla create a truly competitive product?>> I do not understand this revenue issue, but have a look at the recent FireFox release notes. And by the way it is as good as or better for me than chrome already.
300 megs is becoming trivial for desktops today. Reboot requirement, I have not observed this?Misses the point. TiddlyWiki used to be this light-weight, single file solution. 300 megs is not lightweight, even today.
> Installing vanilla nodeJS lets you make use of static tiddlers, serve files from you desktop to your browser so you can load only those at a time if you wanted on large wikis.>> Not a single-file TW solution. Requires node to be installed and a server to be continuously running.>>> I agree but if we had a simple installer, and the way to add wikis easily we can leverage Nodes own cross platform work to keep tiddlywiki cross platform.>>> Perhaps updates to TiddlyServers settings process or single file wikis on bob.exe would help this a lot.Meanwhile, a batch file with less than a hundred lines of code can provide the features that you do need.
It means that Firefox is owned by Google in all but name.
> No, it's not. Did you know that 90% of Mozilla's revenue comes from Google? Do you really think G will
let Mozilla create a truly competitive product?>> I do not understand this revenue issue, but have a look at the recent FireFox release notes. And by the way it is as good as or better for me than chrome already.
Mozilla will do nothing to make Firefox better in any important way than Chrome.
Personally, I would gladly have a little loss of performance in exchange for getting
the old extensions back.
-- Mark
This approach accepts there needs to be an <snip> Browser piece for each platform.
So we can say "this method allows you to open your TiddlyWiki from the "original file location" (where ever you choose), it saves the TiddlyWiki in the browsers "download" location, but this file is synchronised back to the original location?
When Tiddlywiki is set to save automatically, each time it saves, the next version filename is used.
- Will it work for the different browsers?
- Need they alternate configurations?
- I assume we need to set one "original location", does this need to be set in the command file?
Must "let me choose where I download files" be disabled?
- Can we build this to cater for every Operating system?
But it won't work if you save someplace not being monitored.
- Can we build this to cater for every Operating system?
Tony, FYI the only issue I see is TIMING. The downside of using an external script to native TW methods on saving is that Restore is that you need to POLL the Wiki often to keep contemporaneous. This may be slightly confusing to end-users under some circumstances.
I will read through this again, perhaps more than once and think deeply about it. Like you both I would love for us to find nirvana for tiddlywiki saves.
Whilst I have being a script kiddy with PowerShell I have a very high level of batch programming skills .bat and .cmd and have automated windows desktop and servers many times. As mentioned before I call these monitoring scripts sentenials, and they capture files or data.
A solution such as this may be applicable to more than tiddlywiki.
Something about the current solution concerns me when it comes to first time users and making it as simple as possible, but you have developed a good approach. Let me see if I can add to this.
Regards
Tony
It needs something more catchy than the "restore" terminology. Maybe the "Phoenix", "dezombifier", or "nine-lives" process. Something to think about.
Whilst I have being a script kiddy with PowerShell I have a very high level of batch programming skills .bat and .cmd and have automated windows desktop and servers many times.
As a side note, the workflow for single file wikis on Bob isn't too terribly far from being able to just open an html file from within bob and have the changes autosaved back to the single file wiki. It won't ever be as simple as just double clicking on the html file because there is no way to associate just the tiddlywiki html files with Bob.
... the only issue I see is TIMING. The downside of using an external script to native TW methods on saving is that Restore is that you need to POLL the Wiki often to keep contemporaneous. This may be slightly confusing to end-users under some circumstances.
The only time you need to reload is if you're installing a plugin. Anyone advanced enough to be installing a plugin will be advanced enough to know how the "restore" mechanism works. Right? ;-)
... From what I have seen bash scripting can do anything done in powershell so that shouldn't be a problem...
...
As a side note, the workflow for single file wikis on Bob isn't too terribly far from being able to just open an html file from within bob and have the changes autosaved back to the single file wiki. It won't ever be as simple as just double clicking on the html file because there is no way to associate just the tiddlywiki html files with Bob.
... the workflow for single file wikis on Bob isn't too terribly far from being able to just open an html file from within bob and have the changes autosaved back to the single file wiki. It won't ever be as simple as just double clicking on the html file because there is no way to associate just the tiddlywiki html files with Bob.
... WebDav savers, which IMO are a little bit underestimated.
Good point about Webdav. I set it up on IIS and it worked well. I belive its available on other platforms.
As a technology do you know more about its availability and benefits?
Regards
Tony