2019-08-25 14:27:11 +08:00
# Unlock Music 音乐解锁
2021-02-08 12:11:45 +08:00
- 在浏览器中解锁加密的音乐文件。 Unlock encrypted music file in the browser.
2020-04-23 21:10:25 +08:00
- unlock-music项目是以学习和技术研究的初衷创建的, 修改、再分发时请遵循[License ](https://github.com/ix64/unlock-music/blob/master/LICENSE )
2020-07-19 00:03:41 +08:00
- Unlock Music的CLI版本正在开发中。
- 我们新建了Telegram群组, 欢迎加入! [https://t.me/unlock_music_chat ](https://t.me/unlock_music_chat )
2021-01-10 16:38:03 +08:00
- [CLI版本 Alpha ](https://github.com/unlock-music/cli ) 大批量转换建议使用CLI版本
2021-02-08 12:11:45 +08:00
- [相关的其他项目 ](https://github.com/ix64/unlock-music/wiki/%E5%92%8CUnlockMusic%E7%9B%B8%E5%85%B3%E7%9A%84%E9%A1%B9%E7%9B%AE )
2021-02-08 20:05:10 +08:00



2019-11-10 17:25:01 +08:00
2021-02-08 12:11:45 +08:00
## 特性
### 支持的格式
2020-04-23 21:10:25 +08:00
- [x] QQ音乐 (.qmc0/.qmc2/.qmc3/.qmcflac/.qmcogg/[.tkm ](https://github.com/ix64/unlock-music/issues/9 ))
2021-02-08 12:11:45 +08:00
- [x] 写入封面图片
2020-04-23 21:10:25 +08:00
- [x] Moo音乐格式 ([.bkcmp3/.bkcflac ](https://github.com/ix64/unlock-music/issues/11 ))
- [x] QQ音乐Tm格式 (.tm0/.tm2/.tm3/.tm6)
- [x] QQ音乐新格式 (实验性支持)
2021-02-08 12:11:45 +08:00
- [x] .mflac
- [x] [.mgg ](https://github.com/ix64/unlock-music/issues/3 )
2020-04-23 21:10:25 +08:00
- [x] 网易云音乐格式 (.ncm)
2021-02-08 12:11:45 +08:00
- [x] 补全ncm的ID3/FlacMeta信息
2020-04-23 21:10:25 +08:00
- [x] 虾米音乐格式 (.xm) (测试阶段)
- [x] 酷我音乐格式 (.kwm) (测试阶段)
2021-02-08 12:11:45 +08:00
- [x] 酷狗音乐格式 (
.kgm) ([CLI版本 ](https://github.com/ix64/unlock-music/wiki/%E5%85%B6%E4%BB%96%E9%9F%B3%E4%B9%90%E6%A0%BC%E5%BC%8F%E5%B7%A5%E5%85%B7#%E9%85%B7%E7%8B%97%E9%9F%B3%E4%B9%90-kgmvpr%E8%A7%A3%E9%94%81%E5%B7%A5%E5%85%B7 ))
### 其他特性
2020-04-23 21:10:25 +08:00
- [x] 在浏览器中解锁
- [x] 拖放文件
- [x] 在线播放
- [x] 批量解锁
- [x] 渐进式Web应用
2021-02-08 12:11:45 +08:00
- [x] 多线程
2020-04-23 21:10:25 +08:00
2021-02-08 12:11:45 +08:00
## 使用方法
2021-02-18 20:08:25 +08:00
### 安装浏览器扩展
[](https://chrome.google.com/webstore/detail/gldlhhhmienbhlpkfanjpmffdjblmegd)
[<img src="https://developer.microsoft.com/en-us/store/badges/images/Chinese_Simplified_get-it-from-MS.png" height="60" alt="Microsoft Edge Addons"/> ](https://microsoftedge.microsoft.com/addons/detail/ggafoipegcmodfhakdkalpdpcdkiljmd )
[](https://addons.mozilla.org/zh-CN/firefox/addon/unlock-music/)
2021-02-08 12:11:45 +08:00
### 使用已构建版本
2019-07-03 22:50:04 +08:00
2020-04-22 06:43:40 +00:00
- 从[GitHub Release ](https://github.com/ix64/unlock-music/releases/latest )下载已构建的版本
2021-02-08 12:11:45 +08:00
- 本地使用请下载`legacy版本` ( `modern版本` 只能通过**http/https协议**访问)
2020-04-22 06:43:40 +00:00
- 解压缩后即可部署或本地使用(**请勿直接运行源代码**)
2019-07-03 22:50:04 +08:00
2021-02-08 20:05:10 +08:00
### 使用Docker镜像
```shell
docker run --name unlock-music -d -p 8080:80 ix64/unlock-music
```
2021-02-08 12:11:45 +08:00
### 自行构建
- 环境要求
- nodejs
- npm
2019-11-30 21:10:40 +08:00
1. 获取项目源代码后执行 `npm install` 安装相关依赖
2. 执行 `npm run build` 即可进行构建,构建输出为 dist 目录
2021-02-08 20:05:10 +08:00
- `npm run serve` 可用于开发
2021-02-08 12:11:45 +08:00
3. 如需构建浏览器扩展, build完成后还需要执行`npm run make-extension`