Developer version of ipfs-companion
works in Brave.
To try it out today you need to run Brave from source.
We are working with Brave to get seamless IPFS support working out of the box (with embedded js-ipfs
node).
Our progress can be tracked in #312 🏗️
- Configure your local ipfs gateway to run on port 9090 (the default, port 8080, conflicts with the brave webpack dev server)
- Clone and build
ipfs-companion
as inREADME
- Clone
brave/browser-laptop
- Symlink the
ipfs-companion/add-on
dir tobrowser-laptop/app/extensions/ipfs
- Add the following to
browser-laptop/app/extensions.js#L500-L502
// Enable IPFS extensionInfo.setState('ipfs', extensionStates.REGISTERED) loadExtension('ipfs', getExtensionsPath('ipfs'), undefined, 'component')
- In the
browser-laptop
project runnpm install
then in separate shells runnpm run watch
andnpm start
. If you have any trouble running Brave from source, check: https://github.com/brave/browser-laptop#installation - Brave will start up and you should see a badge with your number of connected ipfs peers next to the brave button, top right. (If it does not, make sure these patches are merged: issue, pr)
- Click on the badge and update your gateway settings to use port
9090
, then go share something with your peers: