Giter VIP home page Giter VIP logo

Comments (10)

gmarty avatar gmarty commented on August 17, 2024 1

What do you mean by 'default build'? Do you want to package the Cordova apps and push them to gh-pages on deploy?

I understand the shortcomings of the current technological state, but I'd really love to see Mozilla pushing new standards to address the lack of API. Are we considering the in-browser mdns support? Are we adding support for discovering the box over flyweb in the app?

I think the following workflow would make sense:

  1. Recommend the static frontend app. Can't use it?
  2. Recommend using Fennec (with an add-on until Flyweb lands on master). Can't use it?
  3. Recommend the native app.

Also, I'd like to challenge the use of Cordova. The problem with native apps is distribution and updates. I can't see how we can improve distribution. But I think we can get a better update experience by developing our own native app around a webview (potentially using React Native) to finely control updates. This app could regularly download and install updates from the web (via signed packages). We wouldn't have to rely on a marketplace to push hot fixes and minor changes (I think big changes are disallowed by said marketplaces' ToS).

I don't think switching to Cordova should happen today. In its current state, that would mean we're happy to accept the flawed current technological consensus and embrace silos without promoting any alternative.

from app.

Yoric avatar Yoric commented on August 17, 2024

So, which Foxboxes won't be supported, exactly?

from app.

michielbdejong avatar michielbdejong commented on August 17, 2024

Ones that (for privacy and resilience reasons) don't rely on fxbox/dns-server, fxbox/registration_server, and LetsEncrypt. They will announce their presence using just mDNS on the local network (nothing gets published over the public internet), and use a self-signed cert for https://foxbox-1.local, which has not been signed by any CA.

from app.

michielbdejong avatar michielbdejong commented on August 17, 2024

OK, I like your thinking - let's try harder to move the web forward! I'll see if I can create a Firefox Desktop build that supports mDNS+TOFU discovery, so then we rely neither on centralized services, nor on Cordova. Getting it standardized in other browsers will be hard, but we can at least prototype the future, and demo it. :)

from app.

michielbdejong avatar michielbdejong commented on August 17, 2024

Actually, I just realized that apart from requiring people to use a specific Fennec or FxDesktop version to open our "web" app, it will not work on iOS (afaik Firefox-iOS will not have FlyWeb support, right?).

So to recap, the choice for how box-client discovery should (by default) work, is between:

  • "via centralized hosted services"
  • "using future web tech"
  • "using native apps"

Personally, I would prefer using native apps as the default, with "via centralized hosted services" as a second option, but I realize other people within the project have a different stance on this. I feel we should probably discuss this with product before taking a decision?

from app.

michielbdejong avatar michielbdejong commented on August 17, 2024

Maybe we can use https://github.com/mozilla/positron instead of Cordova. :) Although I think it does not support Android and iOS as target platforms (yet?).

from app.

fabricedesre avatar fabricedesre commented on August 17, 2024

I agree with what gmarty wrote. I just want to add 2 things:

  • User experience is extremely important. The best one is provided out of the box with the assistance of the cloud part, so that is the default: no app to download and install, just go to an easy url. I said that I was fine with adding a --no-cloud option, which clearly (to me) means that "no cloud" is not the default. However I dispute the argument that this makes us not respect the principle 4 of the manifesto.
  • The discovery/secure communication you want here looks similar to what Flyweb needs. There is no point reinventing something custom for Link. Where are they on the security side?

from app.

michielbdejong avatar michielbdejong commented on August 17, 2024

@fabricedesre I dispute your statement that you dispute it. :) "adding an option" for not leaking user data to the cloud makes that user's privacy optional, in every sense of the word "optional", end of story.

It's fine if you / Connected Devices management decide that Mozilla's mission is less important than user experience in making this product decision, but let's at least be open and honest about it.

Also, I think you'll agree that the user experience for the remaining users is worse once we decide to pull the plug on our centralized hosted services, and everybody's Boxes instantly stop working. It could be 10 or 20 or 30 years until this happens, but I think we can be quite certain it will eventually happen, right?

The problem with relying on Flyweb now is that it's not supported yet by browsers other than Firefox, nor (IIUC) by any browser on iOS, so that's not a very good user experience either.

from app.

fabricedesre avatar fabricedesre commented on August 17, 2024

I don't believe that what we send to the cloud is recklessly compromising user's privacy. You make that look very black & white while it's not, and that's borderline FUD at this point. You leak much more by just doing dns requests and sending emails.

If a user wants to not use the cloud, fine. But I won't compromise the experience of other users (very likely the majority) for that segment.

All of our stack is open-source and self hostable. That's the best long term guarantee we can offer. Users can choose to use the cloud or not, and when they do they can chose where they host the cloud portion. Isn't that good enough?

from app.

michielbdejong avatar michielbdejong commented on August 17, 2024

@gmarty wrote:

I don't think switching to Cordova should happen today. In its current state, that would mean we're happy to accept the flawed current technological consensus and embrace silos without promoting any alternative.

OK, I'll move the Cordova code to my personal github account, so this repo can be just the Mozilla-hosted app.

from app.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.