X Toxicity Detection Flask

screenshot of X Toxicity Detection Flask
flask

This is a simple python program which uses a machine learning model to detect toxicity in tweets, developed in Flask.

Overview

X Toxicity Detection is an innovative Flask web application designed to help users assess the toxicity of posts on X (formerly Twitter) without requiring API access. By utilizing Nitter instances to scrape user content, this application not only provides toxicity scores but also does so with an intuitive interface reminiscent of X itself. Whether you're just curious about user interactions or are looking to monitor the online sentiment for safety, this tool offers a practical solution without the bustle of API setups.

The application is available in both a web format and as a convenient Windows GUI, allowing for flexibility in usage. Its modern design not only makes it easy to navigate but also visually represents the toxicity of posts using color coding and pie charts, making it accessible for users of all tech backgrounds.

Features

  • User-Friendly Interface: The app features an X-like feed layout with an intuitive design that enhances user experience.
  • Dark/Light Mode Toggle: Customize your viewing experience with options for both dark and light themes.
  • Toxicity Ratio Pie Chart: Visualize the percentage of toxic versus non-toxic tweets in an easy-to-read pie chart.
  • User Profile Information: Instantly view crucial user data, including profile picture, name, username, and follower stats.
  • Tweet Interaction Metrics: Access detailed stats on each tweet, including retweets, likes, and timestamps.
  • Easy Bot Protection: Prevent spam and bot interference with simple bot protection measures integrated into the app.
  • No API Keys Required: This application functions without the need for API keys, relying instead on Nitter for ease of use.
  • Image and Video Preview: Access images within tweets, enhancing the storytelling experience of the analyzed content.
flask
Flask

Flask is a lightweight and popular web framework for Python, known for its simplicity and flexibility. It is widely used to build web applications, providing a minimalistic approach to web development with features like routing, templates, and support for extensions.