bunsenbrowser / bunsen

🔥 Bunsen Browser provides easy to use offline P2P application and file distribution that is verifiable on Android devices. https://bunsenbrowser.github.io/
117 stars 7 forks source link

MVP #1

Closed rjcorwin closed 6 years ago

rjcorwin commented 7 years ago

Early demo MVP:

Original issue: https://github.com/chrisekelley/bunsen/issues/1

Architecture

The architecture we're playing around with for the proof of concept bunsen is having folks start a node server in Termux on Android which publishes an HTTP API similar to hashbase. Then the cordova app we're working on talks to that HTTP API, looks like a web browser, but has features similar to Beaker.

It would be very helpful to be compatible with the DAT Archive API.

Node DatArchive is a "nodejs API for Dat which is compatible with Beaker's DatArchive API. Useful for testing and for writing apps that work in the browser and in nodejs."

Here is a list of hashbase web API’s: https://github.com/beakerbrowser/hashbase/blob/master/docs/webapis.md

The ones I’d focus on are these:

GET /v1/archives/:archiveKey POST /v1/archives/add

Relevant links

chrisekelley commented 7 years ago

I started a Cordova plugin that uses @mafintosh's shared node lib to provide node to the Cordova application: https://github.com/bunsenbrowser/cordova-node-plugin. This plugin launches @mafintosh's node shared lib but does little else so far. Next step: copy a simple app over and launch it. Need to sort out file access in Android.

chrisekelley commented 7 years ago

Brief update: https://github.com/bunsenbrowser/cordova-node-plugin now is able to launch an express server which uses dat to fetch a dat, store it on the filesystem, and sends the bunsen Cordova app a response to view the dat's index.html rendered by express.

rjcorwin commented 7 years ago

Stashing the Gimp art file for the logo here for lack of a better place :). noun_490710_cc-bunsen.xcf.zip

chrisekelley commented 6 years ago

I think we're hit MVP now, and a little more with our peers reporting. I'm closing this issue.