---
license: creativeml-openrail-m
title: TrueEye Reports
sdk: docker
emoji: π
colorFrom: yellow
colorTo: purple
short_description: Analyze News - lies, bias, intentionality and more!
---
# π§Ώ TrueEye β Intelligent Media Literacy System
**TrueEye** is an AI-powered tool designed to analyze news articles and web content to detect narrative bias, identify the target audience, and reveal hidden intentions or manipulative rhetorical structures.
In other words, **it doesnβt just detect fake news** β it analyzes **who the content is written for and why**.
The system generates a detailed report to support media literacy, highlighting subtle signals embedded in the text.
---
## π Demo
* π [Try TrueEye on Hugging Face Spaces](https://huggingface.co/spaces/DeepRat/TrueEye_Reports)
* π₯οΈ [Official project site](https://trueeye.deeprat.tech)
> Note: The demo requires internet access and may prompt you to log in to Hugging Face.
---
## π§© What Does TrueEye Do?
When given a news article URL, **TrueEye** performs **three consecutive analyses**:
### π Bias & Narrative Tone
* Detects narrative polarity (positive, negative, neutral).
* Identifies rhetorical strategies (fear, polarization, irony).
* Summarizes the content and flags questionable claims.
### π― Audience Profiling
* Infers demographic and emotional profile of the target reader.
* Identifies values, beliefs, or cognitive biases being exploited.
### β οΈ Intent & Risk Evaluation
* Detects manipulative discourse or symbolic violence.
* Highlights hidden agendas, information gaps, and potential societal risk.
> The report includes links to trustworthy sources for fact-checking.
---
## βοΈ Architecture Overview
**TrueEye** consists of three main components:
* π§± **Frontend**: Static web interface built with HTML, TailwindCSS, and JavaScript (`static/index.html`).
* π§ **Backend**: REST API written in Python using FastAPI (`main.py`).
* π **AI Orchestration**: LangFlow flow (`TrueEyeBeta.json`) powered by Claude models (Opus / Sonnet).
> The heavy analysis is performed by external LLMs through LangFlow API calls.
---
## π Project Structure
```
TrueEye_v1/
βββ static/
β βββ index.html # Frontend UI
β βββ te.png # Project logo
βββ main.py # FastAPI backend
βββ requirements.txt # Python dependencies
βββ Dockerfile # Deployment config (Hugging Face Spaces)
βββ TrueEyeBeta.json # LangFlow pipeline (AI logic)
```
---
## π» How to Run It Locally
### π§ Requirements
* β
Python **3.10+**
* β
Internet access (to connect with AI APIs)
* β
Claude API key or other compatible LLM provider
* β
LangFlow installed (`pip install langflow`)
> π‘ No GPU or specialized hardware needed β all heavy lifting is done remotely.
### π§ͺ Installation Steps:
```bash
# 1. Clone the repository
git clone https://github.com/DeepRatAI/TrueEye_v1.git
cd TrueEye_v1
# 2. Install backend dependencies
pip install -r requirements.txt
# 3. Set the LangFlow API URL
export FLOW_API_URL="http://localhost:7860/predict" # Adjust to your LangFlow instance
# 4. Start the FastAPI backend
uvicorn main:app --reload
```
Once the server is running, open the file `static/index.html` in your browser.
Paste a news article URL, click "Analyze", and you'll receive an AI-generated report.
---
## π Roadmap
| Version | Status | Description |
| -------- | ---------- | --------------------------------------------------------------- |
| β
v1.0 | Production | Full text analysis with explainable AI (current version) |
| π v2.0 | In design | "TrueEye Chat": interactive conversation with persistent memory |
| πΌοΈ v3.0 | Planned | Multimodal reasoning (text + images/audio/video) |
| π§ͺ v4.0 | Planned | Deepfake and synthetic content detection |
---
## π Technologies Used
* **FastAPI** β Python web framework for REST APIs.
* **LangFlow** β Flow-based orchestration of LLMs and tools.
* **Claude (Opus / Sonnet)** β Large language models via Anthropic API.
* **TailwindCSS & JS** β Frontend interface styling and logic.
* **Docker** β Deployment (e.g. Hugging Face Spaces using provided Dockerfile).
---
## βοΈ Author
**Gonzalo Romero (DeepRat)**
AI, Software & Systems Engineer Β· Prompt Engineer Β· Full-Stack Developer
π [Web](https://deeprat.tech) | [Hugging Face](https://huggingface.co/DeepRat) | [GitHub](https://github.com/DeepRatAI) | [LinkedIn](https://www.linkedin.com/in/deeprat) | [Medium](https://medium.com/@deeprat)
---
## π§ License
This project is licensed under the **Creative Commons Attribution-NonCommercial 4.0 International (CC BY-NC 4.0)** license.
You are free to share and adapt the code **as long as you credit the author (DeepRat)** and **do not use it for commercial purposes without permission**.
> For commercial use or extended licensing, please contact: [info@deeprat.tech](mailto:info@deeprat.tech)
---