I have a simple remoteStorage.js demo App live in the alpha 1 network and would like someone - hopefully a few someones - to try it out before I announce to everyone. So if you don’t mind please:
- run the alpha 1 safe_launcher (v0.8.0)
- login or create an account
- visit http://myfd.safenet
Play!
It is pretty self explanatory, but I won’t say anything as you are more likely to break it just trying it blind - but if I’m wrong and it is not obvious ask and I’ll explain. It might be broken of course
And when you have it doing stuff, you can check that it’s actually talking to SAFEnetwork by opening the browser debug console where you will see lots of debug messages, including the POST/PUT/GET operations to the SAFE NFS API. Once authorised it synchronises every ten seconds so you should definitely see activity here when it does this.
If it isn’t synchronising: make sure you’ve managed to get it to connect to SAFEnetwork, and told SAFE Launcher to “Allow” it access.
App Behaviour
This app users local storage to store your list of favourite drinks, but synchronises this with your SAFEnetwork storage. This means it works online and offline, but that if you edit your list in one computer, then access it from a different computer, your list should remain synchronised across them all (once you connect to SAFEnetwork and authorise the app of course).
This functionality all comes for free with the remoteStorage.js library, all I’ve done is extend it to talk to the SAFE NFS API and then got one of their demonstration apps working with it, and hacked around some CORS/CSP issues.
It’s great fun watching it synchronise in the console, but for a regular user it just happens! Well I find it fun anyway
Results & Problems
I have only tried this myself using Firefox on Linux so if you check it out please let me know the results you had, including which browser and operating system you tried. Also, whether you tried synchronising across multiple PCs.
Note that the app will look like it is working even if you don’t connect to SAFE, because it is able to work offline, so to be sure it is storing your drinks on SAFEnetwork you either need to try using it from two machines, and check it synchronises from one to the other, or open the browser console and see that it is calling the SAFE NFS API without errors (e.g. periodic bursts of GET response 200). Please check this one way or the other!
Remember, this is on the alpha 1 network so you must use safe_launcher v0.8.0 (not 0.8.1 which is testnet 8).