{"id":19820428,"url":"https://github.com/yodaos-project/voice-interface-google-assistant","last_synced_at":"2026-06-08T18:31:32.150Z","repository":{"id":97066920,"uuid":"213820302","full_name":"yodaos-project/voice-interface-google-assistant","owner":"yodaos-project","description":"Voice Interface Driver for Google Assistant","archived":false,"fork":false,"pushed_at":"2019-11-07T11:51:07.000Z","size":2750,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-07-02T05:02:02.384Z","etag":null,"topics":["google-assistant","voice-interface","yodaos"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"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/yodaos-project.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","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":"2019-10-09T04:23:52.000Z","updated_at":"2024-08-03T15:06:59.000Z","dependencies_parsed_at":"2023-04-22T21:13:46.432Z","dependency_job_id":null,"html_url":"https://github.com/yodaos-project/voice-interface-google-assistant","commit_stats":{"total_commits":39,"total_committers":8,"mean_commits":4.875,"dds":0.3846153846153846,"last_synced_commit":"8e225ff716ba4b5622ea95ee05eb9f7f1a2ec668"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/yodaos-project/voice-interface-google-assistant","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yodaos-project%2Fvoice-interface-google-assistant","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yodaos-project%2Fvoice-interface-google-assistant/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yodaos-project%2Fvoice-interface-google-assistant/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yodaos-project%2Fvoice-interface-google-assistant/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yodaos-project","download_url":"https://codeload.github.com/yodaos-project/voice-interface-google-assistant/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yodaos-project%2Fvoice-interface-google-assistant/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34075952,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-08T02:00:07.615Z","response_time":111,"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":["google-assistant","voice-interface","yodaos"],"created_at":"2024-11-12T10:23:17.293Z","updated_at":"2026-06-08T18:31:32.133Z","avatar_url":"https://github.com/yodaos-project.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Google Assistant SDK for devices - C++\n\n## Requirements\n\nThis project is officially supported on Ubuntu 14.04. Other Linux distributions may be able to run\nthis sample.\n\nRefer to the [Assistant SDK documentation](https://developers.google.com/assistant/sdk/) for more information.\n\n## Setup instructions\n\n### Clean Project\n\n_If you have not setup this project before, you can skip this step._\n\n```\nsudo apt-get purge libc-ares-dev  # https://github.com/grpc/grpc/pull/10706#issuecomment-302775038\nsudo apt-get purge libprotobuf-dev libprotoc-dev\nsudo rm -rf /usr/local/bin/grpc_* /usr/local/bin/protoc \\\n    /usr/local/include/google/protobuf/ /usr/local/include/grpc/ /usr/local/include/grpc++/ \\\n    /usr/local/lib/libproto* /usr/local/lib/libgpr* /usr/local/lib/libgrpc* \\\n    /usr/local/lib/pkgconfig/protobuf* /usr/local/lib/pkgconfig/grpc* \\\n    /usr/local/share/grpc/\n```\n\n### Build Project\n\n1. Clone this project\n```\ngit clone https://github.com/googlesamples/assistant-sdk-cpp.git\ncd assistant-sdk-cpp\nexport PROJECT_PATH=$(pwd)\n```\n\n2. Install dependencies\n```\nsudo apt-get install autoconf automake libtool build-essential curl unzip pkg-config\nsudo apt-get install libasound2-dev  # For ALSA sound output\nsudo apt-get install libcurl4-openssl-dev # CURL development library\n```\n\n3. Build Protocol Buffer, gRPC, and Google APIs\n```\ngit clone -b $(curl -L https://grpc.io/release) https://github.com/grpc/grpc\nGRPC_PATH=${PROJECT_PATH}/grpc\ncd ${GRPC_PATH}\n\ngit submodule update --init\n\ncd third_party/protobuf\n./autogen.sh \u0026\u0026 ./configure \u0026\u0026 make\nsudo make install\nsudo ldconfig\n\nexport LDFLAGS=\"$LDFLAGS -lm\"\ncd ${GRPC_PATH}\nmake clean\nmake\nsudo make install\nsudo ldconfig\n\ncd ${PROJECT_PATH}\ngit clone https://github.com/googleapis/googleapis.git\ncd googleapis/\ngit checkout 980cdfa\nmake LANGUAGE=cpp\n```\n\n4. Make sure you setup environment variable `$GOOGLEAPIS_GENS_PATH`\n```\nexport GOOGLEAPIS_GENS_PATH=${PROJECT_PATH}/googleapis/gens\n```\n\n5. Build this project\n```\ncd ${PROJECT_PATH}\nmake run_assistant\n```\n\n6. Get credentials file. It must be an end-user's credentials.\n\n* Go to the [Actions Console](https://console.actions.google.com/) and register your device model, following [these instructions](https://developers.google.com/assistant/sdk/guides/library/python/embed/register-device)\n* Move it in this folder and rename it to `client_secret.json`\n* run `get_credentials.sh` in this folder. It will create the file `credentials.json`.\n\n7. Start one of the `run_assistant` samples:\n\n```bash\n./run_assistant_file --input ./resources/weather_in_mountain_view.raw --output ./response.wav --credentials ./credentials.json\naplay ./response.wav --rate=16000 --format=S16_LE\n```\n\nOn a Linux workstation, you can alternatively use ALSA for audio input:\n\n```bash\n./run_assistant_audio --credentials ./credentials.json\n```\n\nYou can use a text-based query instead of audio. This allows you to continually enter text queries to the Assistant.\n\n```bash\n./run_assistant_text --credentials ./credentials.json\n```\n\nThis takes input from `cin`, so you can send data to the program when it starts.\n\n```bash\necho \"what time is it\" | ./run_assistant_text --credentials ./credentials.json\n```\n\nTo change the locale, include a `locale` parameter:\n\n```bash\necho \"Bonjour\" | ./run_assistant_text --credentials ./credentials.json --locale \"fr-FR\"\n```\n\nDefault Assistant gRPC API endpoint is `embeddedassistant.googleapis.com`. If you want to test with a custom Assistant gRPC API endpoint, you can pass `--api_endpoint CUSTOM_API_ENDPOINT`.\n\n## Enabling screen output\n\nTo get a visual output from the Assistant, provide a command to be run alongside every step of the conversation. It will execute that command along along with a provided argument of a temporary HTML file.\n\n```bash\necho \"what time is it\" | ./run_assistant_text --credentials ./credentials.json --html_out google-chrome\n```\n\nAfter you enter text, it will run `google-chrome /tmp/google-assistant-cpp-screen-out.html`.\n\nIf you prefer a different program, use that argument instead.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyodaos-project%2Fvoice-interface-google-assistant","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyodaos-project%2Fvoice-interface-google-assistant","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyodaos-project%2Fvoice-interface-google-assistant/lists"}