chore: initialiser le projet imagod-web (Rust)

- Structure du projet Cargo avec dépendances (clap, axum, reqwest, rusqlite, arboard, tray-icon)
- CLI avec sous-commandes start, serve, stop, status, config, install, uninstall, logs
- Module config: parsing TOML, chemins Windows/Linux
- Module dedup: dédoublonnage SHA-256 avec cache SQLite
- Module imago_client: client HTTP pour API Imago (upload, search, get)
- Module watcher: boucle de polling stub
- Module server: serveur web axum avec routes API REST stub
- Platform-specific: clipboard, tray, service, window_info (Windows)
- Frontend placeholder HTML
- Config par défaut (imagod.toml)
- README.md, LICENSE (MIT), .gitignore
This commit is contained in:
2026-06-22 16:44:47 -04:00
commit a3b853de04
19 changed files with 923 additions and 0 deletions
+30
View File
@@ -0,0 +1,30 @@
[imago]
# URL du serveur Imago
url = "http://imago.dracodev.net:8000"
# Clé API client Imago (à configurer)
api_key = "CHANGE_ME"
[watcher]
capture_images = true
poll_interval_ms = 500
[watcher.filters]
# Applications à capturer (vide = tout)
only_apps = []
# Applications à exclure
exclude_apps = ["mstsc"]
[dedup]
# Méthode de dédoublonnage : sha256 | perceptual_hash
method = "sha256"
# Nombre de hashes en cache
cache_size = 10000
[ui]
show_notifications = true
show_tray_icon = true
notification_timeout_sec = 3
[logging]
# Niveau de log : trace | debug | info | warn | error
level = "info"