diff --git a/grabber.py b/grabber.py index 9d1b45e..89403c3 100644 --- a/grabber.py +++ b/grabber.py @@ -67,8 +67,8 @@ class Grabber: "cpu_frequency_max": hw.get("cpu_frequency_max", "N/A"), "gpu_model": hw.get("gpu_model", "N/A"), "ram_slots": hw.get("ram_slots", "N/A"), - "ram_total": hw.get("ram_total", "N/A"), # Ajouté - "total_storage": hw.get("total_storage", "N/A"), # Ajouté + "ram_total": hw.get("ram_total", "N/A"), + "total_storage": hw.get("total_storage", "N/A"), "os": sw.get("os", "N/A"), "arch": sw.get("arch", "N/A"), "desktop_env": sw.get("desktop_env", "N/A"), diff --git a/grabber.sh b/grabber.sh index 6f7c53f..e08c3b8 100755 --- a/grabber.sh +++ b/grabber.sh @@ -140,6 +140,7 @@ json_file() { -H "Content-Type: application/json" \ -d "$json_data" \ --connect-timeout 5 || echo "Erreur: Serveur injoignable." + echo "" } python_venv() { @@ -157,6 +158,6 @@ if [ "$choice" = "1" ]; then sleep 5 echo "Fetching data..." json_file - echo "✅ Dashboard: http://localhost:8000" + echo "Dashboard launched at http://localhost:8000" wait $SERVER_PID fi \ No newline at end of file diff --git a/readme.md b/readme.md index 9b60c63..aa0bcde 100644 --- a/readme.md +++ b/readme.md @@ -10,7 +10,10 @@ Grabber is a bash program that fetch some informations of the computer like memo - dmidecode ## Versions -- v0 : grabber base, works minimal, ask permission, needs upgrades and rework +- v0.1 : grabber base, write fetch data in summary.txt needs upgrades +- v0.2 : use admin to fetch more data like cpu info... +- v0.3 : minimal uvicorn usage, shows data fetch for one pc saved in json data locally +- v0.4 (actual) : save fetch data in a sql database and can save multiple pc in a pretty interface (wip) # Credits Logo inspired by [kawaiiLogos](https://github.com/SAWARATSUKI/KawaiiLogos) project \ No newline at end of file