Commenting without the comments
Echochamber.js is a third-party script you can install to add a simple comment form to your blog post or website.
why not just use disqus?
Because then there'd be a chance that someone would read the comments. You might have to read those comments. You don't want that.
When a user submits a comment, echochamber.js will save the comment to the user's LocalStorage, so when they return to the page, they can be confident that their voice is being heard, and feel engaged with your very engaging content. It does not make any HTTP requests. Since LocalStorage is only local, you and your database need not be burdened with other people's opinions.
Copy and paste the following code where you want your comments to appear:
1.Fork the repo * clone the fork * run
If you want to work with the iframe environment, there are some steps:
So you want the widget running on one server, and the host on another. I do this locally by messing with /etc/hosts like so:
127.0.0.1 publisher.dev 127.0.0.1 widget.dev
ServerName publisher.dev DocumentRoot "/Users/username/directory-of-widget" ServerName widget.dev DocumentRoot "/Users/username/directory-of-page"
./script/watch.shduring dev (unix only)
./script/build.shbefore making a pull request