Skip to content

una/echo-chamber-js

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Echochamber.js

All of the commenting, none of the comments.

alpha af

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.

Features

  • No server required!
  • 100% spam-proof!
  • Compatible with most blog and static site software
  • Styles itself nicely to match your site's colours and fonts

Installation

Copy and paste the following code where you want your comments to appear:

  <script id="echochamber">
    var EchoChamber = window.EchoChamber || {};
    (function() {
      EchoChamber.discussionURL = window.location;
      var script = document.createElement('script');
      script.src = 'https://s3.amazonaws.com/echochamberjs/dist/main.js';
      script.async = true;
      var entry = document.getElementById('echochamber');
      entry.parentNode.insertBefore(script, entry);
    })();
  </script>

Screenshot

screenshot

Contributing

Requirements: node

  1. Fork the repo
  • clone the fork
  • npm install to install dependencies
  • submit a PR and link it to the issue being solved

About

Commenting without the comments

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 91.3%
  • CSS 8.2%
  • Shell 0.5%