chore: initialise la structure du projet SentinelMesh

- Workspace Cargo avec backend, agent-scan-network, agent-metric
- Skeleton Rust pour les trois crates (Axum, Tokio, SQLx)
- Documentation : README, FEATURES, ROADMAP, ARCHITECTURE, API, INSTALL
- Exemples de widgets Glance (custom-api)
- Script d'installation agents (squelette Phase 5)
- Docker Compose + Dockerfile backend
- .gitignore et CLAUDE.md

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-05-19 05:59:12 +02:00
parent 452fded27f
commit 7cf56f24ef
22 changed files with 671 additions and 0 deletions
+19
View File
@@ -0,0 +1,19 @@
# Exemple de widget Glance — Découverte réseau SentinelMesh
# À intégrer dans votre glance.yml
- type: custom-api
title: Réseau local
cache: 30s
url: http://sentinelmesh:8080/api/v1/widgets/network
template: |
{{ range .sections }}
<div class="widget-type-sentinelmesh-network">
<h3>{{ .name }} — {{ .cidr }}</h3>
{{ range .items }}
<div class="device {{ .state }}">
<span class="hostname">{{ .hostname }}</span>
<span class="ip">{{ .ip }}</span>
<span class="state">{{ .state }}</span>
</div>
{{ end }}
</div>
{{ end }}