News for hackers. Stuff that matters.
Re:Show HN: GUN Starter App Boilerplate – An Easy Open Sourc... by philippnagel on Friday November 11, 2016 @03:12AM (#12928871)
I'm currently building a P2P web app/social network that ideally should run completely in the browser and haven't looked at Gun before.

Can Gun be used on top of IndexedDB?

You mentioned "Peer-to-Peer electron/react-native fully encrypted social networks". Can you point me to any repos?

Thanks!

Re:Show HN: GUN Starter App Boilerplate – An Easy Open Sourc... by marknadal on Friday November 11, 2016 @03:46AM (#12929011)
Awesome idea! What are you building it with, then?

Yes, IndexedDB has a Level down adapter which should work with GUN's Level up adapter: https://github.com/PsychoLlama/gun-level (or however the naming works). I don't actually know how to do this though, so ping Jesse (psychollama) if you have any problems.

The best repo is a barebones P2P encrypted auth example using polymer (not electron or react native): https://github.com/swifty/gun-p2p-auth , git clone it, then open ./demo/standalone.html and try the login/register forms after you run a gun server (npm install gun, cd ./node_modules/gun , node examples/http.js 8081).

Let me know if this worked. If you got stuck on anything absolutely let me know so I can help. :)

Re:Show HN: GUN Starter App Boilerplate – An Easy Open Sourc... by philippnagel on Sunday November 13, 2016 @02:58PM (#12945290)
Great, thanks!

Currently building the app on top of http://ssbc.github.io/scuttlebot/.