Skip to content
/ nwa Public

Check news websites with "Negative Word Analyzer" before visiting them and see if it's worth it for your mental health.

Notifications You must be signed in to change notification settings

venethia/nwa

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

64 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Negative Words Analyzer (How to deal with online negativity)

I created this simple app to scan the titles of Italian news websites before visiting them and see if it's worth it.

Negative news impacts our mental health and we need to be very selective.

Researchers and scientists report many dangerous effects of reading negative news (not only on social media), such as anxiety, depression, information overload, lack of online safety, invasion of privacy, deception, conflicts, and more.

Technical details and how to install the app

You can build your list of negative words by editing the file neg.txt

The app isn't perfect, so you can edit the file exclude.txt to not scan the titles that contain some words (e.g. titles of news categories).

This app was built with Python3 (Flask), HTML, and CSS.

If you don't have a personal server, you can buy a basic plan of Python Anywhere (The free plan blocks website scan).

Tested on Debian 11 and Ubuntu 22.04.

You don't need a web server.

  1. Clone the repository: git clone https://github.com/venethia/nwa.git
  2. Change directory cd nwa
  3. Start the app in the background: sudo nohup python3 app.py &

A file log.txt will be (re)generated after every scan.

How to use the app

  • Open your browser: http://yourserverip:5000
  • Insert the URL of the site
  • Insert the number of the titles to analyze (if you insert 10, only the first 10 titles will be analyzed).

Screenshots

immagine

nwascreen2

Note

The app was created for personal use and may contain errors.

Feel free to fork it and make changes.

The logo is a dystopian image randomly generated by A.I. and it has no meaning.

Contacts:

Email: nwa(dot)matteospigolon(dot)com

About

Check news websites with "Negative Word Analyzer" before visiting them and see if it's worth it for your mental health.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published