mastodon-collector/app
Pieter 27582c7b77 Add toxicity analysis system for Mastodon statuses
Implements comprehensive toxicity analysis following the Bluesky collector architecture:

- Analyzer module with async batch processing using GPT-4o-mini
- Database schema for toxicity scores and analysis run tracking
- 12 toxicity categories (toxic, threat, hate_speech, racism, antisemitism, islamophobia, sexism, homophobia, insult, dehumanization, extremism, ableism)
- Web interface routes for analysis dashboard and flagged content review
- Manual review API endpoint for human validation
- Analysis helper functions for database queries
- Dutch language support with coded political term recognition

Usage:
  docker exec mastodon-collector-collector-1 python -m app.analyzer

See TOXICITY_ANALYSIS.md for full documentation.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2026-03-30 14:43:35 +02:00
..
analyzer Add toxicity analysis system for Mastodon statuses 2026-03-30 14:43:35 +02:00
templates Initial commit: Mastodon collector application 2026-02-09 08:05:54 +01:00
__init__.py Initial commit: Mastodon collector application 2026-02-09 08:05:54 +01:00
__main__.py Initial commit: Mastodon collector application 2026-02-09 08:05:54 +01:00
analysis_helpers.py Add toxicity analysis system for Mastodon statuses 2026-03-30 14:43:35 +02:00
collector.py Initial commit: Mastodon collector application 2026-02-09 08:05:54 +01:00
db.py Initial commit: Mastodon collector application 2026-02-09 08:05:54 +01:00
mastodon_api.py Initial commit: Mastodon collector application 2026-02-09 08:05:54 +01:00
web.py Add toxicity analysis system for Mastodon statuses 2026-03-30 14:43:35 +02:00