{"id":25227729,"url":"https://github.com/general-developer/whisper_library","last_synced_at":"2025-04-05T13:15:52.574Z","repository":{"id":276766381,"uuid":"930170227","full_name":"General-Developer/whisper_library","owner":"General-Developer","description":"Whisper Is Library for transcribe sound wav AKA Speech To Text Or Extract Text From Audio","archived":false,"fork":false,"pushed_at":"2025-03-29T13:02:47.000Z","size":18240,"stargazers_count":20,"open_issues_count":0,"forks_count":2,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-03-29T13:36:38.593Z","etag":null,"topics":["ai","artificial-intelligence","dart","flutter","ggml","machine-learning","ml","openai","speech-to-text","transcribe","translate","whisper"],"latest_commit_sha":null,"homepage":"https://www.youtube.com/@general_dev","language":"C++","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/General-Developer.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":".github/FUNDING.yaml","license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":["azkadev","generalfoss","general-developer"]}},"created_at":"2025-02-10T07:35:19.000Z","updated_at":"2025-03-29T13:02:50.000Z","dependencies_parsed_at":"2025-03-29T13:33:31.374Z","dependency_job_id":"a262671f-5692-45ba-8b53-2788ef7c56a1","html_url":"https://github.com/General-Developer/whisper_library","commit_stats":null,"previous_names":["general-developer/whisper_library"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/General-Developer%2Fwhisper_library","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/General-Developer%2Fwhisper_library/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/General-Developer%2Fwhisper_library/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/General-Developer%2Fwhisper_library/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/General-Developer","download_url":"https://codeload.github.com/General-Developer/whisper_library/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247339155,"owners_count":20923014,"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":["ai","artificial-intelligence","dart","flutter","ggml","machine-learning","ml","openai","speech-to-text","transcribe","translate","whisper"],"created_at":"2025-02-11T09:09:14.300Z","updated_at":"2025-04-05T13:15:52.553Z","avatar_url":"https://github.com/General-Developer.png","language":"C++","funding_links":["https://github.com/sponsors/azkadev","https://github.com/sponsors/generalfoss","https://github.com/sponsors/general-developer"],"categories":[],"sub_categories":[],"readme":"# Whisper Library\n \n**Whisper Library** Is library for transcribe sound to wav\n\n[![](https://raw.githubusercontent.com/General-Developer/whisper_library/refs/heads/main/assets/demo_background.png)](https://youtu.be/drlqUwJEOg4)\n\n[![](https://raw.githubusercontent.com/globalcorporation/.github/main/.github/logo/powered.png)](https://www.youtube.com/@Global_Corporation)\n\n**Copyright (c) 2024 GLOBAL CORPORATION - GENERAL DEVELOPER**\n\n## 📚️ Docs\n\n1. [Documentation](https://youtube.com/@GENERAL_DEV)\n2. [Youtube](https://youtube.com/@GENERAL_DEV)\n3. [Telegram Support Group](https://t.me/DEVELOPER_GLOBAL_PUBLIC)\n4. [Contact Developer](https://github.com/General-Developer) (check social media or readme profile github)\n\n## 🔖️ Features\n\n1. [x] 📱️ **Cross Platform** support (Device, Edge Severless functions)\n2. [x] 📜️ **Standarization** Style Code\n3. [x] ⌨️ **Cli** (Terminal for help you use this library or create project)\n4. [x] 🔥️ **Api** (If you developer bot / userbot you can use this library without interact cli just add library and use 🚀️)\n5. [x] 🧩️ **Customizable Extension** (if you want add extension so you can more speed up on development)\n6. [x] ✨️ **Pretty Information** (user friendly for newbie)\n \n## ❔️ Fun Fact\n\n- **This library 100%** use on every my create project (**App, Server, Bot, Userbot**)\n\n- **This library 100%** support all models from [whisper.cpp](https://github.com/ggerganov/whisper.cpp) (depending on your device specs, if high then it can be up to turbo, but if low, just choose tiny/small)\n \n## 📈️ Proggres\n \n- **10-02-2025**\n  Starting **Release Stable** With core Features\n\n## Resources\n\n1. [MODEL](https://huggingface.co/ggerganov/whisper.cpp/tree/main)\n\n### 📥️ Install Library\n\n1. **Dart**\n\n```bash\ndart pub add whisper_library_dart\n```\n\n2. **Flutter**\n\n```bash\nflutter pub add whisper_library_flutter ggml_library_flutter\n```\n\n## 🚀️ Quick Start\n\nExample Quickstart script minimal for insight you or make you use this library because very simple\n\n```dart\n\nimport 'dart:io';\nimport 'package:general_lib/general_lib.dart';\nimport 'package:whisper_library_dart/whisper_library_dart.dart';\n\nvoid main(List\u003cString\u003e args) async {\n  print(\"start\");\n\n  /// make sure you have downloaded model\n  final String whisperModelPath =\n      \"../../../../../big-data/ai/whisper-ggml/ggml-small.bin\";\n  final WhisperLibrary whisperLibrary = WhisperLibrary(\n    libraryWhisperPath: \"../whisper_library_flutter/linux/libwhisper.so\",\n  );\n  await whisperLibrary.ensureInitialized();\n  final isLoadedModel = whisperLibrary.loadWhisperModel(\n    whisperModelPath: whisperModelPath,\n  );\n  if (isLoadedModel == false) {\n    print(\"cant loaded\");\n    exit(1);\n  }\n  final File fileWav = File(\n    \"../../native_lib/lib/whisper.cpp/samples/jfk.wav\",\n  );\n  await Future.delayed(Duration(seconds: 2));\n  DateTime dateTime = DateTime.now();\n  final result = await whisperLibrary.transcribeToJson(\n    fileWav: fileWav,\n    useCountProccecors: 1,\n    useCountThread: (Platform.numberOfProcessors / 2).toInt(),\n  );\n  print(\"seconds: ${DateTime.now().difference(dateTime)}\");\n  result.printPretty();\n  exit(0);\n}\n\n```\n\n## Reference\n\n1. [Azkadev-Whisper](https://github.com/azkadev/whisper)\n  Original Idea and concept library + Developer Maintance this library\n2. [Ggerganov-whisper.cpp](https://github.com/ggerganov/whisper.cpp)\n  ffi bridge main script so that this program can run\n\n\n**Copyright (c) 2024 GLOBAL CORPORATION - GENERAL DEVELOPER**\n\n\n## Example Project Use This Library\n\n\n- [Whisper Application](https://github.com/General-Developer/whisper_library/tree/main/examples/whisper_app)\n    \nMinimal simple application example of using whisper library [Youtube Video](https://youtu.be/U-5EDMk0UgE) \n| Mobile                                                                                                                                  | Desktop |\n|-----------------------------------------------------------------------------------------------------------------------------------------|---------|\n| [![](https://raw.githubusercontent.com/General-Developer/whisper_library/refs/heads/main/assets/examples/whisper_app/mobile.png)](https://youtu.be/U-5EDMk0UgE) | [![](https://raw.githubusercontent.com/General-Developer/whisper_library/refs/heads/main/assets/examples/whisper_app/desktop.png)](https://youtu.be/U-5EDMk0UgE)        |\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgeneral-developer%2Fwhisper_library","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgeneral-developer%2Fwhisper_library","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgeneral-developer%2Fwhisper_library/lists"}