TiddlyWiki-on-Fission Walkthrough

264 views
Skip to first unread message

Jeremy Ruston

unread,
Mar 7, 2021, 11:36:30 AM3/7/21
to TiddlyWiki Group
Here’s an update on the integration work I’ve been doing between TiddlyWiki and Fission. See this thread for the background:


The first phase of the work is about making a good experience for editing TiddlyWiki files in place within the Fission file system. That’s now mostly up and running, with some rough edges.

One nice feature is that the app ships with a series of different editions that you can choose when creating a new wiki. At the moment, it only offers tiddlywiki.com and tiddlywiki.com/prerelease. If you’d like to contribute an edition, please let me know here with the URL of an empty file suitable for inclusion.

I thought it was worth walking through the app to show how to get it working right from the start, including creating an account on Fission — see below.

Please feel free to ask any questions,

Best wishes

Jeremy


1. Visit https://tiddlywiki.fission.app/ and click the authorise button
2. You’ll be taken to Fission. Click the “Create account” button
3. Enter your email address and choose a username, and click “Get started"
4. At this point Firefox will ask for storage permissions
5. Fission will display a confirmation page

6. Go back to https://tiddlywiki.fission.app/ and click the “Authorise” button again
7. Click “yes” to agree to let TiddlyWiki-on-Fission access your Fission account
8. You’ll be taken back to TiddlyWiki-on-Fission. Click the “+” next to the blue folder labelled “private"
9. Review the details of the new wiki. Click on an edition to select it. Click the “Create and open” button to create the wiki
10. Enjoy your new wiki, saving changes as usual
11. Back at https://tiddlywiki.fission.app/ you can refresh and click on the “private” folder to see your new wiki

12. (As a point of interest, the app uses TW5’s new switchable page layout mechanism to offer a custom user interface. You can click the “Switch to TiddlyWiki user interface” button at the bottom of the page to see the TW interface. There’s a button in the sidebar for switching back)

Mohammad Rahmani

unread,
Mar 7, 2021, 12:20:00 PM3/7/21
to tiddl...@googlegroups.com
Hi Jeremy!

Congratulations! 

I created an account two days ago and now I return to open my wikis
But it stops at the sign in page! It accepts my username!

If I go back to https://tiddlywiki.fission.app/ there is nothing and I have to click on Authorize again!


System:
Windows 10, Chrome 89



Best wishes
Mohammad


--
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 view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/ED806F08-93D2-4E7D-9305-50F690EDE2BE%40gmail.com.

clutterstack

unread,
Mar 7, 2021, 12:29:25 PM3/7/21
to TiddlyWiki
Mohammad,

When you clicked Authorize, did it work? I had to do that today as well, but I didn't think of it as unintended behaviour.

Best,
Chris

clutterstack

unread,
Mar 7, 2021, 12:50:26 PM3/7/21
to TiddlyWiki
This is very neat, Jeremy! And an interesting avenue for lowering barriers to entry.

One thing I'd warn people about is that (for me, anyway) there's some slightly confusing behaviour at the moment:

* new wikis only show up in the filesystem browser on the app page after a refresh of the app page
* new wikis only show up in the filesystem browser once they've been saved (checkmark button)
* if I create a new wiki, change it, save it, and accidentally hit "back" on my browser (which I did the first time I tried the app, by hitting my trackpad wrong), there's a blank white screen. Hit forward, and I get the wiki without my changes. Wait a few seconds and reload, and my changes appear.

When I tried all this at first, I thought I wasn't creating wikis and that I was losing my changes. Neither of those things was true.

The other thing that confused me at first is that Fission is storing their stuff in local storage in the browser -- when you authorise Fission to store data there, it's not just an authentication key, it seems to be all the data for the account. This means that the new wikis belong to the app (though I haven't checked out the export possibilities) and you won't find them on your computer filesystem.

Best,
Chris

Mohammad Rahmani

unread,
Mar 7, 2021, 12:56:16 PM3/7/21
to tiddl...@googlegroups.com
Hi Chris,

On Sun, Mar 7, 2021 at 8:59 PM clutterstack <bee...@gmail.com> wrote:
Mohammad,

When you clicked Authorize, did it work? I had to do that today as well, but I didn't think of it as unintended behaviour.
 
Yes It works! But after I return to https://tiddlywiki.fission.app/ It asks me to authorize again!

clutterstack

unread,
Mar 7, 2021, 1:28:27 PM3/7/21
to TiddlyWiki
Hi Mohammad,

