"Neutral-lens" is a browser extension that aims to reduce political bias in Youtube videos, particularly during election seasons and political debates. This tool analyzes news content, identifying biased language. By doing so, it helps viewers gain a more balanced perspective on political issues, encouraging critical thinking and allowing users to form their own opinions based on less skewed information. The extension's goal is to promote a more objective consumption of news media, especially crucial during times of heightened political discourse and electoral campaigns.
ReactJS
for SEO optimization and server-side renderingTypeScript
for safer deploymentLucide
for modern iconsFlask
for handling HTTP requests and API developmentGUS-Net NER model
API intergration for advanced NLPYoutube Transcript API
for automatic generated subtitles and subtitle translations/transcriptions
- The extension activates when you're watching a YouTube video.
- It analyzes the video transcript using our Ethical Spectacle Reseach's AI model.
- Content is classified into the three categories mentioned above.
- Results are displayed in a graph overlay on the video page.
- Navigate to any YouTube video.
- Click the Neutral Lens icon in your toolbar and press
detect bias
to analyze. - Watch as the graph populates with bias detection results in real-time.
> cd client
> npm i #install all dependencies if this is the first time you are doing this
> npm ci (optional)
> npm run build (for production-ready)
> npm run dev
> cd server
> python3 -m venv venv
> source venv/bin/activate
> pip install -r requirements.txt
> python3 testing.py
Create a .env files in server
ESR_API_KEY=YOUR_KEY
Neutral Lense
is licensed under MIT License. All development is currently maintain by Luan Nguyen.