brave / brave-browser

Brave browser for Android, iOS, Linux, macOS, Windows.
https://brave.com
Mozilla Public License 2.0
17k stars 2.21k forks source link

[IPFS] Add a third button: Use desktop client #16901

Open RubenKelevra opened 2 years ago

RubenKelevra commented 2 years ago

Description

Currently, there's a nice dialog for IPFS:

Screenshot from 2021-07-12 17-03-24

But this is clearly missing a button for "Connect to Desktop client".

I think there are some people who might want to run IPFS as a dedicated process, not in the browser - so it survives when you close the browser. This has also the advantage of having a system tray icon.

Reproduces how often:

Easily reproduced

Brave version (brave://version info)

Brave | 1.26.74 Chromium: 91.0.4472.124 (Official Build) (64-bit)

lidel commented 2 years ago

Yes, some power users may have ipfs-desktop or a standalone go-ipfs installed.

For now, they can set it as "public gateway" in the Settings:

2021-07-13--14-38-28

AFAIK only downside is that it won't keep native URI in address bar, and show localhost:8080 URLs.

As for the activation UX, I would be very careful about overcrowding the activation screen:

tinfever commented 2 years ago

FYI, confusingly you cannot set http://127.0.0.1:8080 (like if you copy and paste out of IPFS desktop) to be your IPFS gateway as Brave returns a "Invalid gateway address" error. However, http://localhost:8080 works fine. I'd very much like to see easy Brave option to just use my desktop IPFS client since this was very confusing.