- webext is the browser extension. It's just a shell for the main UI.
- comntr.github.io is the main UI. Most of the activity happens here. The extension renders this UI in an iframe when the user clicks on the extension icon.
- captcha is the basic captcha service.
- http-server is the main data server. It stores the comments.
- comntr.github.io is the main UI. Most of the activity happens here. The extension renders this UI in an iframe when the user clicks on the extension icon.
- Chrome can load the
comntr/webextrepo dir as an unpacked extension. npm run xpimakes axpi/comntr.xpizip file that can be installed on Firefox desktop.npm run xpi-prodmakes axpi/comntr.xpizip file that can be published toaddons.mozilla.org.npm run adb-pushcreates a zip file on the connected Android device. It can be opened on Firefox Android at thefile:///mnt/sdcard/WebExt/comntr.xpiURL.
- Get a VPS. I used a DigitalOcean VPS with a LetsEncrypt cert.
- Register your own domain:
foobar.com. - Look for
comntr.livein sources and usefoobar.cominstead. - Start the http server:
- Push the http server bits to your VPS:
cd comntr/http-server npm run ssh-push - SSH to the VPS and start the server:
ssh root@foobar.com cd ~/comntr.io npm start & disown exit
- Check that the server is available at
https://foobar.com:42751/. - Start the captcha service:
- Push the captcha service bits to your VPS:
cd comntr/captcha npm run rsync - SSH to the VPS and start the capctah service:
ssh root@foobar.com cd ~/comntr/captcha npm start & disown exit
- Check that the service is available at
https://foobar.com:2556/. - Fork
comntr.github.ioto your ownusername.github.ioor serve the web app from your own domain, e.g.https://foobar:443/. Make sure that references tocomntr.github.ioare updated to the new domain name. - Publish your own copy of the extension:
cd comntr/webext npm run xpi-prod