├── .eslintrc.cjs ├── .gitignore ├── Dockerfile ├── README.md ├── bun.lockb ├── package.json ├── src ├── controllers │ ├── ping.ts │ └── transcribe.ts └── server │ ├── handler │ ├── commands.ts │ ├── getCommand.ts │ └── handle.ts │ ├── net │ └── setCors.ts │ ├── readme.md │ └── server.ts └── tsconfig.json /.eslintrc.cjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Illyism/openai-whisper-api/HEAD/.eslintrc.cjs -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | .env 2 | gha-creds-*.json 3 | dist 4 | node_modules 5 | tmp -------------------------------------------------------------------------------- /Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Illyism/openai-whisper-api/HEAD/Dockerfile -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Illyism/openai-whisper-api/HEAD/README.md -------------------------------------------------------------------------------- /bun.lockb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Illyism/openai-whisper-api/HEAD/bun.lockb -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Illyism/openai-whisper-api/HEAD/package.json -------------------------------------------------------------------------------- /src/controllers/ping.ts: -------------------------------------------------------------------------------- 1 | export default async function ping() { 2 | return Date.now() 3 | } 4 | -------------------------------------------------------------------------------- /src/controllers/transcribe.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Illyism/openai-whisper-api/HEAD/src/controllers/transcribe.ts -------------------------------------------------------------------------------- /src/server/handler/commands.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Illyism/openai-whisper-api/HEAD/src/server/handler/commands.ts -------------------------------------------------------------------------------- /src/server/handler/getCommand.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Illyism/openai-whisper-api/HEAD/src/server/handler/getCommand.ts -------------------------------------------------------------------------------- /src/server/handler/handle.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Illyism/openai-whisper-api/HEAD/src/server/handler/handle.ts -------------------------------------------------------------------------------- /src/server/net/setCors.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Illyism/openai-whisper-api/HEAD/src/server/net/setCors.ts -------------------------------------------------------------------------------- /src/server/readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Illyism/openai-whisper-api/HEAD/src/server/readme.md -------------------------------------------------------------------------------- /src/server/server.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Illyism/openai-whisper-api/HEAD/src/server/server.ts -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Illyism/openai-whisper-api/HEAD/tsconfig.json --------------------------------------------------------------------------------