A Python script that checks the availability status of a service using downforeveryoneorjustme.com. It bypasses Cloudflare protections, scrapes the website for service status, and translates messages into French using the Groq API.
Ensure you have the required Python packages installed:
pip install beautifulsoup4 cloudscraper groq flaskThere are two ways to use this script:
- For quick testing: Run
main.pydirectly. - For deploying on a server: Start
server-backend.py, which will listen on port5000.
If you just want to test the script locally, modify the service_name and groq_api_key in main.py, then run:
python main.pyTo set up a backend API for checking service status, start the Flask server:
python server-backend.pyBy default, the server will listen on port 5000.
You can then make API requests like:
curl "http://localhost:5000/check_status/google?language=fr"This will return the service status of Google in French.
This project also includes an Alexa Skill (alexa_skill.js) to check service statuses via voice commands using an API.
Un script Python qui vérifie l'état de disponibilité d'un service en utilisant downforeveryoneorjustme.com. Il contourne les protections Cloudflare, récupère le statut du service et traduit les messages en français grâce à l'API Groq.
Assurez-vous d'avoir les packages Python nécessaires installés :
pip install beautifulsoup4 cloudscraper groq flaskIl existe deux façons d'utiliser ce script :
- Pour un test rapide : Exécutez
main.pydirectement. - Pour le déployer sur un serveur : Lancez
server-backend.py, qui écoutera sur le port5000.
Si vous souhaitez simplement tester le script en local, modifiez service_name et groq_api_key dans main.py, puis exécutez :
python main.pyPour configurer une API backend permettant de vérifier le statut des services, démarrez le serveur Flask :
python server-backend.pyPar défaut, le serveur écoutera sur le port 5000.
Vous pouvez ensuite effectuer des requêtes API comme :
curl "http://localhost:5000/check_status/google?language=fr"Cela retournera l'état du service Google en français.
Ce projet inclut également une compétence Alexa (alexa_skill.js) permettant de vérifier le statut des services par commande vocale via une API.

