/commenter

A web-extension that takes the URL you're visiting and searches submissions on other websites.

Primary LanguageJavaScript

Commenter web-extension

An extendable web-extension that reads the URL you're visiting and searches other submissions of it on other websites. Like this:

A demo

Now, what would you use that for?

Different communities discuss things differently. Different ideas, different tone, different experiences. Use it to expand your learning starting from one link.

Or maybe you've found an article you'd like to share. Use this extension to see if it's already been posted.

Currently supported sources: HackerNews and Reddit.

Currently supported browsers: This extension has been developed on Firefox and extended to work on Chromium-based browsers. It has been tested on Chrome and Edge. It should also work in Opera.

Download

Want to extend it and more sources? Cool! Here's how

Steps:

  1. Of course, you need to fork the repo.
  2. Read a guide about web-extensions to see how they work (totally optional)
  3. Go to the tests/observers folder and copy one of the tests, rename it, run it and TDD the hell out of it
  4. Go to src/observers and add your observer. Look at the other ones for examples, they're pretty straight forward
  5. Oh yeah, do a npm --install on the folder. webpack --watch --mode development for live updating the exported code. Run tests with npm run test. web-ext run to run the extension in Firefox.

Then, do a merge request and I'll merge it. I might even review it first.