{"id":24905792,"url":"https://github.com/thinkphp/view-disk","last_synced_at":"2026-02-15T10:35:57.260Z","repository":{"id":274744895,"uuid":"923893930","full_name":"thinkphp/view-disk","owner":"thinkphp","description":"View disk space usage and delete unwanted data, fast.","archived":false,"fork":false,"pushed_at":"2025-01-29T05:57:36.000Z","size":7,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-09-24T07:58:48.348Z","etag":null,"topics":["cargo","delete-files","delete-folder","disk-usage","rust"],"latest_commit_sha":null,"homepage":"https://crates.io/crates/view-disk","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/thinkphp.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"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":"2025-01-29T02:38:01.000Z","updated_at":"2025-01-29T06:03:16.000Z","dependencies_parsed_at":null,"dependency_job_id":"7e541a49-7d5b-46ad-8026-d07ebea78428","html_url":"https://github.com/thinkphp/view-disk","commit_stats":null,"previous_names":["thinkphp/view-disk"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/thinkphp/view-disk","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thinkphp%2Fview-disk","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thinkphp%2Fview-disk/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thinkphp%2Fview-disk/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thinkphp%2Fview-disk/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/thinkphp","download_url":"https://codeload.github.com/thinkphp/view-disk/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thinkphp%2Fview-disk/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29475747,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-15T10:25:47.032Z","status":"ssl_error","status_checked_at":"2026-02-15T10:25:01.815Z","response_time":118,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["cargo","delete-files","delete-folder","disk-usage","rust"],"created_at":"2025-02-02T00:25:13.040Z","updated_at":"2026-02-15T10:35:57.255Z","avatar_url":"https://github.com/thinkphp.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# View-Disk: Disk Space Usage \u0026 Cleanup Tool\n\nA fast and efficient Rust-based CLI tool to **view disk space usage** and **delete unwanted files or directories**.\n\n## 🚀 Features\n- 📊 **View Disk Space Usage**: Displays total and available disk space.\n- 🗑️ **Delete Files \u0026 Directories**: Remove unwanted data securely.\n- ⚡ **Fast \u0026 Lightweight**: Built with Rust for high performance.\n\n## 📦 Installation\n\n### 1️⃣ **Clone the Repository**\n```sh\ngit clone https://github.com/your-username/view-disk.git\ncd view-disk\n```\n\n### 2️⃣ **Build the Project**\n```sh\ncargo build --release\n```\n\n### 3️⃣ **Run the Executable**\n```sh\n./target/release/view-disk --help\n```\n\n---\n\n## 🛠️ Usage\n\n### ✅ **View Disk Space Usage**\n```sh\ncargo run -- --view\n```\nor, if built:\n```sh\n./target/release/view-disk --view\n```\n\n### 🗑️ **Delete a File**\n```sh\ncargo run -- --delete /path/to/file\n```\n\n### 📂 **Delete a Directory**\n```sh\ncargo run -- --delete /path/to/directory\n```\n\n---\n\n## 📝 Example Output\n```\nDisk Usage:\nName: \"/dev/sda1\", Total: 500000 MB, Available: 320000 MB\n```\nor when deleting:\n```\nFile \"/home/user/old.log\" deleted successfully.\n```\n\n---\n\n## 🔧 Development\n\n### **Run in Debug Mode**\n```sh\ncargo run -- --view\n```\n\n### **Format Code**\n```sh\ncargo fmt\n```\n\n### **Run Clippy for Linting**\n```sh\ncargo clippy\n```\n\n---\n\n## 📜 License\nMIT License © 2025 Your Name\n\n---\n\n## 🤝 Contributing\nPull requests are welcome! Feel free to open an issue for feature requests or bug reports.\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthinkphp%2Fview-disk","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthinkphp%2Fview-disk","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthinkphp%2Fview-disk/lists"}