Unlock Music - Web Edition https://demo.unlock-music.dev/
Go to file
Jixun Wu c66e52f9df chore: remove webpack types 2023-05-07 19:17:58 +01:00
.gitlab/ISSUE_TEMPLATE chore: reformat all files with prettier 2022-11-26 23:26:38 +00:00
img/icons refactor: initial attempt with vue 3 + vite, with some mis-allignments. 2022-11-26 23:21:19 +00:00
patches fix: patch threads to work with production build 2021-12-16 09:47:41 +08:00
scripts ci: skip upload step when api key is empty (usually happens for PR) 2022-11-27 00:43:37 +00:00
src Merge remote-tracking branch 'upstream/master' into migration-to-vue-3 2023-05-07 18:49:47 +01:00
testdata fix(QMCv2): overflow error in js decoder 2022-01-09 10:46:55 +08:00
.browserslistrc init 2019-07-03 22:50:04 +08:00
.drone.yml ci: remove modern build 2022-12-05 21:14:05 +00:00
.editorconfig refactor: initial attempt with vue 3 + vite, with some mis-allignments. 2022-11-26 23:21:19 +00:00
.gitignore chore: remove generated definitions 2022-11-26 23:35:58 +00:00
.gitlab-ci.yml chore: reformat all files with prettier 2022-11-26 23:26:38 +00:00
.nvmrc chore: declare node v18 2022-11-26 21:14:06 +00:00
.prettierignore chore: reformat all files with prettier 2022-11-26 23:26:38 +00:00
.prettierrc.js maintenance: add prettier 2022-01-09 10:38:33 +08:00
Dockerfile Update: [CI] Build Docker Image 2021-02-08 16:08:06 +08:00
LICENSE update copyright year 2023-01-19 19:41:22 +08:00
README.md Merge remote-tracking branch 'upstream/master' into migration-to-vue-3 2023-05-07 18:49:47 +01:00
babel.config.js chore: reformat all files with prettier 2022-11-26 23:26:38 +00:00
extension-manifest.json fix: add missing permission for chrome storage 2022-01-09 10:44:54 +08:00
favicon.ico refactor: initial attempt with vue 3 + vite, with some mis-allignments. 2022-11-26 23:21:19 +00:00
index.html Merge remote-tracking branch 'upstream/master' into migration-to-vue-3 2022-12-05 18:52:21 +00:00
jest.config.js fix: test now passes 2022-12-05 19:59:38 +00:00
make-extension.js chore: reformat all files with prettier 2022-11-26 23:26:38 +00:00
package-lock.json fix: test now passes 2022-12-05 19:59:38 +00:00
package.json fix: test now passes 2022-12-05 19:59:38 +00:00
postcss.config.js chore: reformat all files with prettier 2022-11-26 23:26:38 +00:00
tsconfig.json chore: remove webpack types 2023-05-07 19:17:58 +01:00
vite.config.ts fix: production build + pwa 2022-12-05 19:47:29 +00:00
vue.config.js chore: reformat all files with prettier 2022-11-26 23:26:38 +00:00

README.md

Unlock Music 音乐解锁

Build Status

  • 在浏览器中解锁加密的音乐文件。 Unlock encrypted music file in the browser.
  • Unlock Music 项目是以学习和技术研究的初衷创建的,修改、再分发时请遵循授权协议
  • Unlock Music 的 CLI 版本可以在 unlock-music/cli 找到,大批量转换建议使用 CLI 版本。
  • 我们新建了 Telegram 群组 @unlock_music_chat ,欢迎加入!
  • CI 自动构建已经部署,可以在 UM-Packages 下载

特性

支持的格式

  • QQ 音乐 (.qmc0/.qmc2/.qmc3/.qmcflac/.qmcogg/.tkm)
  • Moo 音乐格式 (.bkcmp3/.bkcflac/...)
  • QQ 音乐 Tm 格式 (.tm0/.tm2/.tm3/.tm6)
  • QQ 音乐新格式 (.mflac/.mgg/.mflac0/.mgg1/.mggl)
  • QQ 音乐海外版JOOX Music (.ofl_en)
  • 网易云音乐格式 (.ncm)
  • 虾米音乐格式 (.xm)
  • 酷我音乐格式 (.kwm)
  • 酷狗音乐格式 (.kgm/.vpr)
  • Android版喜马拉雅文件格式 (.x2m/.x3m)
  • 咪咕音乐格式 (.mg3d)

其他特性

  • 在浏览器中解锁
  • 拖放文件
  • 批量解锁
  • 渐进式 Web 应用 (PWA)
  • 多线程
  • 写入和编辑元信息与专辑封面

使用方法

使用预构建版本

  • ReleaseCI 构建 下载预构建的版本
    • ⚠️ 本地使用请下载legacy版本modern版本只能通过 http(s)协议 访问)
  • 解压缩后即可部署或本地使用(请勿直接运行源代码

自行构建

JS 部分

  • 环境要求
    • nodejs (v16.x)
    • npm
  1. 获取项目源代码后安装相关依赖:

    npm ci
    
  2. 然后进行构建:

    npm run build
    
    • 构建后的产物可以在 dist 目录找到。
    • 如果是用于开发,可以执行 npm run serve
  3. 如需构建浏览器扩展,构建成功后还需要执行:

    npm run make-extension
    

WASM 部分

  • 环境要求

    • Linux
    • python3
  • 运行此目录下的 build-wasm

    ./scripts/build-wasm.sh