Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Please add instructions on how to load the extension on Brave #340

Closed
daviddias opened this issue Dec 17, 2017 · 2 comments
Closed

Please add instructions on how to load the extension on Brave #340

daviddias opened this issue Dec 17, 2017 · 2 comments
Assignees

Comments

@daviddias
Copy link
Member

To the README https://github.com/ipfs/ipfs-companion#install

Bonus points for a gif!

Thank you ❤️

@olizilla
Copy link
Member

brave-ipfs-companion-4

@olizilla
Copy link
Member

Brave

ipfs-companion works in Brave. To try it out today you need to run brave from source, but we are working with Brave to get seamless IPFS support working out of the box. Track our progress here

  • 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 above
  • Clone brave/browser-laptop
  • Symlink the ipfs-companion/add-on dir to browser-laptop/app/extensions/ipfs
  • Add the following to browser-laptop/app/extensions.js
  // Enable IPFS
  extensionInfo.setState('ipfs', extensionStates.REGISTERED)
  loadExtension('ipfs', getExtensionsPath('ipfs'), undefined, 'component')

https://github.com/ipfs-shipyard/browser-laptop/blob/66f38870fced0dbc55aae7fe1ed905bff602f88e/app/extensions.js#L500-L502

Brave will start up and you should see a badge with your number of connected ipfs peers next to the brave button, top right. (the ipfs-companion badge currently doesn't appear). Click on the badge and update your gateway settings to use port 9090, then go share something with your peers...

brave ipfs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants