DeFacto
An open source, crowd sourcing information initiative to stop the dissemination of so called "fake news" and "alternative facts." Visit the website
DeFacto is more than just a database, it's an open, RESTful web API that utilizes machine learning techniques and fantastic APIs such as Microsoft Cognitive Services to help everyday users to determine whether or not news sources are credible.
DeFacto also collects helpful data about news sources that can be used for data analysis, tracking, and machine learning training models via user generated fact-checking and article ranking.
- Actively collects information on credible and non-credible sources/articles
- Machine learning and Natural Language Processing (NLP) combine to inform users about the content their reading intuitively.
- Changes credibility values based on user input
Because you shouldn't find out your 'credible' news sources aren't credible after the fact. DeFacto -- Get The Facts, Yo.
Check out (some of) the API and JS library documentation below
REST API
DeFacto's RESTful API can provide useful information such as:
- Truthfulness rating on articles
- User submitted fact checks
- Satire rating
- Article sentiment (A rating of the article's positivity)
- And more...
Endpoints
baseURL : /api/
| Endpoint | API | |||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Article |
|
|||||||||||||||||||||||||||||||
| Article/url/:url |
|
Response
Sites Response
{
// title of website
title : String,
// url of website
url : String,
// website description
descr : String,
// search url for site
search_url : String,
// type of website bias
bias : String,
// whether or not the website is satire
isSatire : Boolean,
// average rating for website's credibility
rating : Number,
// for selecting information (?)
selectors : [{field : String, selector : String}],
}
Articles
{
// title of article
title : String,
// author(s) of article
authors: [String],
// summary of article
summary : String,
// website article comes from
site : {
type : String,
ref : 'Site'
},
// url of article
url : String,
// rating of particular article
rating : Number,
// article keywords
keywords : [String],
// user-moderated content on particular article
comments : [{author : String, comment : String}],
// date article was published
published: {
default: Date.now(),
type: Date
}
}
DeFacto.js
DeFacto's JS library allows you to interact with our API easily. Documentation coming soon.
Chrome Extension
The DeFacto Chrome Extension utilizes DeFacto.js as well as the RESTful API to provide user-contributed fact checking to every website as well as to provide data to DeFacto's database.
Technical
- Express + MongoDB
- Miscrosoft Cognitive Services
- SMMRY Algorithm
- Hosted on AWS Elastic Beanstalk
- Domain Name from domain.com
Log in or sign up for Devpost to join the conversation.