{"id":23531045,"url":"https://github.com/mideind/FlutterSnowboy","last_synced_at":"2025-08-28T17:31:04.416Z","repository":{"id":57852263,"uuid":"362208343","full_name":"mideind/FlutterSnowboy","owner":"mideind","description":"Flutter plugin for Snowboy DNN-based hotword detection","archived":false,"fork":false,"pushed_at":"2023-10-11T13:20:07.000Z","size":4214,"stargazers_count":16,"open_issues_count":0,"forks_count":7,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-13T10:32:47.044Z","etag":null,"topics":["android","dart","flutter","flutter-plugin","hotword-detection","hotword-detector","ios","snowboy","wakeword-activation"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mideind.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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}},"created_at":"2021-04-27T18:12:30.000Z","updated_at":"2025-04-11T08:51:50.000Z","dependencies_parsed_at":"2023-02-09T12:46:12.748Z","dependency_job_id":null,"html_url":"https://github.com/mideind/FlutterSnowboy","commit_stats":null,"previous_names":["mideind/fluttersnowboy","mideind/flutter_snowboy"],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/mideind/FlutterSnowboy","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mideind%2FFlutterSnowboy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mideind%2FFlutterSnowboy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mideind%2FFlutterSnowboy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mideind%2FFlutterSnowboy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mideind","download_url":"https://codeload.github.com/mideind/FlutterSnowboy/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mideind%2FFlutterSnowboy/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":272529463,"owners_count":24950240,"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","status":"online","status_checked_at":"2025-08-28T02:00:10.768Z","response_time":74,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["android","dart","flutter","flutter-plugin","hotword-detection","hotword-detector","ios","snowboy","wakeword-activation"],"created_at":"2024-12-25T22:11:57.648Z","updated_at":"2025-08-28T17:31:03.675Z","avatar_url":"https://github.com/mideind.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)\n[![Language](https://img.shields.io/badge/language-dart-lightblue)]()\n[![Language](https://img.shields.io/badge/language-objective--c-lightgrey)]()\n[![Language](https://img.shields.io/badge/language-java-lightgreen)]()\n![Release](https://shields.io/github/v/release/mideind/flutter_snowboy?display_name=tag)\n![pub.dev](https://img.shields.io/pub/v/flutter_snowboy)\n[![Build](https://github.com/mideind/flutter_snowboy/actions/workflows/main.yml/badge.svg)]()\n\n# Flutter Snowboy plugin\n\nThis repository contains the source code to the Flutter Snowboy package.\n[Snowboy](https://github.com/seasalt-ai/snowboy) is a cross-platform\nDNN-based hotword detection toolkit implemented in C++. This package\nmakes it easy to use Snowboy in your Flutter app.\n\nCurrently only iOS and Android are supported.\n\n## Models\n\nThe Flutter Snowboy package requires a working Snowboy detection\nmodel (`pmdl`) to be useful. To train your own model, clone\n[this repo](https://github.com/seasalt-ai/snowboy) and follow\nthe instructions.\n\n## How to use\n\n### Add dependency to project\n\nAdd this to the dependencies list in your `pubspec.yaml` file:\n\n```yaml\n  flutter_snowboy: \"\u003e=0.1.2\"\n```\n\n### Initialize detector\n\n```dart\nimport 'package:flutter_snowboy/flutter_snowboy.dart';\n\n...\n\n// Instantiate\nvar detector = Snowboy();\n\n// Load model and other resources.\n// This is a moderately expensive operation since it involves file I/O.\nvar success = detector.prepare(\"/absolute/path/to/model.pmdl\");\n\n```\n\n### Start\n\n```dart\nvoid hwHandler() {\n    print(\"Hotword detected\");\n}\n\ndetector.hotwordHandler = hwHandler;\n\n// ... get audio data as UInt8List (e.g. via flutter_sound) and feed into\n// the detect function. Audio data should be 16 kHz, 16-bit mono PCM.\n\ndetector.detect(data);\n\n// ... and hwHandler() gets called when the hotword is detected in audio data.\n```\n\n## Contributing\n\nAll contributions are welcome. If you would like to lend and hand, feel free to\nfork this repository and open pull requests.\n\n## Version History\n\n* 0.1.2 - Various fixes (20-05-2023)\n* 0.1.1 - Null safety + minor fixes. Now requires Dart 2.12+ (12-01-2022)\n* 0.1.0 - Initial release (24-08-2021)\n\n## License\n\nflutter_snowboy is Copyright (C) 2021-2023 [Miðeind ehf.](https://mideind.is)  \nSnowboy is Copyright (C) 2016-2020 KITT.AI\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n[https://www.apache.org/licenses/LICENSE-2.0](https://www.apache.org/licenses/LICENSE-2.0)\nor [here](LICENSE)\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmideind%2FFlutterSnowboy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmideind%2FFlutterSnowboy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmideind%2FFlutterSnowboy/lists"}