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

Switch frameworks for the bunsen shell? #39

Closed chrisekelley closed 6 years ago

chrisekelley commented 6 years ago

I coded bunsen's shell in Angular2. I'd like to rub off some rough edges, and since Angular is now at 5, it might make sense to upgrade it. But please chime in if it would be useful to switch to another framework. The shell doesn't have a lot going on. IMHO it would be nice to have a simpler, more hackable framework.

I'd prefer to have as small/easily hackable a framework as possible, and use Polymer3 custom elements if they would work for this.

What are folks using for their beaker apps?

chrisekelley commented 6 years ago

I've upgraded the angular code to the latest 5.x. I pared back some of the angular-specific features like dialog. For now, let's keep it as it is and focus on implementing new features - like hosting multiple dats and seeing status of network sharing. Maybe we can implement these hew features in custom webcomponents, since Angular5 supports them.

rjcorwin commented 6 years ago

We've got new digs! Default landing page, needs work...

screen shot 2018-04-13 at 12 15 39 am

Start typing a dat address and now there is a delete button. To execute on the address hit enter (same as chrome for Android).

screen shot 2018-04-13 at 12 16 13 am

There it is. Opened up. Could probably improve this, make Bunsen less in your face.

screen shot 2018-04-13 at 12 16 34 am

And here is another address...

screen shot 2018-04-13 at 12 17 36 am

Hey look! I'm entering another address and now I see I have history that I can tap on! Formatting needs work. Hard to tell one address from the other. Maybe some use of feelbetterkittty-rjsteinert.hashb....

screen shot 2018-04-13 at 12 18 04 am
chrisekelley commented 6 years ago

So: we've switched to a minimal Angular5 shell that handles intents and fetching the Bunsen UI, which is coded as a Polymer webcomponent. The Bunsen UI is a dat, so it can be updated without having to download a new APK!