A fun and interactive Python project to raise awareness about internet freedom through sound alerts, QR codes, and text-to-speech.
- Beep alarm: Emits a loud beeping sound to alert the user.
- Music: Plays the French national anthem ("La Marseillaise").
- Text-to-speech: Speaks a critical alert message about internet freedom.
- QR Code: Displays a QR code linking to a GitHub repository for further information.
- Browser Redirect: Automatically opens the GitHub page in the browser.
-
Clone this repository to your local machine:
git clone https://github.com/ton-utilisateur/FREE-THE-INTERNET.git cd FREE-THE-INTERNET -
Make sure you have Python 3.x installed. You can download Python from here.
-
Install the required dependencies:
pip install -r requirements.txt
The required libraries are:
pyttsx3: For text-to-speech functionality.Pillow: For QR code image handling.requests: For downloading external files like music.tkinter: For creating the graphical user interface (GUI).winsound: For playing beep sounds on Windows.
-
VLC Media Player: This project uses VLC to play music. Make sure that VLC Media Player is installed on your machine.
-
Run the project:
python main.py
This will run the project, and you will see a GUI with a QR code. The program will also play sounds, speak a message, and open the browser automatically.
- QR Code: A QR code is shown, and when scanned, it redirects to a GitHub repository page to raise awareness about internet freedom.
- Beep Alarm: A beep sound is emitted periodically to get the user's attention.
- Music: The national anthem of France ("La Marseillaise") is played as background music.
- Text-to-Speech: A critical alert message is spoken to the user multiple times.
- Browser Redirect: After starting the program, the GitHub page is opened automatically in your default browser.
This project is licensed under the MIT License - see the LICENSE file for details.
- pyttsx3 - A text-to-speech library.
- requests - A simple HTTP library for Python.
- Pillow - Python Imaging Library (PIL) Fork.
- VLC Media Player - Open-source media player.