Skip to content

Latest commit

 

History

History
43 lines (30 loc) · 1.15 KB

File metadata and controls

43 lines (30 loc) · 1.15 KB

Reddit Debate Analyzer

A hackathon-ready local web app that analyzes Reddit comment debates.

Features

  • Fetch a Reddit thread through the local /api/reddit endpoint.
  • Paste Reddit .json, copied comments, or simple Author: comment text.
  • Detect strongest arguments with a reasoning-strength score.
  • Summarize both sides of the debate.
  • Flag common logical fallacies such as ad hominem, straw man, false dilemma, slippery slope, hasty generalization, whataboutism, appeal to authority, and circular reasoning.
  • Draw a sentiment flow graph across the thread.
  • Produce a "who won the debate" verdict with confidence.

Run

node server.js

Then open:

http://localhost:3000

If Reddit blocks a live fetch, paste the thread JSON or copied comments into the text area and run the analyzer.

Input Formats

Raw copied comments:

Debate: Should Reddit add AI summaries?
UserA: AI summaries would help because large threads are hard to navigate. Score: 120
UserB: I disagree. Summaries flatten nuance and can mislead readers. Score: 95

Reddit JSON:

https://www.reddit.com/r/subreddit/comments/post_id/title/.json