Configure NoteSelf sync in 2 minutes

371 views
Skip to first unread message

Danielo Rodríguez

unread,
Jan 5, 2017, 6:34:43 AM1/5/17
to TiddlyWiki

This is a small tutorial about how to configure NoteSelf for multi-device synchronization. 
This video arises from the feedback of the users that are trying NoteSelf. Most of them find the usage of cloudant and the whole configuration thing confusing.

It starts from scratch. We see how to create and configure a Cloudant account and how to use it with an brand new NoteSelf notebook.

Even though the whole video is longer than 2 minutes, the configuration process takes more or less that.


I plan to add audio to the video to make the concepts clearer and the whole process easier, but as it is now it's better than nothing I think.

<iframe width="560" height="315" src="https://www.youtube.com/embed/Oc5lNND8dZE" frameborder="0" allowfullscreen></iframe>


https://youtu.be/Oc5lNND8dZE

Hope this helps more people getting started without frustration.

Dmitry Sokolov

unread,
Jan 7, 2017, 6:28:04 PM1/7/17
to TiddlyWiki
Hi Danielo,
I was not able to load NoteSelf on TiddlySpot too. Is it because I had no Cloudant account, or something else?
Cheers,
Dmitry

Danielo Rodríguez

unread,
Jan 9, 2017, 11:29:13 AM1/9/17
to TiddlyWiki
Hello Dmitry,

NoteSelf is not intended to be executed from TiddlySpot. It is a separate product.
Have you tried to use it like I explained (well, audio is missing) on the video ? Just using it directly from https://noteself.github.io/online/ ?

sini-Kit

unread,
Jan 12, 2017, 12:52:20 PM1/12/17
to TiddlyWiki
 https://cloudant.com/product/pricing/ it is not free? Do you know free  DBaaS for small projects?

понедельник, 9 января 2017 г., 19:29:13 UTC+3 пользователь Danielo Rodríguez написал:

Danielo Rodríguez

unread,
Jan 12, 2017, 5:47:07 PM1/12/17
to TiddlyWiki
Dear sini-Kit,

It is free as long as your bill is under $50,which is very uncommon. My most recent bills were under 1$,with some big wikis. So, unless you plan to have very high traffic it should have no cost.

sini-Kit

unread,
Jan 13, 2017, 3:07:58 AM1/13/17
to tiddl...@googlegroups.com
Is it possible to load from tw5 to cloudant external images?


пятница, 13 января 2017 г., 1:47:07 UTC+3 пользователь Danielo Rodríguez написал:

Danielo Rodríguez

unread,
Jan 13, 2017, 3:23:24 AM1/13/17
to TiddlyWiki
What do you mean with external? Attached by the user or from an external URL? On Noteself anything that TW supports should be supported because it is encoded as base 64

sini-Kit

unread,
Jan 13, 2017, 7:22:34 AM1/13/17
to TiddlyWiki
I don't like pictures encoded as base 64. I like when I can put image to folder, and write (get) path to this image. In TW5 it has name _canonical_uri something like this https://design4shop.ru/heeg.html#luhta_img9

I think that idea with DBaaS will make TW5 the best CMS for small sites. But it will be great to add files upload to server system, not to encode them to base 64. 

пятница, 13 января 2017 г., 11:23:24 UTC+3 пользователь Danielo Rodríguez написал:

sini-Kit

unread,
Jan 15, 2017, 1:45:53 AM1/15/17
to TiddlyWiki
And what about security? Can somebody hack my base properties and make a great traffic to my cloudant account?

понедельник, 9 января 2017 г., 19:29:13 UTC+3 пользователь Danielo Rodríguez написал:

Danielo Rodríguez

unread,
Jan 16, 2017, 10:28:19 AM1/16/17
to TiddlyWiki
I don't like pictures encoded as base 64. I like when I can put image to folder, and write (get) path to this image. In TW5 it has name _canonical_uri something like this https://design4shop.ru/heeg.html#luhta_img9

I think that idea with DBaaS will make TW5 the best CMS for small sites. But it will be great to add files upload to server system, not to encode them to base 64. 

As far as I know, there is no database capable to do that. Databases are not good places to store binaries. What you have described is a CDN, which is far away from a database.

Danielo Rodríguez

unread,
Jan 16, 2017, 10:29:45 AM1/16/17
to TiddlyWiki
And what about security? Can somebody hack my base properties and make a great traffic to my cloudant account?

That depends on how open your cloudant is. Any server on the internet that responses to request can be queried thousands of times. That is the base of a DDOs attack. If all your resources are publicly available then yes, they can make thousands of requests to your database and you will be billed for that. 

sini-Kit

unread,
Jan 16, 2017, 11:57:52 AM1/16/17
to tiddl...@googlegroups.com
I  mean not only DDOs attack . I mean that you have static open source page , that load external base when I open it.   I can read the name of your base and modify it. You don't put any login and password in your video.
May be you have two bases for writing and its tween read-only?

понедельник, 16 января 2017 г., 18:29:45 UTC+3 пользователь Danielo Rodríguez написал:

Danielo Rodríguez

unread,
Jan 16, 2017, 1:03:39 PM1/16/17
to TiddlyWiki
 
You don't put any login and password in your video.

That is definitely a fail from my part. Partially because the video has no audio, and it should. What it is happening on the video is that NoteSelf is automatically picking the cookie on the browser, and using it for authentication. In a normal situation, if you click the login button (labeled as offline) you will be prompted for an username and password.

Thank you for pointing that confusing part of the video.

Regards

sini-Kit

unread,
Apr 7, 2017, 4:03:02 PM4/7/17
to TiddlyWiki
Hi Danielo! I want to show my Noteself to my friend in read only mode. Here is my base https://heeg.cloudant.com   name of DB is test1
is it possible to put it here  https://noteself.github.io/online/ and find my tiddlers without my cloudant password?



понедельник, 16 января 2017 г., 21:03:39 UTC+3 пользователь Danielo Rodríguez написал:

sini-Kit

unread,
Apr 9, 2017, 2:06:57 AM4/9/17
to tiddl...@googlegroups.com
I have found Unauthenticated connections  in cloudant, but your plugin don't connect to db until I put login and password on cloudant`s site.
Is it possible to make readonly variant?
____

And another  idea. It will be great to put base name and cloudant user to url  for example https://noteself.github.io/online/index.html?name=heeg&book=MyNotebook&base=test1
so It will be possible to send link to my friend so he can read my TW5




пятница, 7 апреля 2017 г., 23:03:02 UTC+3 пользователь sini-Kit написал:

Danielo Rodríguez

unread,
Apr 9, 2017, 10:30:55 AM4/9/17
to TiddlyWiki
Dear sini-Kit,

You can create read-only users on cloudant. To make my plugin sync, you need as you said an username and a password.

You should create a new user with the role _reader
However, seems that there is no easy way to do it, and I don't have time to investigate it at this moment. If you figure it yourself, don't hesitate to post it here.
I have plans to include an user interface to create users as part of NoteSelf, but it's just an idea.

Regards

sini-Kit

unread,
Apr 9, 2017, 10:38:52 AM4/9/17
to TiddlyWiki
And what about url link? Can I put read-only users username and a password +db + dburl to my link? It will be more easy the write instruction where my friend have to put all this data.

воскресенье, 9 апреля 2017 г., 17:30:55 UTC+3 пользователь Danielo Rodríguez написал:
Reply all
Reply to author
Forward
0 new messages