{"id":42273310,"url":"https://github.com/matthieuml/whisper-api","last_synced_at":"2026-01-27T07:31:20.360Z","repository":{"id":213273539,"uuid":"729072569","full_name":"matthieuml/whisper-api","owner":"matthieuml","description":"Small Whisper API with a queue system using Celery","archived":false,"fork":false,"pushed_at":"2025-02-01T13:02:35.000Z","size":142,"stargazers_count":2,"open_issues_count":1,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-01T13:36:32.018Z","etag":null,"topics":["celery","flask","whisper"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/matthieuml.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2023-12-08T10:49:10.000Z","updated_at":"2025-01-28T13:09:13.000Z","dependencies_parsed_at":"2024-05-03T22:41:48.915Z","dependency_job_id":"1de174de-154e-42d5-8dca-a9bf0269fca3","html_url":"https://github.com/matthieuml/whisper-api","commit_stats":null,"previous_names":["matthieuml/whisper-api"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/matthieuml/whisper-api","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matthieuml%2Fwhisper-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matthieuml%2Fwhisper-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matthieuml%2Fwhisper-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matthieuml%2Fwhisper-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/matthieuml","download_url":"https://codeload.github.com/matthieuml/whisper-api/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matthieuml%2Fwhisper-api/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28808016,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-27T07:14:39.408Z","status":"ssl_error","status_checked_at":"2026-01-27T07:14:39.098Z","response_time":168,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["celery","flask","whisper"],"created_at":"2026-01-27T07:31:19.575Z","updated_at":"2026-01-27T07:31:20.354Z","avatar_url":"https://github.com/matthieuml.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Whisper API\n\nA lightweight API for Whisper transcription, featuring a queue system with Celery. Designed primarily for API calls, it also includes a simple web interface, and a Flower dashboard is provided for monitoring Celery tasks.\n\n## Project Structure\n```\n├── src\n│   ├── api\n│   │   ├── files\n│   │   ├── models\n│   │   ├── templates\n|   |   |   └── index.html\n|   |   |   └── transcribe.html\n│   │   ├── tests\n│   │   |   └── test.py\n│   │   ├── worker\n│   │   |   └── initialization.py\n│   │   |   └── tasks.py\n│   │   ├── app.py\n│   │   └── utils.py\n│   ├── Dockerfile\n|   ├── entrypoint.sh\n│   ├── guniconf.py\n│   ├── poetry.lock\n│   └── pyproject.toml\n├── .pre-commit-config.yaml\n├── docker-compose-prod.yaml\n├── docker-compose.yaml\n├── LICENSE\n└── README.md\n```\n\n## Getting Started\n\n### Prerequisites\n\nEnsure you have [Docker](https://docs.docker.com/engine/install/) installed. For GPU acceleration, it is highly recommended to install the [NVIDIA Container Runtime](https://docs.docker.com/config/containers/resource_constraints/#gpu).\n\n### Setup\n\n1. Clone the repository\n   ```sh\n   git clone git@github.com:matthieuml/whisper-api.git\n   ```\n2. Create an environment file\n   \n   A template `.env-example` is provided. Copy it to `.env` in the root directory and update the values as needed.\n\n   For security reasons, it is recommended to modify these values.\n   \n   Adjust `WORKER_CONCURRENCY` based on your GPU’s VRAM and the memory requirements of your tasks to prevent failures due to insufficient memory.\n3. Build and start the Docker containers\n   ```sh\n   docker compose -f docker-compose-prod.yaml up\n   ```\n\nOnce running, the API will be available at `http://localhost:8000`, and the Celery dashboard (Flower) will be accessible at `http://localhost:5555`.\n\n## Development\n\n### Environment\n\nTo work with the development environment and apply changes to the API, use the following command:\n```sh\ndocker compose -f docker-compose.yaml up\n```\n\nThe app will automatically update on every change without requiring a server restart.\n\n### Tests\n\nTo run the tests after starting the container, use this command:\n```sh\ndocker compose exec -T \u003capi-container\u003e python -m pytest api/tests/test.py\n```\n\n### Linting\n\nThis project uses [pre-commit](https://pre-commit.com/) to automatically lint the code. To set up the hooks, run:\n```sh\npre-commit install\n```\n\nThe hooks will be executed automatically on every commit to ensure code quality.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmatthieuml%2Fwhisper-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmatthieuml%2Fwhisper-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmatthieuml%2Fwhisper-api/lists"}