P2P messaging application bundled as a web extension for Firefox and 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.jsonfile in thedistdirectory
- Navigate to
- Chrome
- Navigate to
chrome://extensions - Click on the "Load unpacked" button
- Navigate to the
distdirectory
- 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 buildCurrent 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-artifactsdirectory
Feel free to dive in! Open an issue or submit PRs.
MIT © Alan Shaw