P2P messaging application bundled as a web extension for Firefox and Chrome
Firefox | Chrome |
---|---|
Ensure Node.js 12+ and npm 6+ are installed.
- Clone this repo
- Install the project dependencies with
npm install
- Build the project
npm run build
(see build below) - Load the web extension in your favourite browser:
- Firefox
- Navigate to
about:debugging#/runtime/this-firefox
- Click on the "Load temporary add-on" button
- Select
manifest.json
file in thedist
directory
- Navigate to
- Chrome
- Navigate to
chrome://extensions
- Click on the "Load unpacked" button
- Navigate to the
dist
directory
- Navigate to
- Firefox
Build with CHATTERBOX_RELAY_ADDRS
environment variable to specify one or more comma separated multiaddrs of chatterbox relay servers to connect to.
e.g.
CHATTERBOX_RELAY_ADDRS=/ip4/138.68.55.103/tcp/4138/ws/ipfs/QmTtZnqydWPKxRDuDLbMjo4NHJPwrascKgxQwpBSx5Zd7k npm run build
Current production relay addrs:
/ip4/138.68.55.103/tcp/4138/ws/ipfs/QmTtZnqydWPKxRDuDLbMjo4NHJPwrascKgxQwpBSx5Zd7k
To package for web extension stores, run the following commands:
- Build the extension (as above) including any relay addrs
- Run
npm run package
- Output can be found in the
web-ext-artifacts
directory
Feel free to dive in! Open an issue or submit PRs.
MIT © Alan Shaw