using remotestorage in browser extensions
Closed this issue · 3 comments
I wrote a small chrom[e|ium] extension to sync bookmarks from the
browser into remotestorage.
You can try it out by cloning the repository and then using "Load unpacked
extension" under chrome://extensions
Code is here
Have fun!
This is great. Actually, since were on the subject of browser plugins, I wanted to run an idea by you that I've been mulling on for the past month.
The cube, would be a browser extension on it's own. You'd set up authentication there once, and then any remoteStorage.js app that you load can take advantage of your already authenticated session, if available.
There are some big technical question marks, and possible security concerns of course, but what do people think about this idea in general?
Personally I really like the idea of setting up your auth once, and then it all just being taken care of for you.
There's also the benefit that some minimal apps, like a browser plugin for example, wouldn't need to display the cube inline (which can greatly hinder the design for situations where you want a very small and minimal interface).
Like, a bookmarking app, similar xmarks or even 'pocket read now'. When you click the extension icon you want it to just do what it needs to do and be done. If there is a popup display you want it to be small, and too the point, not wasting space with things that aren't necessary.
Thoughts?
Good idea. Chromium extensions can pass messages between each other, so there could be an extension that does all the connecting, and every other extension can then send their data to that extension to sync it with remotestorage at will.
I also don't like the way that the cube icon in the toolbar isn't doing anything, but just opening a popup with the real cube :)
this is great! continuing discussion on its repo:
https://github.com/RemoteStorage/remotestorage-bookmarks-chrome/issues/