From 82becb7569b6be825b3da7ed0c0f9dd0bc58604f Mon Sep 17 00:00:00 2001 From: Davide Grilli Date: Mon, 16 Mar 2026 13:33:10 +0100 Subject: [PATCH] Aggiunge LICENSE e README.md --- LICENSE | 21 ++++++++++++++++++++ README.md | 59 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 80 insertions(+) create mode 100644 LICENSE create mode 100644 README.md diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..c1f8543 --- /dev/null +++ b/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2026 Davide Grilli + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/README.md b/README.md new file mode 100644 index 0000000..4b1d94b --- /dev/null +++ b/README.md @@ -0,0 +1,59 @@ +# CadRoute + +Smistatore automatico di file CAD (Creo) per Windows e Linux. + +Analizza una cartella o un archivio `.zip`, riconosce i file CAD (`.prt`, `.asm`, `.dwr`) e li copia automaticamente nella sottocartella di destinazione corretta, basandosi sulla struttura numerica del nome file. + +## Funzionalità + +- Smistamento da cartella o archivio ZIP (con drag & drop) +- Routing automatico basato sul gruppo di cifre nel nome file +- Gestione versioni: mantiene solo la versione più alta +- Cartelle speciali: `__NON_SMISTATI`, `__DUPLICATI`, `__SALTATI` +- Anteprima e pulizia delle cartelle speciali +- Guida utente integrata (Help → Documentazione) +- Destinazione persistente tra le sessioni + +## Avvio in sviluppo + +```bash +npm install +npm run dev +``` + +## Build + +### Linux (Docker) + +```bash +cd contrib/linux +./build.sh +``` + +### Windows (Docker + Wine) + +```bash +cd contrib/windows +./build.sh +``` + +Gli artefatti vengono generati in `dist/`. + +## Struttura cartelle speciali + +| Cartella | Contenuto | +|----------|-----------| +| `__NON_SMISTATI` | File CAD senza destinazione valida | +| `__DUPLICATI` | File CAD già presenti in destinazione | +| `__SALTATI` | File non CAD (PDF, immagini, ecc.) | + +- **Linux:** `~/.cadroute//` +- **Windows:** `%APPDATA%\CadRoute\\` + +## Autore + +Davide Grilli — Cevolani Italia s.r.l. + +## Licenza + +MIT