This is something I wanted the community to have for a while, and finally took a few days to hack it out with Avash. Hopefully it can take some pressure off MaidSafe to have others working on this area. Also it lets us all manage our folders, files, IDs and URLs completely online (only need to download the SAFE Browser since Launcher / Authenticator will soon be all built in). So it’s all-in-one
We all need to work together to make SAFE happen!! (Tutorial vid:)
Nice work! Will be so cool if we have an all in 1 solution. Just start a browser and you’re good to go, love it . I guess web-apps like this are great for sharing files as well.
Mark just wanted to push it again, but have you ever got polyfill working yet? Development could have been much faster if I didn’t have to delete and re-upload to SAFE for every… single… code change
Include it in the head section of your HTML file like any other script. You will then have access to the safeAuth and other safe-js objects.
This only works with localhost, so you will need to:
run a web server on your machine that serves up the directory containing your HTML (I use ws -d ~/myapp on Linux, but there are lots if ways to run a web server of course).
run Beaker from source so you get the development tools menu. So clone and build beaker, and to get the menu to show, run it with NODE_ENV=debug npm run start
in beaker, on the ‘BeakerDev’ menu to select ‘Toggle WebSecurity for new tabs’
open a new tab and use it to visit the localhost app - note that it defaults to https which won’t work, so you must type the full URL including the http://
Let me know if you get stuck. Catch me on riot.im/Slack in a bit if you like.
Just went through the walk through. Very cool. This takes a touch of getting used to, in terms of how it relates to what we’re used to, but this sort of thing puts some incredibly powerful tools in the hands of literally anyone.
The easy creation and access to different IDs, making and managing files, sites, etc. Wow!
With this, it’s easier to appreciate the sort of power SAFE will deliver to all users.
Definitely! Things will be very different once we actually have to start paying for our uploads / IDs etc so we should enjoy everything being free while we can!!