{"id":32127513,"url":"https://github.com/2bitbit/trash4wsl-in-vscode","last_synced_at":"2026-05-27T07:00:33.023Z","repository":{"id":296019726,"uuid":"992056433","full_name":"2bitbit/trash4wsl-in-vscode","owner":"2bitbit","description":"trash for WSL and Remote-SSH in VS Code","archived":false,"fork":false,"pushed_at":"2026-04-03T15:06:48.000Z","size":7104,"stargazers_count":13,"open_issues_count":1,"forks_count":2,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-04-03T17:46:45.092Z","etag":null,"topics":["remote","remote-ssh","trash","vscode","vscode-extension","wsl","wsl2"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/2bitbit.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-05-28T14:50:03.000Z","updated_at":"2026-04-03T15:06:38.000Z","dependencies_parsed_at":"2025-08-20T15:17:50.812Z","dependency_job_id":"00c54138-7a81-4684-9624-2fc1c0b48f43","html_url":"https://github.com/2bitbit/trash4wsl-in-vscode","commit_stats":null,"previous_names":["2bitbit/trash4wsl-in-vscode"],"tags_count":8,"template":false,"template_full_name":null,"purl":"pkg:github/2bitbit/trash4wsl-in-vscode","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/2bitbit%2Ftrash4wsl-in-vscode","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/2bitbit%2Ftrash4wsl-in-vscode/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/2bitbit%2Ftrash4wsl-in-vscode/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/2bitbit%2Ftrash4wsl-in-vscode/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/2bitbit","download_url":"https://codeload.github.com/2bitbit/trash4wsl-in-vscode/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/2bitbit%2Ftrash4wsl-in-vscode/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33554780,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-05-27T02:00:06.184Z","response_time":53,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["remote","remote-ssh","trash","vscode","vscode-extension","wsl","wsl2"],"created_at":"2025-10-21T00:19:42.144Z","updated_at":"2026-05-27T07:00:33.004Z","avatar_url":"https://github.com/2bitbit.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# trash4wsl-in-vscode \u003cimg src=\"./trash4wsl-icon.png\" alt=\"demo\" width=\"50\" height=\"auto\" align=\"center\"\u003e\n\n\u003cpre align=\"center\"\u003e 简体中文  |  \u003ca href=\"https://github.com/2bitbit/trash4wsl-in-vscode/blob/main/docs/README_en.md\"\u003eEnglish\u003c/a\u003e\u003c/pre\u003e\n\n在VSCode WSL(或其他 remote 连接)中，再也不用担心误删文件造成的不可逆损失。现在有了一个迷人且极速安全的**原生回收站**（基于底层 Rust Native API 高性能重写，免依赖）。\n\n\u003cimg src=\"./trash4wsl-demo.gif\" alt=\"demo\" width=\"500\" height=\"auto\"\u003e\n\n## ✨ 功能特色\n- 📂 **支持多根工作区隔离**：精准识别和清理不同工作区的数据，避免误删。\n- 🚀 **纯原生极速实现**：底层引擎通过 `NAPI-RS` + Rust `trash` 重构跨界，**零外部依赖**无缝衔接系统底层，极限提升响应速度。\n- 🎨 **精美的系统级视图面板**：拥有简洁舒适交互的回收站管理视窗，原生支持文件实时搜索、单次隔离恢复、全部危险级清空。\n- 🛡️ **严格的安全注入保护**：通过全原生 C-ABI 参数传值，免疫所有的系统级 Shell 及命令行注入风险。\n- 🐧 **跨发行版适配架构**：内置分装了对 Linux `x64` 和 `arm64` (`aarch64`) 的多核支持，通杀各项 WSL1/WSL2 发行版，以及任何遵循 FreeDesktop XDG 标准的 Remote SSH Linux 主机。\n- ⚡ **开箱即用无阻力**：不用再由于环境缺少 Python 依赖抓耳挠腮，享受极速部署。\n\n## 如何使用\n1. 直接在 VSCode Marketplace 搜索 `trash4WSL-in-vscode` 并安装插件。\n2. 在左侧资源管理器中选中你想清理的文件（支持多选），右键选择 `丢入回收站 (Trash It)`，或者直接施放快捷键 `delete` 即可删除。\n3. `ctrl+shift+p` 执行命令或使用快捷键 `ctrl+shift+delete`，将在主编辑区打开宏伟的「工作区回收站」详情面板，进行相关后悔药操作。\n\n\u003e温馨提示：其底层标准严格遵守 FreeDesktop Trash 规范体系，所以你在插件内删除的数据、都会无缝与系统桌面默认回收站生态共存（存放路径通常为：`~/.local/share/Trash/`）。\n\n--- \n\n若这个插件保护了您的重要代码，请在 GitHub 上大方地赐予一颗星星哦 ⭐，这对我是莫大的动力激励。\n\u003cp align=\"center\"\u003e\u003cstrong\u003eEnjoy! 祝愿你早安午安晚安\u003c/strong\u003e\u003c/p\u003e\n\u003cp align=\"center\"\u003eCo-build with \u003cstrong\u003eAI\u003c/strong\u003e\u003c/p\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F2bitbit%2Ftrash4wsl-in-vscode","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F2bitbit%2Ftrash4wsl-in-vscode","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F2bitbit%2Ftrash4wsl-in-vscode/lists"}