# d2rItemFilter **Repository Path**: ghostweo/d2r-item-filter ## Basic Information - **Project Name**: d2rItemFilter - **Description**: 暗黑破坏神2重制版地面物品过滤器 - **Primary Language**: JavaScript - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 5 - **Forks**: 4 - **Created**: 2022-02-13 - **Last Updated**: 2026-01-13 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README Based on the code search results and the structure of the project, here is the README.md content tailored for this project: --- # D2R Item Filter 这是一个基于 Tauri、Vue 和 TypeScript 的应用程序,旨在为《暗黑破坏神 II:重制版》(Diablo II: Resurrected, 简称 D2R) 提供强大的物品过滤功能。该工具可以帮助玩家更高效地筛选和管理游戏中的物品,提升游戏体验。 ## 功能特性 - **物品过滤**:根据玩家需求自定义过滤规则,快速筛选出有价值的物品。 - **界面友好**:采用 Vue 构建的直观用户界面,易于操作。 - **跨平台支持**:基于 Tauri 构建,支持多平台运行。 - **自定义配置**:支持自定义过滤规则和配置文件,满足不同玩家的需求。 - **实时预览**:提供实时物品预览功能,方便玩家快速决策。 ## 技术栈 - **前端**:Vue + TypeScript - **后端**:Tauri (Rust) - **构建工具**:Vite - **UI 框架**:tailwindcss ## 开发环境搭建 ### 安装依赖 确保你已经安装了以下工具: - [Node.js](https://nodejs.org) - [pnpm](https://pnpm.io) - [Rust](https://www.rust-lang.org) - [Tauri CLI](https://tauri.app) ```bash # 安装项目依赖 pnpm install ``` ### 运行开发服务器 ```bash # 启动开发服务器 pnpm dev ``` ### 构建生产版本 ```bash # 构建生产环境版本 pnpm build ``` ### 启动 Tauri 应用 ```bash # 启动 Tauri 应用 pnpm tauri dev ``` ## 项目结构 ``` tauri-app/ ├── src-tauri/ # Tauri 后端代码(Rust) ├── src/ # Vue 前端代码 │ ├── components/ # Vue 组件 │ ├── assets/ # 静态资源 │ ├── common/ # 公共工具和类型定义 │ └── App.vue # 根组件 ├── public/ # 静态资源(图标、图片等) ├── package.json # 项目依赖配置 └── README.md # 项目说明文档 ``` ## 贡献指南 欢迎贡献代码和改进!请遵循以下步骤: 1. Fork 本项目 2. 创建新分支 (`git checkout -b feature/new-feature`) 3. 提交更改 (`git commit -am 'Add new feature'`) 4. 推送分支 (`git push origin feature/new-feature`) 5. 创建 Pull Request ## 许可证 本项目使用 MIT 许可证。详情请查看 [LICENSE](LICENSE) 文件。 ## 联系方式 如果你有任何问题或建议,请通过以下方式联系我们: - 邮箱: [ghostweo@qq.com](mailto:ghostweo@qq.com) - Gitee: [https://gitee.com/ghostweo/d2r-item-filter](https://gitee.com/ghostweo/d2r-item-filter) --- 请根据实际需求进一步调整和扩展此 README 文件。