├── .changeset ├── README.md └── config.json ├── .clang-format ├── .gitattributes ├── .github ├── renovate.json └── workflows │ ├── docs.yml │ ├── release.yml │ └── test.yml ├── .gitignore ├── .gitmodules ├── .husky ├── post-merge └── pre-commit ├── .prettierrc.yml ├── .vscode └── c_cpp_properties.json ├── CHANGELOG.md ├── LICENSE ├── README.md ├── binding.gyp ├── dist └── build.js ├── examples ├── gc.ts ├── manager.ts ├── transcribe-4.ts ├── transcribe-dir.ts └── transcribe.ts ├── package.json ├── pnpm-lock.yaml ├── scripts └── linker.js ├── src ├── binding.ts ├── binding │ ├── binding.cc │ ├── common.cc │ ├── common.h │ ├── model.cc │ ├── model.h │ ├── transcribe.cc │ └── transcribe.h ├── build.ts ├── index.ts ├── model-manager │ └── index.ts ├── model.ts ├── transcribe.ts ├── types.ts └── whisper.ts ├── test ├── __snapshots__ │ └── model.test.ts.snap ├── manager.test.ts └── model.test.ts ├── tsconfig.json └── tsup.config.ts /.changeset/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JacobLinCool/smart-whisper/HEAD/.changeset/README.md -------------------------------------------------------------------------------- /.changeset/config.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JacobLinCool/smart-whisper/HEAD/.changeset/config.json -------------------------------------------------------------------------------- /.clang-format: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JacobLinCool/smart-whisper/HEAD/.clang-format -------------------------------------------------------------------------------- /.gitattributes: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JacobLinCool/smart-whisper/HEAD/.gitattributes -------------------------------------------------------------------------------- /.github/renovate.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JacobLinCool/smart-whisper/HEAD/.github/renovate.json -------------------------------------------------------------------------------- /.github/workflows/docs.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JacobLinCool/smart-whisper/HEAD/.github/workflows/docs.yml -------------------------------------------------------------------------------- /.github/workflows/release.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JacobLinCool/smart-whisper/HEAD/.github/workflows/release.yml -------------------------------------------------------------------------------- /.github/workflows/test.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JacobLinCool/smart-whisper/HEAD/.github/workflows/test.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JacobLinCool/smart-whisper/HEAD/.gitignore -------------------------------------------------------------------------------- /.gitmodules: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JacobLinCool/smart-whisper/HEAD/.gitmodules -------------------------------------------------------------------------------- /.husky/post-merge: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env sh 2 | . "$(dirname -- "$0")/_/husky.sh" 3 | 4 | pnpm i 5 | -------------------------------------------------------------------------------- /.husky/pre-commit: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env sh 2 | . "$(dirname -- "$0")/_/husky.sh" 3 | 4 | pnpm lint-staged 5 | -------------------------------------------------------------------------------- /.prettierrc.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JacobLinCool/smart-whisper/HEAD/.prettierrc.yml -------------------------------------------------------------------------------- /.vscode/c_cpp_properties.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JacobLinCool/smart-whisper/HEAD/.vscode/c_cpp_properties.json -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JacobLinCool/smart-whisper/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JacobLinCool/smart-whisper/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JacobLinCool/smart-whisper/HEAD/README.md -------------------------------------------------------------------------------- /binding.gyp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JacobLinCool/smart-whisper/HEAD/binding.gyp -------------------------------------------------------------------------------- /dist/build.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JacobLinCool/smart-whisper/HEAD/dist/build.js -------------------------------------------------------------------------------- /examples/gc.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JacobLinCool/smart-whisper/HEAD/examples/gc.ts -------------------------------------------------------------------------------- /examples/manager.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JacobLinCool/smart-whisper/HEAD/examples/manager.ts -------------------------------------------------------------------------------- /examples/transcribe-4.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JacobLinCool/smart-whisper/HEAD/examples/transcribe-4.ts -------------------------------------------------------------------------------- /examples/transcribe-dir.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JacobLinCool/smart-whisper/HEAD/examples/transcribe-dir.ts -------------------------------------------------------------------------------- /examples/transcribe.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JacobLinCool/smart-whisper/HEAD/examples/transcribe.ts -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JacobLinCool/smart-whisper/HEAD/package.json -------------------------------------------------------------------------------- /pnpm-lock.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JacobLinCool/smart-whisper/HEAD/pnpm-lock.yaml -------------------------------------------------------------------------------- /scripts/linker.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JacobLinCool/smart-whisper/HEAD/scripts/linker.js -------------------------------------------------------------------------------- /src/binding.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JacobLinCool/smart-whisper/HEAD/src/binding.ts -------------------------------------------------------------------------------- /src/binding/binding.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JacobLinCool/smart-whisper/HEAD/src/binding/binding.cc -------------------------------------------------------------------------------- /src/binding/common.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JacobLinCool/smart-whisper/HEAD/src/binding/common.cc -------------------------------------------------------------------------------- /src/binding/common.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JacobLinCool/smart-whisper/HEAD/src/binding/common.h -------------------------------------------------------------------------------- /src/binding/model.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JacobLinCool/smart-whisper/HEAD/src/binding/model.cc -------------------------------------------------------------------------------- /src/binding/model.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JacobLinCool/smart-whisper/HEAD/src/binding/model.h -------------------------------------------------------------------------------- /src/binding/transcribe.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JacobLinCool/smart-whisper/HEAD/src/binding/transcribe.cc -------------------------------------------------------------------------------- /src/binding/transcribe.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JacobLinCool/smart-whisper/HEAD/src/binding/transcribe.h -------------------------------------------------------------------------------- /src/build.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JacobLinCool/smart-whisper/HEAD/src/build.ts -------------------------------------------------------------------------------- /src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JacobLinCool/smart-whisper/HEAD/src/index.ts -------------------------------------------------------------------------------- /src/model-manager/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JacobLinCool/smart-whisper/HEAD/src/model-manager/index.ts -------------------------------------------------------------------------------- /src/model.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JacobLinCool/smart-whisper/HEAD/src/model.ts -------------------------------------------------------------------------------- /src/transcribe.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JacobLinCool/smart-whisper/HEAD/src/transcribe.ts -------------------------------------------------------------------------------- /src/types.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JacobLinCool/smart-whisper/HEAD/src/types.ts -------------------------------------------------------------------------------- /src/whisper.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JacobLinCool/smart-whisper/HEAD/src/whisper.ts -------------------------------------------------------------------------------- /test/__snapshots__/model.test.ts.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JacobLinCool/smart-whisper/HEAD/test/__snapshots__/model.test.ts.snap -------------------------------------------------------------------------------- /test/manager.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JacobLinCool/smart-whisper/HEAD/test/manager.test.ts -------------------------------------------------------------------------------- /test/model.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JacobLinCool/smart-whisper/HEAD/test/model.test.ts -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JacobLinCool/smart-whisper/HEAD/tsconfig.json -------------------------------------------------------------------------------- /tsup.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JacobLinCool/smart-whisper/HEAD/tsup.config.ts --------------------------------------------------------------------------------