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.
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.
- Clone the repository:
git clone https://github.com/venethia/nwa.git
- Change directory
cd nwa
- Start the app in the background:
sudo nohup python3 app.py &
A file log.txt will be (re)generated after every scan.
- 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).
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.
Email: nwa(dot)matteospigolon(dot)com