Skip to content

cbelsole/fakenewsdetector

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Fake News Detector

This project aims to be non-partisan and fair in it's access to data and methodology. It aims to judge an article on quality by looking at factors such as:

  • Who wrote the article?
  • Who published the article?
  • What are the political leanings of the author/publisher?
  • Are the sources for the article internal or external?
  • What external sources are saying about the issue the article on?

Eventually, it will score articles on their sources to and provide some context on why it made the decision.

Supported Sites

Unsupported Sites (PRs wanted)

How do I add a site?

  1. Sites are kept in server/sites as a flat file for configuration for now.
{
  "corp": [], // hostnames of corporate affiliated sites
  "advertizer": [], // hostnames of advertizers to filter out of results
  "ignore": [], // ignored hostnames
  "articleSelector": "css selector", // css selector to find the article text
  "authorSelector": "css selector", // css selector to find the author of the article
  "titleSelector": "css selector" // css selector to find the title of the article
}
  1. Add the site to the list of supported sites in server/conf/sites.yaml
  2. Add corporate information for the site to server/conf/corporations.yaml

Start the dev server

# this will take a while because it needs to download headless chrome
yarn install && cd client && yarn install && cd ..
yarn run dev

How do I contribute?

  1. Clone the repo.
  2. Start the dev server and make sure everything is working.
  3. Once your changes are done please submit a PR with a title and description describing the feature/enhancement you want to add.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published