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.
- Fork this repository
- Create a branch
new/name-of-the-website - Inspire from
googlenews.jsto see what to implement to configure a new website:
findArticles: function to list all articles on a news webpagehideArticle: function to hide an article when it's been marked as negativetagPositiveArticle: 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)
- Add the relevant content script code into
manifest.json - 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 :)
- Install dependencies:
npm install - Do your modifications
- Build using
npm run build. Code will end up indistfolder. - Import the extension in chrome://extensions/. Tutorial here.
- Report it here. Be as descriptive as possible. Screenshots are appreciated.
This work is distributed under AGPL.