This commit is contained in:
buchtioof 2026-02-10 16:35:13 +01:00
parent ddd114a8fe
commit 3b98c2c16b
3 changed files with 8 additions and 4 deletions

View File

@ -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"),

View File

@ -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

View File

@ -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