Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
MIT License

Copyright (c) 2026 Reclaim contributors
Country flag icons from flag-icons (https://github.com/lipis/flag-icons):
Copyright (c) 2013 Panayiotis Lipiridis

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,7 @@ No. Everything stays on your computer. Reclaim only contacts GitHub to check for
| **Scan finished with unreadable areas, or the drive stopped responding** | Check the cable and try once more. If it happens again, the drive may be failing: recover the files already found and stop using it. |
| **A recovered file won't open** | It may be incomplete or overwritten. Try other results of the same type. |
| **Windows: Reclaim won't start** | An error message explains why. A log is saved at `%LOCALAPPDATA%\Reclaim\logs\reclaim.log`; attach it when you [report a problem](https://github.com/sudo-py-dev/reclaim/issues). |
| **A scan or recovery is failing** | In **Settings & help → General → Debug logging**, choose **Enable logging** and reproduce the issue. Choose **Open folder** to find `reclaim-debug.log` and attach it to your report. Debug logging turns off when you quit Reclaim. |

Still stuck? [Open an issue](https://github.com/sudo-py-dev/reclaim/issues) and tell us your system, the drive type and what you see.

Expand Down
4 changes: 2 additions & 2 deletions docs/DEVELOPMENT.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ A Rust desktop app for recovering file candidates from drives and raw disk image
- **Live scan results:** unused-byte progress, cancellation, and recoverable partial results.
- **Filtered recovery:** search by filename, extension, or source offset; filter by file category. Recovery saves only selected files matching the active filters.
- **Safe output naming:** original NTFS leaf names when available, generated names otherwise, and numeric suffixes to avoid replacing existing files.
- **Localization:** saved language preference, seven matching translation catalogs, mirrored Hebrew/Arabic layouts, and isolated mixed-direction filenames and paths.
- **Localization:** saved language preference, ten matching translation catalogs, mirrored Hebrew/Arabic layouts, and isolated mixed-direction filenames and paths.
- **Desktop interface:** Slint with light/dark appearance, SVG icons, animated controls and progress, a scrollable drive list, and an integrated recovery guide.

## Build and run
Expand Down Expand Up @@ -75,7 +75,7 @@ See [file-format research and coverage](FILE_FORMAT_RESEARCH.md) for primary sou

Reclaim is not a complete filesystem recovery suite. A signature match does not establish that a file was deleted or that all its contents are usable. Overwritten or TRIM-erased data cannot be reconstructed by the scanner.

- Most candidates are limited to 64 MiB each, with a maximum of 100,000 results. Classic ZIP archives with known local entry sizes can exceed 64 MiB (up to the classic ZIP offset range) using bounded-memory directory checks; large ZIP-based packages are reported as ZIP. ZIP entry payloads are not decompressed or CRC-verified. Captured NTFS resident data has a separate 64 MiB memory budget.
- Most candidates are limited to 64 MiB each. Carving streams results without a fixed result count. Classic ZIP archives with known local entry sizes can exceed 64 MiB (up to the classic ZIP offset range) using bounded-memory directory checks; large ZIP-based packages are reported as ZIP. ZIP entry payloads are not decompressed or CRC-verified. Captured NTFS resident data has a separate 64 MiB memory budget.
- Original folder reconstruction, restoring timestamps, fragmented-file reconstruction, and APFS allocation maps are not implemented. NTFS runlists are read for the MFT/$Bitmap allocation map only, not general deleted-file reconstruction. Split NTFS attributes needing ATTRIBUTE_LIST extents and whole-disk MBR/GPT sources are rejected; select a formatted volume instead.
- `scan_unused_reader` is the desktop entry point. `scan_reader` remains a full-source API for tests and explicit lower-level use. Deleted resident NTFS recovery inside allocated MFT clusters is excluded from the desktop unused-space mode.
- ZIP64/multipart archives, ZIP archives over 64 MiB that require data descriptors, unknown-length AU streams, and multi-segment OpenDML AVI are unsupported.
Expand Down
8 changes: 4 additions & 4 deletions fuzz/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 6 additions & 3 deletions locales/README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
# Translations and text direction

English message IDs live in `en.json`, with complete matching catalogs for Hebrew
(`he`), Arabic (`ar`), Spanish (`es`), French (`fr`), German (`de`), and Russian
(`ru`). `ui/app.slint` exposes named localized properties; `src/ui_text.rs` fills
(`he`), Arabic (`ar`), Spanish (`es`), French (`fr`), German (`de`), Russian
(`ru`), Portuguese (`pt`), Italian (`it`), and Dutch (`nl`).
`ui/app.slint` exposes named localized properties; `src/ui_text.rs` fills
them when the language changes. Status messages, file details, previews, drive
metadata, and recovery warnings are localized at their presentation boundaries.
Release notes and operating-system error details retain their original language.
Expand All @@ -20,7 +21,9 @@ and dates for display. Stored paths, original names, search queries, scan result
and recovered bytes remain unchanged. Brand names, format identifiers, and binary
size units remain language-neutral.

Settings offers System and each supported language, using their native names.
Settings offers System and each supported language using its native name. The
language picker pairs native names with representative country flags and uses
a globe for System.
System recognizes regional prefixes such as `es-MX`, `fr-CA`, and `ar-SA`, plus
legacy Hebrew `iw`. Unsupported locales fall back to English. The preference is
saved in `reclaim/language.json` in the platform configuration directory. Native
Expand Down
8 changes: 6 additions & 2 deletions locales/ar.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,14 @@
{
"All files": "كل الملفات",
"Appearance": "المظهر",
"Debug logging": "تسجيل معلومات التصحيح",
"Records scan and recovery checkpoints in reclaim-debug.log.": "يسجّل مراحل الفحص والاستعادة في ملف reclaim-debug.log.",
"Enable logging": "تفعيل التسجيل",
"Disable logging": "إيقاف التسجيل",
"The diagnostic log folder could not be opened.": "تعذّر فتح مجلد سجل التشخيص.",
"Applications": "التطبيقات",
"Archives": "الأرشيفات",
"Audio": "الصوت",
"Candidate limit reached (100,000). Recover available results or scan a smaller image.": "تم بلوغ الحد الأقصى للملفات المحتملة (100,000). استعد النتائج المتاحة أو افحص صورة قرص أصغر.",
"Candidate range is invalid": "نطاق الملف المحتمل غير صالح",
"Choose a drive or disk image to get started.": "اختر محرك أقراص أو صورة قرص للبدء.",
"Choose a raw disk image": "اختر صورة قرص خام",
Expand Down Expand Up @@ -32,6 +36,7 @@
"Locked: unlock in Disk Utility first": "مقفل: افتح القفل أولًا في أداة القرص",
"Mounted at {mount}": "موصول في {mount}",
"NTFS record checked": "تم التحقق من سجل NTFS",
"NTFS resident data limit reached (64 MiB). Available results can still be exported.": "تم بلوغ حد البيانات المقيمة في NTFS ‏(64 MiB). لا يزال بالإمكان تصدير النتائج المتاحة.",
"No drive access was returned": "لم يتم منح وصول إلى محرك الأقراص",
"Not mounted": "غير موصول",
"Opening source… If Linux asks, authorize read-only access to the drive.": "جارٍ فتح المصدر… إذا طلب Linux ذلك، فاسمح بوصول للقراءة فقط إلى محرك الأقراص.",
Expand All @@ -43,7 +48,6 @@
"Recovered {count} file before error: {e}": "تمت استعادة {count} ملف قبل الخطأ: {e}",
"Recovered {count} files before error: {e}": "تمت استعادة {count} ملف قبل الخطأ: {e}",
"Recovering selected files…": "جارٍ استعادة الملفات المحددة…",
"Recovery result limit reached. Available results can still be exported.": "تم بلوغ حد نتائج الاستعادة. لا يزال بالإمكان تصدير النتائج المتاحة.",
"Recovery stopped. {count} file saved.": "توقفت الاستعادة. تم حفظ {count} ملف.",
"Recovery stopped. {count} files saved.": "توقفت الاستعادة. تم حفظ {count} ملف.",
"Refresh": "تحديث",
Expand Down
8 changes: 6 additions & 2 deletions locales/de.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,14 @@
{
"All files": "Alle Dateien",
"Appearance": "Darstellung",
"Debug logging": "Debug-Protokollierung",
"Records scan and recovery checkpoints in reclaim-debug.log.": "Protokolliert Scan- und Wiederherstellungsschritte in reclaim-debug.log.",
"Enable logging": "Protokollierung aktivieren",
"Disable logging": "Protokollierung deaktivieren",
"The diagnostic log folder could not be opened.": "Der Ordner des Diagnoseprotokolls konnte nicht geöffnet werden.",
"Applications": "Anwendungen",
"Archives": "Archive",
"Audio": "Audio",
"Candidate limit reached (100,000). Recover available results or scan a smaller image.": "Limit möglicher Dateien erreicht (100.000). Vorhandene Ergebnisse wiederherstellen oder ein kleineres Abbild scannen.",
"Candidate range is invalid": "Ungültiger Bereich der möglichen Datei",
"Choose a drive or disk image to get started.": "Wählen Sie zum Starten ein Laufwerk oder ein Datenträgerabbild.",
"Choose a raw disk image": "Unverarbeitetes Datenträgerabbild auswählen",
Expand Down Expand Up @@ -32,6 +36,7 @@
"Locked: unlock in Disk Utility first": "Gesperrt: zuerst im Festplattendienstprogramm entsperren",
"Mounted at {mount}": "Eingehängt unter {mount}",
"NTFS record checked": "NTFS-Eintrag geprüft",
"NTFS resident data limit reached (64 MiB). Available results can still be exported.": "Limit für residente NTFS-Daten erreicht (64 MiB). Vorhandene Ergebnisse können weiterhin exportiert werden.",
"No drive access was returned": "Kein Laufwerkszugriff erhalten",
"Not mounted": "Nicht eingehängt",
"Opening source… If Linux asks, authorize read-only access to the drive.": "Quelle wird geöffnet… Bestätigen Sie unter Linux gegebenenfalls den schreibgeschützten Zugriff.",
Expand All @@ -43,7 +48,6 @@
"Recovered {count} file before error: {e}": "{count} Datei vor dem Fehler wiederhergestellt: {e}",
"Recovered {count} files before error: {e}": "{count} Dateien vor dem Fehler wiederhergestellt: {e}",
"Recovering selected files…": "Ausgewählte Dateien werden wiederhergestellt…",
"Recovery result limit reached. Available results can still be exported.": "Ergebnislimit erreicht. Vorhandene Ergebnisse können weiterhin exportiert werden.",
"Recovery stopped. {count} file saved.": "Wiederherstellung angehalten. {count} Datei gespeichert.",
"Recovery stopped. {count} files saved.": "Wiederherstellung gestoppt. {count} Dateien gespeichert.",
"Refresh": "Aktualisieren",
Expand Down
8 changes: 6 additions & 2 deletions locales/en.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,14 @@
{
"All files": "All files",
"Appearance": "Appearance",
"Debug logging": "Debug logging",
"Records scan and recovery checkpoints in reclaim-debug.log.": "Records scan and recovery checkpoints in reclaim-debug.log.",
"Enable logging": "Enable logging",
"Disable logging": "Disable logging",
"The diagnostic log folder could not be opened.": "The diagnostic log folder could not be opened.",
"Applications": "Applications",
"Archives": "Archives",
"Audio": "Audio",
"Candidate limit reached (100,000). Recover available results or scan a smaller image.": "Candidate limit reached (100,000). Recover available results or scan a smaller image.",
"Candidate range is invalid": "Candidate range is invalid",
"Choose a drive or disk image to get started.": "Choose a drive or disk image to get started.",
"Choose a raw disk image": "Choose a raw disk image",
Expand Down Expand Up @@ -32,6 +36,7 @@
"Locked: unlock in Disk Utility first": "Locked: unlock in Disk Utility first",
"Mounted at {mount}": "Mounted at {mount}",
"NTFS record checked": "NTFS record checked",
"NTFS resident data limit reached (64 MiB). Available results can still be exported.": "NTFS resident data limit reached (64 MiB). Available results can still be exported.",
"No drive access was returned": "No drive access was returned",
"Not mounted": "Not mounted",
"Opening source… If Linux asks, authorize read-only access to the drive.": "Opening source… If Linux asks, authorize read-only access to the drive.",
Expand All @@ -43,7 +48,6 @@
"Recovered {count} file before error: {e}": "Recovered {count} file before error: {e}",
"Recovered {count} files before error: {e}": "Recovered {count} files before error: {e}",
"Recovering selected files…": "Recovering selected files…",
"Recovery result limit reached. Available results can still be exported.": "Recovery result limit reached. Available results can still be exported.",
"Recovery stopped. {count} file saved.": "Recovery stopped. {count} file saved.",
"Recovery stopped. {count} files saved.": "Recovery stopped. {count} files saved.",
"Refresh": "Refresh",
Expand Down
8 changes: 6 additions & 2 deletions locales/es.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,14 @@
{
"All files": "Todos los archivos",
"Appearance": "Apariencia",
"Debug logging": "Registro de depuración",
"Records scan and recovery checkpoints in reclaim-debug.log.": "Registra las etapas de análisis y recuperación en reclaim-debug.log.",
"Enable logging": "Activar registro",
"Disable logging": "Desactivar registro",
"The diagnostic log folder could not be opened.": "No se pudo abrir la carpeta del registro de diagnóstico.",
"Applications": "Aplicaciones",
"Archives": "Archivos comprimidos",
"Audio": "Audio",
"Candidate limit reached (100,000). Recover available results or scan a smaller image.": "Se alcanzó el límite de candidatos (100 000). Recupera los resultados disponibles o analiza una imagen más pequeña.",
"Candidate range is invalid": "El rango del candidato no es válido",
"Choose a drive or disk image to get started.": "Elige una unidad o imagen de disco para comenzar.",
"Choose a raw disk image": "Elegir una imagen de disco sin procesar",
Expand Down Expand Up @@ -32,6 +36,7 @@
"Locked: unlock in Disk Utility first": "Bloqueada: desbloquéala primero en Utilidad de Discos",
"Mounted at {mount}": "Montada en {mount}",
"NTFS record checked": "Registro NTFS comprobado",
"NTFS resident data limit reached (64 MiB). Available results can still be exported.": "Se alcanzó el límite de datos residentes de NTFS (64 MiB). Todavía puedes exportar los resultados disponibles.",
"No drive access was returned": "No se obtuvo acceso a la unidad",
"Not mounted": "No montada",
"Opening source… If Linux asks, authorize read-only access to the drive.": "Abriendo origen… Si Linux lo solicita, autoriza el acceso de solo lectura a la unidad.",
Expand All @@ -43,7 +48,6 @@
"Recovered {count} file before error: {e}": "Se recuperó {count} archivo antes del error: {e}",
"Recovered {count} files before error: {e}": "Se recuperaron {count} archivos antes del error: {e}",
"Recovering selected files…": "Recuperando archivos seleccionados…",
"Recovery result limit reached. Available results can still be exported.": "Se alcanzó el límite de resultados. Todavía puedes exportar los resultados disponibles.",
"Recovery stopped. {count} file saved.": "Recuperación detenida. Se guardó {count} archivo.",
"Recovery stopped. {count} files saved.": "Recuperación detenida. Se guardaron {count} archivos.",
"Refresh": "Actualizar",
Expand Down
8 changes: 6 additions & 2 deletions locales/fr.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,14 @@
{
"All files": "Tous les fichiers",
"Appearance": "Apparence",
"Debug logging": "Journal de débogage",
"Records scan and recovery checkpoints in reclaim-debug.log.": "Consigne les étapes d’analyse et de récupération dans reclaim-debug.log.",
"Enable logging": "Activer le journal",
"Disable logging": "Désactiver le journal",
"The diagnostic log folder could not be opened.": "Impossible d’ouvrir le dossier du journal de diagnostic.",
"Applications": "Applications",
"Archives": "Archives",
"Audio": "Audio",
"Candidate limit reached (100,000). Recover available results or scan a smaller image.": "Limite de fichiers potentiels atteinte (100 000). Récupérez les résultats disponibles ou analysez une image plus petite.",
"Candidate range is invalid": "Plage du fichier potentiel invalide",
"Choose a drive or disk image to get started.": "Choisissez un disque ou une image disque pour commencer.",
"Choose a raw disk image": "Choisir une image disque brute",
Expand Down Expand Up @@ -32,6 +36,7 @@
"Locked: unlock in Disk Utility first": "Verrouillé: déverrouillez d’abord dans Utilitaire de disque",
"Mounted at {mount}": "Monté sur {mount}",
"NTFS record checked": "Enregistrement NTFS vérifié",
"NTFS resident data limit reached (64 MiB). Available results can still be exported.": "Limite de données résidentes NTFS atteinte (64 Mio). Les résultats disponibles peuvent encore être exportés.",
"No drive access was returned": "Aucun accès au disque obtenu",
"Not mounted": "Non monté",
"Opening source… If Linux asks, authorize read-only access to the drive.": "Ouverture de la source… Si Linux le demande, autorisez l’accès en lecture seule au disque.",
Expand All @@ -43,7 +48,6 @@
"Recovered {count} file before error: {e}": "{count} fichier récupéré avant l’erreur : {e}",
"Recovered {count} files before error: {e}": "{count} fichiers récupérés avant l’erreur : {e}",
"Recovering selected files…": "Récupération des fichiers sélectionnés…",
"Recovery result limit reached. Available results can still be exported.": "Limite de résultats atteinte. Les résultats disponibles peuvent encore être exportés.",
"Recovery stopped. {count} file saved.": "Récupération arrêtée. {count} fichier enregistré.",
"Recovery stopped. {count} files saved.": "Récupération arrêtée. {count} fichiers enregistrés.",
"Refresh": "Actualiser",
Expand Down
Loading
Loading