{"id":31802809,"url":"https://github.com/chuwuyo/audiorename","last_synced_at":"2025-10-11T00:56:02.075Z","repository":{"id":295599713,"uuid":"990597826","full_name":"ChuwuYo/AudioRename","owner":"ChuwuYo","description":"使用Node.js从文件元数据获取歌曲名与艺术家名，快速批量对文件重命名","archived":false,"fork":false,"pushed_at":"2025-08-01T15:21:20.000Z","size":1440,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-08-01T16:31:09.475Z","etag":null,"topics":["electron","flac","id3","javascript","mp3","music-metadata","node","nodejs"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ChuwuYo.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-05-26T10:59:26.000Z","updated_at":"2025-08-01T15:21:24.000Z","dependencies_parsed_at":"2025-06-24T04:28:24.465Z","dependency_job_id":"3a43c282-46f7-4896-b0f9-a7dfdc61186c","html_url":"https://github.com/ChuwuYo/AudioRename","commit_stats":null,"previous_names":["chuwuyo/audiorename"],"tags_count":8,"template":false,"template_full_name":null,"purl":"pkg:github/ChuwuYo/AudioRename","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ChuwuYo%2FAudioRename","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ChuwuYo%2FAudioRename/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ChuwuYo%2FAudioRename/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ChuwuYo%2FAudioRename/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ChuwuYo","download_url":"https://codeload.github.com/ChuwuYo/AudioRename/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ChuwuYo%2FAudioRename/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279005650,"owners_count":26083942,"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","status":"online","status_checked_at":"2025-10-10T02:00:06.843Z","response_time":62,"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":["electron","flac","id3","javascript","mp3","music-metadata","node","nodejs"],"created_at":"2025-10-11T00:56:00.678Z","updated_at":"2025-10-11T00:56:02.067Z","avatar_url":"https://github.com/ChuwuYo.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n    \u003cimg src=\"assets/Music.png\" alt=\"icon\" width=\"150\" height=\"150\"\u003e\n    \u003ch1\u003e音频文件批量重命名工具\u003c/h1\u003e\n    \u003cp\u003e一个基于 Electron 构建的桌面应用程序，旨在帮助您轻松地批量重命名音频文件，根据其内置的元数据生成新的文件名。\u003c/p\u003e\n\u003c/div\u003e\n\n## ✨ 功能特性\n\n  * **选择文件或目录**：方便地选择单个音频文件或包含音频文件的整个目录进行处理。\n  * **读取音频元数据**：自动从音频文件中提取艺术家和标题等 ID3 标签信息。\n  * **预览新文件名**：在重命名之前，清晰地预览根据元数据生成的新文件名。\n  * **批量重命名**：一键对选定的所有音频文件进行批量重命名。\n  * **文件名清理**：自动移除或替换文件名中不允许的特殊字符 。\n  * **日志记录**：详细的日志输出，让您清楚地了解文件的处理状态 。\n  * **支持的格式**：`mp3`, `flac`, `ogg`, `m4a`, `aac`, `wma`, `wv`, `opus`, `dsf`, `dff`\n\n## 🚀 快速开始（非开发者请在Release下载打包版本）\n\n### 预备条件\n\n在构建此应用程序之前，请确保您已安装：\n\n  * Node.js (推荐 LTS 版本)\n  * npm (Node.js 安装时通常会包含 npm)\n\n### 安装\n\n1.  克隆本仓库到您的本地计算机：\n\n    ```bash\n    git clone https://github.com/ChuwuYo/AudioRename.git\n    cd AudioRename\n    ```\n\n2.  安装项目依赖：\n\n    ```bash\n    npm install\n    ```\n\n### 运行应用\n\n在开发模式下运行应用程序：\n\n```bash\nnpm start\n```\n\n### 打包应用 (可选)\n\n如果您想为您的操作系统打包应用程序，可以运行以下命令：\n\n```bash\nnpm run dist\n# 或者如果您只想打包，不创建安装程序：\n# npm run pack\n```\n\n打包后的文件将位于 `dist/` 目录下。\n\n## 💡 使用方法\n\n1.  **启动应用**：运行 `npm start` 命令。\n2.  **选择文件或目录**：\n      * 点击 \"选择文件\" 按钮来选择一个或多个音频文件 。\n      * 点击 \"选择目录\" 按钮来选择一个包含音频文件的文件夹 。\n3.  **预览**：一旦文件被选中，应用程序将自动读取它们的元数据并在界面上显示原始文件名和建议的新文件名。\n4.  **开始重命名**：确认预览无误后，点击 \"开始重命名\" 按钮执行重命名操作 。\n5.  **查看日志**：重命名过程中的任何成功、失败或警告信息都将在底部的日志区域显示 。\n\n\n![image](https://github.com/user-attachments/assets/5cb7eacb-dd29-47c5-9584-f6b49947b648)\n\n\n## 🛠️ 技术栈\n\n  * **Electron**: 用于构建跨平台桌面应用程序 。\n  * **Node.js**: 后端逻辑和文件系统操作 。\n  * **music-metadata**: 用于解析音频文件的元数据 (ID3 标签) 。\n  * **HTML/CSS/JavaScript**: 构建用户界面和前端交互 。\n  * **Electron Builder**: 用于应用程序打包和分发 。\n\n## 🤝 贡献\n\n欢迎任何形式的贡献！如果您有改进建议或发现了 Bug，请随时提交 Pull Request 或创建 Issue。\n\n## 📄 许可证\n\n本项目采用 [GNU Affero General Public License v3.0](https://www.google.com/search?q=LICENSE) 许可。\n\n-----\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchuwuyo%2Faudiorename","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchuwuyo%2Faudiorename","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchuwuyo%2Faudiorename/lists"}