Inspiration

I have been always annoyed whenever I go to subreddits like r/Dexter for a discussion only to get spoiled. I also realized that there was no mod tool that does not have remove spoilers automatically.

What it does

Spoiler Senser is a Devvit moderation app that detects likely spoilers of Anime, TV Shows, Books in new posts and comments. SpoilerSense classifies posts or comments depending on severity level, resulting post or comment will be moved to ModQueue (High Severity) or Hidden (Medium Severity). Any post or comment creation will be alerted to the moderators via ModMail, Slack or Discordl.

How to use:

  1. Setup LLM API key and other settings after install!
  2. Let it run!

How we built it

Using Devvit SDK for application, and OpenAI/Gemini for classifying comments/posts.

SpoilerSense classifies every new post/comment with an LLM (with local heuristics).

{
  "risk_level": "LOW | MEDIUM | HIGH",
  "spoiler_type": "none | hint | episode_spoiler | character_death | major_plot",
  "visibility_risk": "low | medium | high",
  "recommended_action": "allow | warn_user | collapse | send_to_modqueue | remove",
  "reasoning": "short explanation"
}

Challenges we ran into

For comments/posts with large number of text, we use chunking and heuristics to reduce token usage. Heuristics are mentioned in https://developers.reddit.com/apps/spoiler-sense

Accomplishments that we're proud of

I am glad

What's next for SpoilerSense

I want to have an option to add more context depending on subreddits. Let's say for anime communities it will be able to fetch context from Fandoms that will accurately confirm real spoilers. I want to include more customizability like managing strictness.

Built With

Share this project:

Updates