Oh. :( Something to do with browser settings? I don't have a better guess at the moment, sorry.

clutterstack

unread,
Mar 7, 2021, 1:32:58 PM3/7/21
to TiddlyWiki
@Jeremy, is there a way to delete wikis? I'm starting to accumulate a few just by looking at the app's behaviour.

Best,
Chris

On Sunday, March 7, 2021 at 11:36:30 AM UTC-5 Jeremy Ruston wrote:

Mohammad Rahmani

unread,
Mar 7, 2021, 2:54:45 PM3/7/21
to tiddl...@googlegroups.com
Thanks Chris!

Best wishes
Mohammad


Jeremy Ruston

unread,
Mar 7, 2021, 3:02:52 PM3/7/21
to tiddl...@googlegroups.com
I created an account two days ago and now I return to open my wikis
But it stops at the sign in page! It accepts my username!

If I go back to https://tiddlywiki.fission.app/ there is nothing and I have to click on Authorize again!

I think there's a problem on the Fission side where it isn't redirecting back to TW-on-F after account creation, which is why one has to manually go back.

In any case, there are two distinct steps: to create the Fission account, and to give TW-on-F permission to access that account. TW-on-F doesn't know which state things are in until one clicks the "authorise" button. I think things would be clearer if the redirects were all working correctly.

Best wishes

Jeremy

Jeremy Ruston

unread,
Mar 7, 2021, 3:06:52 PM3/7/21
to tiddl...@googlegroups.com
Hi Clutterstack

* new wikis only show up in the filesystem browser on the app page after a refresh of the app page
* new wikis only show up in the filesystem browser once they've been saved (checkmark button)

The file browser is very bare bones at the moment, and does indeed require a page refresh to see new changes from the file system.

* if I create a new wiki, change it, save it, and accidentally hit "back" on my browser (which I did the first time I tried the app, by hitting my trackpad wrong), there's a blank white screen. Hit forward, and I get the wiki without my changes. Wait a few seconds and reload, and my changes appear.

I'll investigate. There's a fair amount of iframe shenanigans going on behind the scenes, which can affect history.

When I tried all this at first, I thought I wasn't creating wikis and that I was losing my changes. Neither of those things was true.

The other thing that confused me at first is that Fission is storing their stuff in local storage in the browser -- when you authorise Fission to store data there, it's not just an authentication key, it seems to be all the data for the account. This means that the new wikis belong to the app (though I haven't checked out the export possibilities) and you won't find them on your computer filesystem.

As I understand it, data is stored in local storage pending synchronisation back to the server via IPFS over websockets. It's quite fun to watch what's going on with browser dev tools.

Hopefully Boris will chip in on the Fission stuff,

Best wishes

Jeremy

--
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.

Jeremy Ruston

unread,
Mar 7, 2021, 3:08:03 PM3/7/21
to tiddl...@googlegroups.com
@Jeremy, is there a way to delete wikis? I'm starting to accumulate a few just by looking at the app's behaviour.

Fission has a file browser app at http://drive.fission.codes/ where you can delete files.

I do intend to add a delete option to TW-on-F.

Best wishes

Jeremy

--
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.

clutterstack

unread,
Mar 7, 2021, 3:37:29 PM3/7/21
to TiddlyWiki
Thanks, Jeremy! I forgot about that Fission browser. That's going to be an important app.

stan...@gmail.com

unread,
Mar 7, 2021, 8:37:30 PM3/7/21
to TiddlyWiki
The instructions to set up an account and TW5 wiki on Fission were impeccable, thanks. The problem I had was that I could not add the Kookma Plugin LIbrary - I could add the Shiraz plugin by itself, but not the library by drag and drop.   Am I doing something wrong? Thanks for all the work on this, Jeremy. 

Stan

Mohammad Rahmani

unread,
Mar 7, 2021, 11:21:51 PM3/7/21
to tiddl...@googlegroups.com
Hi Jeremy,

On Sun, Mar 7, 2021 at 11:32 PM Jeremy Ruston <jeremy...@gmail.com> wrote:
I created an account two days ago and now I return to open my wikis
But it stops at the sign in page! It accepts my username!

If I go back to https://tiddlywiki.fission.app/ there is nothing and I have to click on Authorize again!

I think there's a problem on the Fission side where it isn't redirecting back to TW-on-F after account creation, which is why one has to manually go back.

Yes, I think so. One expects to be redirected after successful login!

 

In any case, there are two distinct steps: to create the Fission account, and to give TW-on-F permission to access that account. TW-on-F doesn't know which state things are in until one clicks the "authorise" button. I think things would be clearer if the redirects were all working correctly.

Best wishes

Jeremy

--
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.

Sapphireslinger

unread,
Mar 8, 2021, 12:12:53 AM3/8/21
to TiddlyWiki
Does this mean I can host my Tiddlywiki blog on Fission just like on Tiddlyhost?

Jeremy Ruston

unread,
Mar 8, 2021, 10:01:02 AM3/8/21
to TiddlyWiki Group

On 8 Mar 2021, at 05:12, Sapphireslinger <sapphir...@gmail.com> wrote:

Does this mean I can host my Tiddlywiki blog on Fission just like on Tiddlyhost?

Yes, but we don’t yet have persistent public URLs for public files in Fission (it’s hopefully coming soon); right now the public URL for a wiki changes each time a new version is published.

Best wishes

Jeremy
Reply all
Reply to author
Forward
0 new messages