{"id":15034862,"url":"https://github.com/pablolec/recoverpy","last_synced_at":"2025-10-05T02:44:19.390Z","repository":{"id":38307989,"uuid":"341931044","full_name":"PabloLec/RecoverPy","owner":"PabloLec","description":"Interactively find and recover deleted or :point_right: overwritten :point_left: files from your terminal","archived":false,"fork":false,"pushed_at":"2025-05-02T13:22:00.000Z","size":15726,"stargazers_count":1478,"open_issues_count":0,"forks_count":76,"subscribers_count":14,"default_branch":"main","last_synced_at":"2025-05-02T14:42:03.326Z","etag":null,"topics":["cli","console","cybersecurity","data","data-recovery","files","forensics","hacking","linux","macos","pentesting","python","python3","recovery","search","search-interface","terminal","textual","tool","tui"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/PabloLec.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2021-02-24T14:42:33.000Z","updated_at":"2025-05-02T14:08:07.000Z","dependencies_parsed_at":"2023-10-11T23:12:33.193Z","dependency_job_id":"0eba7b1a-8de9-463e-bbfe-32923e7045d3","html_url":"https://github.com/PabloLec/RecoverPy","commit_stats":{"total_commits":480,"total_committers":5,"mean_commits":96.0,"dds":"0.26041666666666663","last_synced_commit":"7e804d09522978f442dbf7a72124adefdab3e856"},"previous_names":[],"tags_count":40,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PabloLec%2FRecoverPy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PabloLec%2FRecoverPy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PabloLec%2FRecoverPy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PabloLec%2FRecoverPy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/PabloLec","download_url":"https://codeload.github.com/PabloLec/RecoverPy/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254069855,"owners_count":22009558,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cli","console","cybersecurity","data","data-recovery","files","forensics","hacking","linux","macos","pentesting","python","python3","recovery","search","search-interface","terminal","textual","tool","tui"],"created_at":"2024-09-24T20:26:35.913Z","updated_at":"2025-10-05T02:44:19.383Z","avatar_url":"https://github.com/PabloLec.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n  \u003cimg src=\"docs/assets/logo.png\" alt=\"RecoverPy\" width=\"auto\"\u003e\n  \u003ch2\u003eRecoverPy\u003c/h2\u003e\n  \u003cem\u003eFind and recover deleted or even overwritten files from your Linux partitions, quickly and easily.\u003c/em\u003e\n  \n  \u003cbr\u003e\u003cbr\u003e\n\n  ![GitHub release](https://img.shields.io/github/v/release/pablolec/recoverpy?style=flat-square)\n  ![License](https://img.shields.io/github/license/pablolec/recoverpy?style=flat-square)\n  ![Downloads](https://static.pepy.tech/personalized-badge/recoverpy?period=total\u0026units=abbreviation\u0026left_color=grey\u0026right_color=red\u0026left_text=downloads)\n  ![Tests](https://github.com/PabloLec/recoverpy/actions/workflows/pytest.yml/badge.svg?branch=main)\n  \n\u003c/div\u003e\n\n---\n\nRecoverPy doesn't just recover deleted files, but also helps you **recover overwritten data** by scanning each disk block. Whether it's a lost snippet of code, accidentally deleted configs, or overwritten text files, RecoverPy gives you a powerful, interactive way to get it back.\n\n## ✨ Features\n\n- ✅ Recover **overwritten and deleted files**\n- 🔍 Search file contents by string, even in binary files\n- 📟 Modern, easy-to-use terminal UI\n- 🐧 Linux compatible (all file systems supported)\n- ⚡️ Fast, leveraging core Linux utilities (`grep`, `dd`, `lsblk`)\n\n---\n\n## 🎬 Demo\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"docs/assets/demo.gif\" alt=\"RecoverPy Demo\"\u003e\n\u003c/p\u003e\n\n---\n\n## 📦 Installation\n\n\u003e **Warning:** You **must** run RecoverPy as root (`sudo`).\n\nRecoverPy is Linux-only. Make sure you have these common tools installed (`grep`, `dd`, `lsblk`). Optionally, install `progress` to monitor scan progress:\n\n```bash\n# Debian / Ubuntu\nsudo apt install grep coreutils util-linux progress\n\n# Arch\nsudo pacman -S grep coreutils util-linux progress\n\n# Fedora\nsudo dnf install grep coreutils util-linux progress\n```\n\n### Quick Run (no installation)\n\nUsing `pipx`:\n\n```bash\nsudo pipx run recoverpy\n```\n\nOr using `uvx`:\n\n```bash\nsudo uvx recoverpy\n```\n\n### Install from PyPI\n\n```bash\npython3 -m pip install recoverpy\nsudo recoverpy\n```\n\n---\n\n## 💻 Usage\n\n1. **Launch RecoverPy:**\n\n```bash\nsudo recoverpy\n```\n\n2. **Select Partition:**  \n   Choose the partition where your lost data resides. If unsure, try scanning your `/home` partition, it might contain editor or IDE backups.\n\n3. **Search Content:**  \n   Enter a unique string from the lost file content. RecoverPy will scan disk blocks to locate matches.\n\n4. **Find \u0026 Recover:**  \n   Results appear interactively. Select a result, preview the block, and save it. Explore neighboring blocks if the file spans multiple disk blocks.\n\n---\n\n## 💡 Recovery Tips\n\n- 🛑 **Unmount partition first:** Reduce risk of data overwriting.\n- 🎯 **Be specific:** Use unique, simple search strings.\n- ⏳ **Act quickly:** The sooner you scan, the higher your recovery chances.\n- 📑 **Check adjacent blocks:** Your file might span several blocks, check them all.\n\n---\n\n## 🤝 Contributing\n\nFound a bug or have an idea? PRs, issues, and suggestions are warmly welcome. Check out our [contributing guide](CONTRIBUTING.md) for how to get involved!\n\n---\n\nIf RecoverPy saved your day, consider ⭐️ starring the repo, thanks for your support!\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpablolec%2Frecoverpy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpablolec%2Frecoverpy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpablolec%2Frecoverpy/lists"}