Skip to content

Latest commit

 

History

History
44 lines (28 loc) · 1.6 KB

README.md

File metadata and controls

44 lines (28 loc) · 1.6 KB

NewsGuardian:

AI-Powered Reddit News Detector, Summarizer, and Credibility Analyzer🌐🔍🛡️

Hey there! Welcome to NewsGuardian, your smart companion for navigating the wild world of Reddit news. This tool doesn't just find news - it breaks it down, summarizes it, and helps you figure out what's trustworthy.

What's This All About? 🤔

Ever felt lost in the sea of Reddit news, unsure what to believe? NewsGuardian's got your back! Here's what it does:

  • Hunts down fresh, hot news from top Reddit communities
  • Creates quick, smart summaries using cutting-edge AI
  • Gives each story a "trust score" to help you spot the real deal
  • Breaks down the writing style and how the content is structured
  • Checks if the news is recent and relevant
  • Looks at how reliable the poster and the community are
  • Labels posts as "Likely True", "Potentially Misleading", or "Needs a Fact-Check"

Getting Started 🚀

  1. Clone this repo to your machine

  2. Install the stuff we need: pip install -r requirements.txt

  3. Set up your Reddit API creds (check out Reddit's dev site for this)

  4. Update the client_id and client_secret in main.py with your info

To Run This Code! 💻

Just run the main script: python main.py

It'll ask how many top news items you want to see from each subreddit. Type in a number and let it generate!

Wanna Tweak It? 🛠️

Feel free to mess around with the code! You can:

  • Change which subreddits to look at in main.py
  • Adjust how to pick posts in reddit_collector.py
  • Change the summary settings in summarizer.py
  • Tweak how I score credibility in credibility_scorer.py