TiddlyWiki / TiddlyFox

An extension for older versions of Mozilla Firefox to enable TiddlyWiki to save changes
52 stars 24 forks source link

Support For WebExtensions #56

Open diego898 opened 7 years ago

diego898 commented 7 years ago

Sorry if I've missed this, but I am wondering if and when tiddlyfox will be updated to support the new firefox addon format?

Thanks

cgoise commented 7 years ago

This will be a problem for all of us very soon. Without the extension the tiddlywiki is near-unusable.

krisko commented 7 years ago

I agree that this extensions makes saving TW much easier. One of the reasons I use TW is the possibility to run it in browser, so I don't prefer TiddlyDesktop app and I hope it is possible to rewrite it for new FF WebExtensions API.

However, there isn't any add-on for chrome and other browsers already using WebExtensions, so I got this bad feeling...

buggyj commented 7 years ago

The WebExtensions api does not include a 'save to /path/file' api, it is only possible to download to a path/file which is relative to the download dir (which is a configuration variable). In addition there is no api that reveals the down location variable to an extension. This means that any saver would only operate in a useful manner with TWs that are in a subdir of the download dir, and that the subdir name would have to be unique and know by the save extension. So it is not easy to write a save extension, and its usage would be restricted to a well know dir (under the download dir).

cgoise commented 7 years ago

Well, there IS an app which can do this on chrome. See here: https://github.com/Arlen22/tiddly-chrome-app/ . The app saves Tiddly-Wikis you open with it.

cgoise commented 7 years ago

I might have a look into it.. But I'm just a C-developer, not a web developer in any way.

buggyj commented 7 years ago

Unfortunately google has stopped support for web apps - http://www.omgchrome.com/not-joke-google-killing-chrome-apps/

I have put together a proof of concept saver here: https://github.com/buggyj/tiddlysaver. I think it is something I will use myself, If there is interest then we could create a repo here, or work on it over on my account.

diego898 commented 7 years ago

@buggyj how does that one work?

buggyj commented 7 years ago

@diego898 This allow tiddlywikis to be autosaved in chrome, replacing the original (ie no mytiddlywiki(1) etc), if the tiddlywikis are placed in (or in a subdir of) ........./Downloads/tiddlywikilocations/

after you load the extension in chrome (as described in the readme.md) copy a tiddlywiki into ......./Downloads/tiddlywikilocations/ - that's it

Note that earlier the dir name was incorrect.

jdittrich commented 7 years ago

Due to that I try to migrate to node.js, but it turns out to be difficult to get it not only to load my normal file, but also to save to it…

jlfranklin commented 7 years ago

FF57 is here. Are there alphas or betas we could try out?

Jermolene commented 7 years ago

Hi @jlfranklin I've updated https://tiddlywiki/com/#GettingStarted with more details of the alternatives. There's also a lot of discussion over in the main TiddlyWiki mailing list: http://groups.google.com/group/TiddlyWiki