Re: [tw] Re: remoteStorage syncadaptor plugin

2018-03-31 Thread Giovanni P
My server is having a hard time.
Sorry, I'll put it back online.

On Sat, Mar 31, 2018 at 11:12 AM, David Gifford  wrote:

> Hi Giovanni
>
> Did this move? I am getting errors when I try to open the links. I want to
> add it to the TiddlyWiki tool map
> 
>
> On Wednesday, February 21, 2018 at 2:08:19 PM UTC-6, Giovanni Parra wrote:
>>
>> I've just created this remoteStorage plugin
>> 
>> that autosaves individual tiddlers to a remoteStorage server
>>  and would like to get some feedback and
>> perhaps some people using it.
>>
>> I'm just starting to use TiddlyWiki myself (I wrote the plugin before
>> starting to use it), so please forgive me if I've misunderstood anything
>> about the principles that guide this community.
>>
>> The basic idea is that your tiddlers will be saved on
>> /public/tiddlers//, but you can make it non-public (so
>> /tiddlers//) and change  to anything in the
>> config tiddler. By default it is "main".
>>
>> Along with the plugin, I've made available a server on
>> https://tiddly.alhur.es/ that will serve you with an empty TiddlyWiki
>> with just that plugin installed. After you connect your remoteStorage
>> account you'll get your tiddlers downloaded automatically and on-demand
>> from your remoteStorage and will be able to browse and edit them normally.
>>
>> If your remoteStorage account is mys...@5apps.com and your tiddlers are
>> saved under /public/tiddlers/something/ you can also point people to
>> https://tiddly.alhur.es/mys...@5apps.com/something/ and they'll be
>> browsing *your* wiki in no time.
>>
>> See, for example, https://tiddly.alhur.es/fiat...@5apps.com/main/#Hello
>>
>> For more information (probably nothing that I haven't written here), see the
>> GitHub repository .
>>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "TiddlyWiki" group.
> To unsubscribe from this topic, visit https://groups.google.com/d/
> topic/tiddlywiki/e-sUhUYBUOk/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> tiddlywiki+unsubscr...@googlegroups.com.
> To post to this group, send email to tiddlywiki@googlegroups.com.
> Visit this group at https://groups.google.com/group/tiddlywiki.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/tiddlywiki/a43c2c1e-4f46-4c53-bc36-39507e543611%40googlegroups.com
> 
> .
>
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/CAEjd%3DrrQ%3Dz9HaEjQzD7juabhZS33WWxVw%3DTUrC72WYVQ3po6ww%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] remoteStorage syncadaptor plugin

2018-02-23 Thread Giovanni P
Hello, Tony.

Before trying to answer you, let me just clarify that I'm not the developer
of remoteStorage or responsible for the protocol.

I don't know if you can host it on cPanel because I don't understand
cPanel, does it have to be packaged as a "cPanel" app to be hosted there?
If not, then I believe it is possible to host it, as there are many
remoteStorage server implementations 
that just store the data as files in the filesystem. It's easy to add
support for storing data on databases also, I believe, if it is not done
yet.

I've seen Noteself mentioned on the CouchDB users mailing list. It was a
great fit. It has inspired me to create the remoteStorage plugin.
remoteStorage also saves data locally -- on an IndexedDB in the browser --
before the user connects a remoteStorage server, so it looks very like
Pouch/CouchDB.

About multiple users, it is not supported on remoteStorage, as it is meant
(I believe) for personal usage of personal webapps -- unless, of course,
you do the very old trick of sharing your account password with colleagues.
It's also possible to share access tokens to individual global-namespaces
(in this case, "/tiddlers"). If there's demand for it, I could implement a
way to bypass the widget login with a token-based login on the TiddlyWiki
plugin.

On Thu, Feb 22, 2018 at 7:52 PM, TonyM  wrote:

