On their continuous effort to deliver cutting edge features to you, the NoteSelf team (formerly known as just me :D) is delighted to announce that NoteSelf online edition is now an offline-first experience.
This means that you will be able to use the online edition even if you are offline, isn't that mind-blowing ?
Wait, there is more!
Being an offline-first application allows you to use NoteSelf like a native mobile app. This mean that you can have it on your app launcher with it's own icon, that it will appear on your list of opened/recent apps and some other features restricted to native applications.
Hey, hey, hey, I want this! Fine, this is how:
The supported browsers for the native app experience are chrome and Opera so far, Firefox is on the way. The offline capabilities should work on a wider range of of browsers.
This have several advantages over the offline version:
The supported browsers for the native app experience are chrome and...
This means that you will be able to use the online edition even if you are offline, isn't that mind-blowing ?
app launcher with it's own icon,
Regarding the offline thing, hope the following video helps you understand the concept (please ignore the audio)
Hello Mat,.. Was that your first time opening Noteself from chrome?
Hey Mat, don't forget to come back with your impressions :)
You can have as many notebooks as you want. Just change the Notebook Name , save and reload. Regards
Heh, a funny thing happened: To try out installing a plugin, I installed the plugin "Documentation from tiddlywiki.com". If I understand, this overwrites both the Default tiddlers and the GettingStarted tiddler... which means I can then not re-access the Noteself GettingStarted tiddler!
The Revisions feature in GettingStarted also does not show anything. Had to uninstall the docs plugin to access the NoteSelf GettingStarted again.
In fiddling with the above, I clicked the site subtitle which opens the Ctrlpanel>TiddlyPouch>Database.IMO the tab label should be "NoteSelf" instead of "TiddlyPouch" - I don't want to have to learn more terminology/names and the tab content is only(?) relevant for the NoteSelf context anyway.
There the overlapping info inGettingStartedCtrlpanel>TiddlyPouch>DatabaseCtrlpanel>Info>Basics...this is a bit confusing, mostly because the same info is presented differently.
Actually, as an end user, where the data is stored even more belongs under the Ctrlpanel>Savings tab.
In GettingStarted it saysYou can have as many notebooks as you want. Just change theNotebook Name, save and reload.This triggers the "download, save to local drive" process which does not seem correct - or? I was hoping it would just magically create and save to a new browser db. This does not work for me in chrome nor FF. (Win10.)
...actually, how is it even possible for the system to know if clicking standard save button should mean create a new selfnote db or download local copy (or even upload to a tiddlyspot if such data is filled in)?
...E.g for FAQ:What "browser stuff" (cache, cookies, history...) is safe to clear out without affecting my NoteSelf data?What about browser "Incognito mode".
Taking a step back to evaluate the situation, I realize that I have some hesitation with using SelfNote because a lot still seems so magical.
I see super potential in this tho.<:-)
Ciao Danielo
I think its a BRILLIANT piece of work.
I don't use mobile phones much and its not my main interest. My main interest is how the PouchDB mechanism works as a potential saving mechanism across all browsers and device types. AND that PouchDB is superb for multi device syncing with a cloud IF you want that too. THAT is really exciting: (1) To see the possibility of a standard "out-of-the-box", easy local saving mechanism PLUS (2) reliable cloud based multi-device sync.
Whilst there are several current, interesting, new systems emerging for working with TW, your solution SMELLS SWEET to me :-)
In earlier threads I note that Jeremy Ruston is wary of having ones TiddlyWiki locked up inside a specific browsers data storage department. I think if his worry is addressed in a clear way with easy routes to export and backup of Tiddler content I hope he'll see the upsides to your work so far.
I do wish more people with technical skill were expressing interest in this. I note Mat's enthusiam & am glad for it. Its a lot for one person to do it all.
Mat refereed to its "magical" nature. I think that hits the spot. And is it White magic or Black magic? :-). I think part of what would be helpful to reduce the idea you are the "Fairy Godfather" :-) is to explain a bit more about what "in browser storage" is. What the UPSIDES are and what the DOWNSIDES might be.
Personally after using it a bit in Firefox I got interested in WHERE is the data kept in Firefox. I still haven't found the DB, though I know it must be there somewhere :-)
Just to let you know that I will continue to play with it. I am seriously thinking of it as a very suitable way to create and publish e-pubs for audiences who just want to read & add notes, not fiddle about with a zillion different ways they have to save etc.
First question.. Do I need to save it to my device first or just use it straight from github because from 'You can start using your notebook right now' suggests I can fill in details on the form in front of me i.e https://noteself.github.io/online/
1a. What's a couchdb and where can I get one? (I know from your comments here that cloudant is the place to go)
2. Cloudant is a whole can of worms for a non techie (I think I've set up a db but I'm not sure) . Perhaps a little more hand holding needed.
3. What is the couchdb url? The couchdb tiddler provides a little more clarity.
4. Remote database name.
Is this just the name of the database I think I've created on cloudant or does it need a url?
I've set up a cloudant account and created a db called'noteself'.
I've filled in the fields. Pressed the button and get;
Syncer-browser - 22:47:21 4 1 2017
XMLHttpRequest error code: 0
And that's as far as I've got...
Ste
Ok...
Well here's the non teach user feedback.
First question.. Do I need to save it to my device first or just use it straight from github because from 'You can start using your notebook right now' suggests I can fill in details on the form in front of me i.e https://noteself.github.io/online/
1a. What's a couchdb and where can I get one? (I know from your comments here that cloudant is the place to go)
2. Cloudant is a whole can of worms for a non techie (I think I've set up a db but I'm not sure) . Perhaps a little more hand holding needed.
3. What is the couchdb url? The couchdb tiddler provides a little more clarity.
4. Remote database name.
Is this just the name of the database I think I've created on cloudant or does it need a url?
I've set up a cloudant account and created a db called'noteself'.
I've filled in the fields. Pressed the button and get;
Syncer-browser - 22:47:21 4 1 2017
XMLHttpRequest error code: 0And that's as far as I've got...
Thanks Daniel. I saw your initial NoteSelf press release :-) the other night.
I tried it mobile and wasn't truly understanding everything you were trying to achieve.
Initially I thought it was all about the launch icon on the device making more more like a native app. Cool, but wasn't enough to keep me that interested.
Then I read a little more in some other posts here and see you are interested in solving the mobile user experience. Again, not a huge concern to me currently BUT something I am definitely interested in.
This also led to some more research as to what this couchDB reference was. Seeing some more posts including Steve had me checking the difference (and now understanding relationship) between pouchDB and couchDB. Now I'm really interested.
Of course much of this is covered here. https://noteself.github.io/. Sometimes it's just information overload
- although I think there are some things that could be made clearer off the top.
Long story short, I get it - I think. NoteSelf uses a local in browser NoSQL database called pouchDB that supports 2 way replication with couchDB.
Like Steve I setup a Cloudant couchDB. Pretty simple.
Steve, two things, your couchDB URL is in the URL of your DB admin page. It is also visible in Account, Virtual Hosts.It is the name you could optionally replace with your own host name. eg: c4e83ce0-e302-42a2-8d3d-5cd3a8ae59e2-bluemix.cloudant.com.Obviously I modified above, but hopefully you will recognize that.
With respect to your error check the CORS tab on the same account screen. While I don't want to leave all domains (*) as currently selected, I am not sure how to code for a file hosted browser session.
With those to things I got NoteSelf replicating as advertised. Very cool.
I'm certainly wanting to explore the security aspect a little more. I gather that the GUID URL is one form of security and anyone accessing that URL has read/write access. I hope you can add a little more security in that you appear to be able to set the permissions on the database and then generate API keys. I'm not sure how/where you embed this in NoteSelf, assuming you do.
P.S. Exploring this as an alternative to my current node.js hosted on Google Drive approach that isn't proven sound in any way.
No version control and not multi-user, that that NoteSelf is either me thinks.
Ste
Thanks Daniel. I saw your initial NoteSelf press release :-) the other night.Hello Greg. Do you mean this thread ?
I tried it mobile and wasn't truly understanding everything you were trying to achieve.Do you mean this notification or the whole Noteself page?
Initially I thought it was all about the launch icon on the device making more more like a native app. Cool, but wasn't enough to keep me that interested.Actually is more than just an icon. Is the ability to use NoteSelf which is a web application even without any internet connection. Try to put your phone on airplane mode and open NoteSelf (no matter if you do from the browser or the desktop shortcut), it should work.
Then I read a little more in some other posts here and see you are interested in solving the mobile user experience. Again, not a huge concern to me currently BUT something I am definitely interested in.If you have to look for other posts to fully understand what I'm trying to achieve, then I'm doing something wrong in my announcements. This particular thread is focused on mobile experience, but the main NoteSelf page should be clear about what is the objective of the tool.
This also led to some more research as to what this couchDB reference was. Seeing some more posts including Steve had me checking the difference (and now understanding relationship) between pouchDB and couchDB. Now I'm really interested.Glad you figured it out. It is not obvious, it took me some time at a first glance.
Of course much of this is covered here. https://noteself.github.io/. Sometimes it's just information overloadI agree. I am open to any improvement you could suggest.- although I think there are some things that could be made clearer off the top.Could you point me to some examples?
Long story short, I get it - I think. NoteSelf uses a local in browser NoSQL database called pouchDB that supports 2 way replication with couchDB.Perfect easy explanation.Like Steve I setup a Cloudant couchDB. Pretty simple.Glad to hear that it was simple.Steve, two things, your couchDB URL is in the URL of your DB admin page. It is also visible in Account, Virtual Hosts.It is the name you could optionally replace with your own host name. eg: c4e83ce0-e302-42a2-8d3d-5cd3a8ae59e2-bluemix.cloudant.com.Obviously I modified above, but hopefully you will recognize that.You don't need such complex url. If you are using cloudant it is as easy as https://yourusername.cloudant.com
With respect to your error check the CORS tab on the same account screen. While I don't want to leave all domains (*) as currently selected, I am not sure how to code for a file hosted browser session.Could you try to set the CORS to https://noteself.github.io/online domain? That will restrict CORS to the noteself online version. You are not forced to download the html file, I want to enforce that you can just use the online version, but if you want to do so, you have to set the domains to *
With those to things I got NoteSelf replicating as advertised. Very cool.Mmm, it should be an easier process, as I said, I'm going to record a 2-min video.I'm certainly wanting to explore the security aspect a little more. I gather that the GUID URL is one form of security and anyone accessing that URL has read/write access. I hope you can add a little more security in that you appear to be able to set the permissions on the database and then generate API keys. I'm not sure how/where you embed this in NoteSelf, assuming you do.I don't understand your concerns clearly. If you use the online version of NoteSelf then you are connecting to an https site that communicates to an https database. Everything secured by the https protocol. To be able to write/read to your database, you need to provide your cloudant credentials, which are your username and password.
P.S. Exploring this as an alternative to my current node.js hosted on Google Drive approach that isn't proven sound in any way.Sorry, what do you mean by "proven sound"?
No version control and not multi-user, that that NoteSelf is either me thinks.Well, NoteSelf does not currently have the required facilities, but it should be possible to use it with multiple users.
Hi Danielo,It's a very interesting piece of TiddlyWiki sync technology.Some questions / remarks:
- I think it is not necessarily clear to everyone, that they can just take your published version
download it and put it somewhere else and it would still do the thing
and if I do use the "online version" where is my couchDB configuration stored? Where is my password stored? At github?I don't even know where it is stored now with my local version BTW. I'm thinking a cookie
t is clearer on the home page as mentioned. However, I am still confused about the references to the online/offline version vs. the offline capabilities - which I think both the offline and online "version" share. Right? When you describe the offline or online versions you are talking about whether you download a local copy of the html file to your local file versus running it from github. In once sense you are describing the real benefits of offline capabilities, but then describing advantages of the online version. It is confusing.
If I am correct, you may want go a little further to bring clarity to when you are talking about how/where the NoteSelf application is delivered vs.how it can be used when offline.
If I were to simply navigate to noteself.github.io/online and start using NoteSelf, confuring my couchDB, how would it be available when I am offline? How would I take advantage of the always up-to-date feature (also subject to the lack of control disadvantage of automatic updates) if I am offline/disconnected? How would it even run? Is this a function of the add to home screen action? Does mobile browsers cache the html/application and update when connection established again?
It is mainly the confusion around the capability/ability to work offline and the offline/online application location in terms of clarity. However, in terms of benefits/capabilities that are attractive to me, I would highlight the ability to have NoteSelf automatically synchronize data stored locally in the internal pouchDB database (whether online or offline) with an http accessible couchDB database (when accessible) that can be hosted in a variety of manners including cloud, and in turn with numerous NoteSelf instances sharing the same couchDB database.
If above is accurate - which i think it is. Too many words though. Could be turned into a bullet list.
I am now getting this subject to above. I am interested in this, and just want to understand how that method works offline.
It also has me feeling like I am configuring your hosted application with my couchDB connection string and database name. I'm not overly concerned, but it doesn't feel right without understanding.
I actually don't understand where my password is being stored and using the online version I would be suspect of it being visible to you - not that I am worried about you. :-)
NoteSelf does appear to have version control, no?
If I configure users in my couchDB instance and connect different NoteSelf instances to the same couchDB but using different users, might that allow multi-user?
Didn't I even see somewhere to indicate the user to tag tiddlers with? I thought I did, but querying the couchDB test tiddlers didn't appear to have any such data element available.
I didn't have to enter any payment information. At some point do I have to pay for cloudant.com services?
Hi Danielo,It's a very interesting piece of TiddlyWiki sync technology.
Some questions / remarks:
- I think it is not necessarily clear to everyone, that they can just take your published version
download it and put it somewhere else and it would still do the thing
- in other words, that there is no dependency to noteself.github.io/online whatsoever
- so, there are no passwords stored "there" ...it's all in the browsers cache or localStorage
- perhaps add to the FAQ "Where is my password stored?"
- your github page is simply just a starting point you could even use productively
- this is admittedly a bit confusing
- in other words, a user can ad-hoc hook their couchDB,
pull the tiddlers into your site and work with it
- this is where it differs from TiddlySpot... you could simply push any tiddlywiki up there,
but at some point you want to start working off of that url
- with Noteself, you can pull your couchDB stored tiddles into any noteself anywhere,
one by one, revisions and all
- however, what if I wanted my own flavours (themes, plugins, etc...)?
- or even an entirely pre-baked version that looks totally different?
- perhaps you can make it slightly more clear, that noteself is but an application layer
that can pull and push a batch of tiddlers, not an entire wiki
- however, that brings me to a question
- What if I downloaded your version, "made it mine", different styles, plugins, etc...
upload my "modified noteself", incl. its system tiddlers somewhere else
and then started using it... which tiddlers would get synced to couchDB and why?
- Somewhat in a similar line of thought, how does one upgrade (a) noteself?
- What prevents you from publishing Noteself as a syncer plugin?
- I think that would make its nature much clearer,
as but one, albeit exemplary, of a potentially big number of sync modules
- What I would find highly interesting was the capability
to sync multiple noteself "tiddler collections" in the same wiki
- some from that couchDB and / or table, some from another (e.g. a template)
- besides versions, this would clearly be a capability that TiddlySpot cannot deliver
- as for revisions, there are two things
- the icon could more gracefully look like a core thing, right now I find it a bit imposing
- the actual revision handling feels very confusing to me
- tbh., I have no clue how to get back to an earlier revision
- what's most confusing though, I don't see a date for revisions anywhere, just cryptic numbers...
that's not very usefull to figuring out a past version to revert to
- What is the meaning of those tabs?
I like noteself very much. Now I can sync tiddlers between my PC and Andriod phone.The only thing left unsolved is I still cannot access https://noteself.github.io/online on my ipad. I have tried several browsers: safri, chrome, and firefox. All of them kept loading and showed nothing.
Dear Danielo,so far so good - I succeeded establishing sync with cloudant DB.
Another issue - how to embed your plugin into Node.js version of TW5? The reason is that I need version control (as in your project https://github.com/danielo515/TW5-auto-publish2gh-pages). For this Node.js is much more convenient.
I didn't tried the mentioned plugins,but you should be able to install and use them without problems on the online version of noteself.
I am collecting a list of plugins to include in the official plugin library for noteself. The ones you mention are good ones ,and I will try to add them if the author's agree.
In any case,the regular way of installing plugins should work.
Regards
Danielo,Congrats, very nice concept, chapeaux!
I made a little modification to the transclude tiddler to view the source instead of the wikified version of the revisions.