对 Unlock Music 使用 React 重写(um-react) https://um-react.netlify.app/
Go to file
2023-05-10 22:01:32 +01:00
public initial commit 2023-05-07 20:11:16 +01:00
src feat: get wasm working from libparakeet 2023-05-10 22:01:32 +01:00
.editorconfig chore: add editorconfig 2023-05-08 17:29:00 +01:00
.eslintrc.cjs initial commit 2023-05-07 20:11:16 +01:00
.gitignore initial commit 2023-05-07 20:11:16 +01:00
.npmrc chore: rename dev to start, let pnpm use 18.16 2023-05-07 21:31:46 +01:00
index.html feat: basic ui layout 2023-05-07 23:29:37 +01:00
LICENSE initial commit 2023-05-07 20:11:16 +01:00
package.json feat: get wasm working from libparakeet 2023-05-10 22:01:32 +01:00
pnpm-lock.yaml feat: get wasm working from libparakeet 2023-05-10 22:01:32 +01:00
README.MD docs: add contribution section 2023-05-08 18:02:14 +01:00
tsconfig.json refactor: use ~ as import alias 2023-05-09 01:22:00 +01:00
tsconfig.node.json initial commit 2023-05-07 20:11:16 +01:00
vite.config.ts feat: get wasm working from libparakeet 2023-05-10 22:01:32 +01:00

Getting started

pnpm i
pnpm start

架构

  • 浏览器主线程: 渲染界面,处理 UI 更新
  • Web Worker: 负责计算方面的内容,如内容解密。

数据传输: 生成 blob url (URL.createObjectURL) 然后透过 postMessage 传递给线程,线程利用 fetch API 来获取文件信息。

贡献代码

欢迎贡献代码。请确保:

  • 单元测试的覆盖率不低于主分支的覆盖率;
  • 提交前请使用 Prettier 对代码进行格式化;
  • 提交前请确保 ESLint 不会报告 warning / error

满足上述条件后发起 Pull Request仓库管理员审阅后将合并到主分支。

TODO

  • #6 文件拖放 (利用 react-dropzone?)
  • 各类算法 追踪 crypto 标签
  • #7 简易元数据编辑器
  • #8 添加单元测试