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

Number of Issues #49

Closed fsteff closed 6 years ago

fsteff commented 6 years ago

I tried bunsen today on my huawei p9 lite. The demo page (that game) worked great, however I stumbled over a number of issues:

rjcorwin commented 6 years ago

Hi @fsteff - Thanks for the feedback. That first issue is one I started to run into last night as well, I haven't tracked down the route of the cause but I'm starting to think it's a the gateway level. For the second issue, that's a problem where dat sites assume they will be loaded up at the root of a domain but through the gateway they are actually one level deep at http://localhost:3000/<dat uuid>/index.html so any CSS or Script tags that start with / are not going to resolve to their resources. The good news is we have big updates coming for the gateway that I think are going to fix these problems! We're adopting @RangerMauve's fork of dat-gateway.

rjcorwin commented 6 years ago

Related https://github.com/bunsenbrowser/bunsen-ui/issues/6

rjcorwin commented 6 years ago

@fsteff Check out the latest APK https://drive.google.com/file/d/1GRlzMzjitL27tyahs2qfkm8QvZneWS_z/view?usp=sharing

This update requires a reinstallation of the APK while other UI related updates get updated over Dat on restart of the App. I think we have a fix for the issue of not being able to escape from home but we still have to implement the new gateway that puts dats at the root of the domain as to not break sites that expect that.

fsteff commented 6 years ago

Yea, works on my device too. Loading each dat into its own subdomain should not be difficult. My dat gateway impl does the same. Can't wait for ranger mavue's gateway, including the dat archive api, to be used in bunsen.

RangerMauve commented 6 years ago

@rjsteinert I took yesterday off from any tech stuff, so sorry for the absence. Do you need any help setting up my gateway? I got it working properly on the lvh.me domain along with subdomains.

The gateway does redirection to the subdomains automagically, so you don't have to do anything special at the app side. Load lvh.me/{datkey} and it will automatically redirect to {base32key}.lvh.me

chrisekelley commented 6 years ago

@rjsteinert - I'm closing this issue, looks like it's resolved.

rjcorwin commented 6 years ago

@RangerMauve That's great! Let's do it. Putting questions and notes over in the Security issue https://github.com/bunsenbrowser/bunsen/issues/30