{"id":15051152,"url":"https://github.com/brucewind/localwhisperapiservice","last_synced_at":"2026-03-16T20:03:03.041Z","repository":{"id":257564849,"uuid":"858658817","full_name":"BruceWind/LocalWhisperAPIService","owner":"BruceWind","description":null,"archived":false,"fork":false,"pushed_at":"2025-02-09T04:48:47.000Z","size":16,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-09T05:26:32.654Z","etag":null,"topics":["openai-whisper","transcribe","whisper"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/BruceWind.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-09-17T09:58:46.000Z","updated_at":"2025-02-09T04:48:50.000Z","dependencies_parsed_at":"2024-09-23T13:30:22.351Z","dependency_job_id":null,"html_url":"https://github.com/BruceWind/LocalWhisperAPIService","commit_stats":null,"previous_names":["brucewind/localwhisperapiservice"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BruceWind%2FLocalWhisperAPIService","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BruceWind%2FLocalWhisperAPIService/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BruceWind%2FLocalWhisperAPIService/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BruceWind%2FLocalWhisperAPIService/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/BruceWind","download_url":"https://codeload.github.com/BruceWind/LocalWhisperAPIService/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243513325,"owners_count":20302928,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["openai-whisper","transcribe","whisper"],"created_at":"2024-09-24T21:31:19.424Z","updated_at":"2025-12-28T20:34:58.541Z","avatar_url":"https://github.com/BruceWind.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# LocalWhisperAPIService\nWhisper Speech Recognition API\n\nThis is an API service built on OpenAI's Whisper speech recognition model. It can convert uploaded audio files into text.\n\n## Features\n\n• Supports uploading of various common audio formats, including WAV, MP3, FLAC, OGG, M4A, WebM, AAC, WMA, AIFF, and CAF.\n• Based on the Whisper model, supports recognition of multiple languages\n• RESTful API interface, convenient for frontend integration\n• Health check endpoint for monitoring service status\n\n## Tech Stack\n\n• Python 3.8+\n• FastAPI Web framework\n• Whisper speech recognition model\n• (Other dependencies)\n\n## Installation and Deployment\n\n1. Clone the code repository\n2. (Option A) Using virtual environment:\n   a. Create a virtual environment:\n      python3 -m venv myvenv\n   b. Activate the virtual environment:\n      - On Windows: `myvenv\\Scripts\\activate`\n      - On macOS and Linux: `source myvenv/bin/activate`\n   c. Before installing dependencies, open the `requirements.txt` file and modify the `tokenizers` line:\n      - Find the line starting with `https://files.pythonhosted.org/packages/...`\n      - Replace it with the appropriate wheel URL for your system. For example:\n        - For Python 3.10 on Linux: use the existing URL\n        - For other systems: visit https://pypi.org/project/tokenizers/#files, find the appropriate wheel for your system, and use its URL\n   d. Install dependencies: `pip install -r requirements.txt`\n   e. Start the API service: `uvicorn app.main:app --reload`\n3. (Option B) Using Docker:\n   a. Build the Docker image:\n      `docker build -t localwhisperapi .`\n   b. Run the Docker container:\n      `docker run -d -p 8000:8000 localwhisperapi`\n4. Visit http://localhost:8000/docs to view the API documentation\n\n## Usage\n\n1. Health Check:\n   - GET request to the /ping endpoint\n   - Returns a status indicating if the service is healthy\n\n2. Transcription:\n   - POST audio files to the /transcribe endpoint\n   - Supported audio formats: WAV, MP3, FLAC, OGG, M4A, WebM, AAC, WMA, AIFF, CAF\n   - The result returned is a JSON object containing the transcribed text content\n\nExample using curl:\n\nContributing\n\nIssues and Pull Requests are welcome!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrucewind%2Flocalwhisperapiservice","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbrucewind%2Flocalwhisperapiservice","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrucewind%2Flocalwhisperapiservice/lists"}