Skip to content

Positive-News/positive-news-chrome-extension

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Positive News 🌻 | Chrome Extension

Tired of doomscrolling through endless negativity? 🌻 Positive News clears your feed from negative news by using AI.

Our ambition is to be compatible with as much news websites as possible.

Looking for the download link?

Your favorite news website is not yet supported? Contribute it

  1. Fork this repository
  2. Create a branch new/name-of-the-website
  3. Inspire from googlenews.js to see what to implement to configure a new website:
  • findArticles: function to list all articles on a news webpage
  • hideArticle: function to hide an article when it's been marked as negative
  • tagPositiveArticle: function that shows that an article has been marked as positive (optional, you can leave the function empty)
  • (eventually, implement a MutationObserver, to detect when new articles have been loaded)
  1. Add the relevant content script code into manifest.json
  2. Create a Pull-Request whose title should be the website name. Document the PR as much as possible. Screenshots help me trust that the code indeed works ;) I will merge it when I feel it's good and redeploy the chrome extension :)

How to test?

  1. Install dependencies: npm install
  2. Do your modifications
  3. Build using npm run build. Code will end up in dist folder.
  4. Import the extension in chrome://extensions/. Tutorial here.

Want to discuss a topic?

Bug? Issue?

  • Report it here. Be as descriptive as possible. Screenshots are appreciated.

Licence

This work is distributed under AGPL.