> Giovanni,
>
> I am not immediatly in a position to test this but the following questions
> arrise;
> Can I host remote storage on cpanel accounts?
> How will it deal with multiple users both view and edit? Similtaniously or
> serialy.
>
> Have you seen noteself?, It can also use a pouchdb inside the browser
> session so changes can be saved locally to the browser even before the
> equivalent of remoteStorage (couchdb) is connected to. This method may work
> well with your solution.
>
> I hope your solution fits well with tiddlywiki because we still have some
> gaps in hosted tiddlwikis.
>
> Thanks for your contribution.
>
> Regards
> Tony
>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "TiddlyWiki" group.
> To unsubscribe from this topic, visit https://groups.google.com/d/
> topic/tiddlywiki/e-sUhUYBUOk/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> tiddlywiki+unsubscr...@googlegroups.com.
> To post to this group, send email to tiddlywiki@googlegroups.com.
> Visit this group at https://groups.google.com/group/tiddlywiki.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/tiddlywiki/ad8d3260-9fde-49e6-a0e8-ad0c8af7044a%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/CAEjd%3Drq23B4bq3sc3wraUx4Vuu6aL33oUj%2B-4mf3SigWdaX%3DHA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Re: remoteStorage syncadaptor plugin

2018-02-22 Thread Giovanni P
Yeah, Tristan. I'm also the owner of a very old 5apps account, I always
liked remoteStorage, but had never seem any useful apps that supported it.
I wish I could say nowadays the situation is different, but still there
aren't many useful apps on https://wiki.remotestorage.io/Apps (besides the
3 micro apps I've published recently, which are probably useful to me only).

Incredibly enough, there are lots of people using the protocol and working
on the client 10 years after, and everything works quite nicely. I guess
it's just waiting for more cases that match very well with the idea, like
TiddlyWiki, to discover it.

Please let me know what you think of the plugin and whatever.

On Thu, Feb 22, 2018 at 6:25 PM, Giovanni P <fiat...@gmail.com> wrote:

> BTC: are you talking about (a) different storage providers/accounts or (b)
> different "folders" within the same storage provider?
>
> If (b), yes it could be done quite easily. Currently you can alternate
> between folders by changing $:/plugin/fiatjaf/remoteStorage/namespace (or
> something like that) in the config tiddler. There could be a custom
> configuration that used prefixes (or perhaps a custom function?) to
> determine the folder. I don't know what would be the best UI to implement
> this, but sure it is possible.
>
> If (a), then yes, but implementing it would be cumbersome since the
> remoteStorage JS client currently assumes you only have one remoteStorage
> server. There's an issue open to address this behavior there:
> https://github.com/remotestorage/remotestorage.js/issues/991, but this
> could be implemented with a different client, or just using raw HTTP
> requests to the remoteStorage server.
>
>
> On Wed, Feb 21, 2018 at 6:42 PM, BurningTreeC <
> hypnotizedkanga...@gmail.com> wrote:
>
>> Thank you, Giovanni!
>>
>> Now it's much more clear to me - and it confirms that it does what I
>> wished it would!
>>
>> Could it also handle more storages than one? let's say
>> $:/tiddlers/like/this -> storage1, $:/tiddlers/like/that -> storage2 ?
>> It's just an idea, I think it's already very cool what you've made!
>>
>> BTC
>>
>> --
>> You received this message because you are subscribed to a topic in the
>> Google Groups "TiddlyWiki" group.
>> To unsubscribe from this topic, visit https://groups.google.com/d/to
>> pic/tiddlywiki/e-sUhUYBUOk/unsubscribe.
>> To unsubscribe from this group and all its topics, send an email to
>> tiddlywiki+unsubscr...@googlegroups.com.
>> To post to this group, send email to tiddlywiki@googlegroups.com.
>> Visit this group at https://groups.google.com/group/tiddlywiki.
>> To view this discussion on the web visit https://groups.google.com/d/ms
>> gid/tiddlywiki/ddfc480d-7fc0-42d8-aa04-ee8f45b6019a%40googlegroups.com
>> <https://groups.google.com/d/msgid/tiddlywiki/ddfc480d-7fc0-42d8-aa04-ee8f45b6019a%40googlegroups.com?utm_medium=email_source=footer>
>> .
>>
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/CAEjd%3DrqjRR8T7%2B0csDxRTEmPAC1e%2BVgWy1AhroaMC9PRjDvkaw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Re: remoteStorage syncadaptor plugin

2018-02-22 Thread Giovanni P
BTC: are you talking about (a) different storage providers/accounts or (b)
different "folders" within the same storage provider?

