Skip to content

pavanaj1/Reddit-Debdate-Analyzer-tool

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Subreddit tool used in the reddit

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors