{"id":27390296,"url":"https://github.com/ailispaw/google-assistant-sdk","last_synced_at":"2026-02-25T20:04:10.485Z","repository":{"id":89119637,"uuid":"127350707","full_name":"ailispaw/Google-Assistant-SDK","owner":"ailispaw","description":"Google Assistant SDK with Vagrant and VirtualBox","archived":false,"fork":false,"pushed_at":"2018-09-26T23:55:44.000Z","size":4,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-13T19:51:49.894Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":null,"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/ailispaw.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,"zenodo":null}},"created_at":"2018-03-29T21:46:53.000Z","updated_at":"2018-09-26T23:52:33.000Z","dependencies_parsed_at":"2023-06-14T01:00:11.228Z","dependency_job_id":null,"html_url":"https://github.com/ailispaw/Google-Assistant-SDK","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ailispaw/Google-Assistant-SDK","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ailispaw%2FGoogle-Assistant-SDK","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ailispaw%2FGoogle-Assistant-SDK/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ailispaw%2FGoogle-Assistant-SDK/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ailispaw%2FGoogle-Assistant-SDK/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ailispaw","download_url":"https://codeload.github.com/ailispaw/Google-Assistant-SDK/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ailispaw%2FGoogle-Assistant-SDK/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29837474,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-25T19:08:47.527Z","status":"ssl_error","status_checked_at":"2026-02-25T18:59:04.705Z","response_time":61,"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":[],"created_at":"2025-04-13T19:39:37.087Z","updated_at":"2026-02-25T20:04:10.481Z","avatar_url":"https://github.com/ailispaw.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Google Assistant SDK with Vagrant and VirtualBox\n\nhttps://developers.google.com/assistant/sdk/overview\n\n## Configure the Audio\n\nYou may need to change the Audio Host Driver using `--audio` in Vagrantfile as below.  \nYou can see the available selections in the Settings of VirtualBox Manager while the VM is stopping. \n\n```ruby\n  config.vm.provider :virtualbox do |vb|\n    vb.customize \"pre-boot\", [\n      \"modifyvm\", :id,\n      \"--audio\", \"coreaudio\",\n      \"--audiocontroller\", \"ac97\",\n    ]\n  end\n```\n\nCf.) https://www.virtualbox.org/manual/ch08.html#vboxmanage-modifyvm-other\n\n\u003e --audio none|null|dsound|oss|alsa|pulse|coreaudio: With this setting, you can specify whether the VM should have audio support, and – if so – which type. The list of supported audio types depends on the host and can be determined with VBoxManage modifyvm.\n\n\u003e --audiocontroller ac97|hda|sb16: With this setting, you can specify the audio controller to be used with this VM.\n\n## Boot up and Install the SDK and Sample Code\n\n```\n$ vagrant up\n```\n\nCf.) https://developers.google.com/assistant/sdk/guides/library/python/embed/install-sample\n\n## Test the Audio\n\n```\n$ vagrant ssh\nvagrant@assistant:~$ aplay -l\n**** List of PLAYBACK Hardware Devices ****\ncard 0: I82801AAICH [Intel 82801AA-ICH], device 0: Intel ICH [Intel 82801AA-ICH]\n  Subdevices: 1/1\n  Subdevice #0: subdevice #0\nvagrant@assistant:~$ arecord -l\n**** List of CAPTURE Hardware Devices ****\ncard 0: I82801AAICH [Intel 82801AA-ICH], device 0: Intel ICH [Intel 82801AA-ICH]\n  Subdevices: 1/1\n  Subdevice #0: subdevice #0\ncard 0: I82801AAICH [Intel 82801AA-ICH], device 1: Intel ICH - MIC ADC [Intel 82801AA-ICH - MIC ADC]\n  Subdevices: 1/1\n  Subdevice #0: subdevice #0\nvagrant@assistant:~$ amixer set Master 100%\nSimple mixer control 'Master',0\n  Capabilities: pvolume pswitch pswitch-joined\n  Playback channels: Front Left - Front Right\n  Limits: Playback 0 - 31\n  Mono:\n  Front Left: Playback 31 [100%] [0.00dB] [on]\n  Front Right: Playback 31 [100%] [0.00dB] [on]\nvagrant@assistant:~$ aplay /usr/share/sounds/alsa/Front_Center.wav\nPlaying WAVE '/usr/share/sounds/alsa/Front_Center.wav' : Signed 16 bit Little Endian, Rate 48000 Hz, Mono\n```\n\n## Configure a Developer Project and Account Settings\n\n- Follow https://developers.google.com/assistant/sdk/guides/library/python/embed/config-dev-project-and-account\n\n## Register a Device Model\n\n- Follow https://developers.google.com/assistant/sdk/guides/library/python/embed/register-device\n- Download a credentials file (OAuth2 client secret) and place it in this directory where the Vagrantfile is.\n\n## Generate Credentials for the Google Assistant API\n\n```\n$ vagrant ssh\nvagrant@assistant:~$ source env/bin/activate\n(env) vagrant@assistant:~$ google-oauthlib-tool --scope https://www.googleapis.com/auth/assistant-sdk-prototype --save --headless --client-secrets /vagrant/credentials.json\n```\n\nCf.) https://developers.google.com/assistant/sdk/guides/library/python/embed/install-sample#generate_credentials\n\n## Run a Sample Code\n\n```\n(env) vagrant@assistant:~$ googlesamples-assistant-hotword --project_id aiy-voice-kit-196422 --device_model_id google-assistant-sdk-001\n(env) vagrant@assistant:~$ googlesamples-assistant-pushtotalk --project-id aiy-voice-kit-196422 --device-model-id google-assistant-sdk-001 --lang ja_jp\n```\n\nCf.)\n- https://developers.google.com/assistant/sdk/guides/library/python/embed/run-sample\n- https://developers.google.com/assistant/sdk/guides/service/python/embed/run-sample\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Failispaw%2Fgoogle-assistant-sdk","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Failispaw%2Fgoogle-assistant-sdk","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Failispaw%2Fgoogle-assistant-sdk/lists"}