If (b), yes it could be done quite easily. Currently you can alternate
between folders by changing $:/plugin/fiatjaf/remoteStorage/namespace (or
something like that) in the config tiddler. There could be a custom
configuration that used prefixes (or perhaps a custom function?) to
determine the folder. I don't know what would be the best UI to implement
this, but sure it is possible.

If (a), then yes, but implementing it would be cumbersome since the
remoteStorage JS client currently assumes you only have one remoteStorage
server. There's an issue open to address this behavior there:
https://github.com/remotestorage/remotestorage.js/issues/991, but this
could be implemented with a different client, or just using raw HTTP
requests to the remoteStorage server.


On Wed, Feb 21, 2018 at 6:42 PM, BurningTreeC 
wrote:

> Thank you, Giovanni!
>
> Now it's much more clear to me - and it confirms that it does what I
> wished it would!
>
> Could it also handle more storages than one? let's say
> $:/tiddlers/like/this -> storage1, $:/tiddlers/like/that -> storage2 ?
> It's just an idea, I think it's already very cool what you've made!
>
> BTC
>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "TiddlyWiki" group.
> To unsubscribe from this topic, visit https://groups.google.com/d/
> topic/tiddlywiki/e-sUhUYBUOk/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> tiddlywiki+unsubscr...@googlegroups.com.
> To post to this group, send email to tiddlywiki@googlegroups.com.
> Visit this group at https://groups.google.com/group/tiddlywiki.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/tiddlywiki/ddfc480d-7fc0-42d8-aa04-ee8f45b6019a%40googlegroups.com
> 
> .
>
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/CAEjd%3Drof5nq1qPwpA74UT3t%2BwUiKD3Cra9Dn27aAXOSR12-JXg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Re: remoteStorage syncadaptor plugin

2018-02-21 Thread Giovanni P
The idea behind remoteStorage is to decouple the app provider from the
storage provider.

In a normal app today, Google Sheets, for example, Google provides both the
app (the actual spreadsheet app) and the storage (the content you type into
the spreadsheet is stored on Google servers), the app is thus hopelessly
tangled with the store.

remoteStorage is a protocol (really just some data formats and endpoints)
that storage providers and app providers can adhere to so the app becomes
untangled from the store, enalbing the end-users to use the same app with
different storage providers and/or pass the stored data from one app to a
different app that will use it somewhat differently.

How close this was to an explanation a non-developer can understand?
Let me try again with an example:

In this case the APP is TiddlyWiki + remoteStorage plugin.
The DATA is the collection of tiddlers you produce.
The STORES are any server that talks the remoteStorage protocol, 5apps.com,
CozyCloud, IndieHosters or a server you can run yourself.

Separatedly, there's my https://tiddly.alhur.es//
server. We could say it is a different APP that uses the same DATA,
fetching it from the one of STORES the user wants.

Later, someone can write a different APP that will use the same DATA, for
example, an app that will download all the tiddlers from a remoteStorage
namespace and produce a single TiddlyWiki HTML file, or a bunch of HTML
files in static fashion like https://tiddlywiki.com/static/TiddlyWiki, or
something else entirely.

(TiddlyWiki already supports multiple types of storage, but since they
aren't remoteStorage-compliant we aren't concerned with them right now.)

On Wed, Feb 21, 2018 at 5:20 PM, BurningTreeC 
wrote:

> There you go with your first star on your GitHub repo! :)
>
> I think I haven't understood all the possibilities your plugin adds, but
> it sounds and looks very cool!
>
> Would you mind to explain in non-developer words a little bit of what you
> can do with remoteStorage?
>
> all the best,
>
> BTC
>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "TiddlyWiki" group.
> To unsubscribe from this topic, visit https://groups.google.com/d/
> topic/tiddlywiki/e-sUhUYBUOk/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> tiddlywiki+unsubscr...@googlegroups.com.
> To post to this group, send email to tiddlywiki@googlegroups.com.
> Visit this group at https://groups.google.com/group/tiddlywiki.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/tiddlywiki/9b772a39-e201-4857-bf61-649786a50b55%40googlegroups.com
> 
> .
>
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/CAEjd%3DrouFY1dHd-%2BHTAPfWofQ0vkgJrPQdL3xagypQ%2BrUfrDcw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.