4 ms·
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
by philippnagel 10y ago
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!
- marknadal 10y agoAwesome 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 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 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. :)
- philippnagel 10y agoGreat, thanks! Currently building the app on top of http://ssbc.github.io/scuttlebot/ http://ssbc.github.io/scuttlebot/.