{"id":13583509,"url":"https://github.com/taeukkang/google-home-push","last_synced_at":"2025-04-06T21:32:07.843Z","repository":{"id":28417152,"uuid":"118329594","full_name":"taeukkang/google-home-push","owner":"taeukkang","description":"Send Push Notifications to your Google Home device","archived":false,"fork":false,"pushed_at":"2023-08-16T01:56:27.000Z","size":36,"stargazers_count":52,"open_issues_count":3,"forks_count":11,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-04-24T11:14:41.156Z","etag":null,"topics":["google-cast","google-home","push","push-notifications"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/taeukkang.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2018-01-21T11:43:42.000Z","updated_at":"2024-01-16T18:26:23.000Z","dependencies_parsed_at":"2024-01-24T13:04:14.141Z","dependency_job_id":null,"html_url":"https://github.com/taeukkang/google-home-push","commit_stats":null,"previous_names":["taeukkang/google-home-push"],"tags_count":9,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/taeukkang%2Fgoogle-home-push","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/taeukkang%2Fgoogle-home-push/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/taeukkang%2Fgoogle-home-push/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/taeukkang%2Fgoogle-home-push/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/taeukkang","download_url":"https://codeload.github.com/taeukkang/google-home-push/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247550646,"owners_count":20956985,"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":["google-cast","google-home","push","push-notifications"],"created_at":"2024-08-01T15:03:31.785Z","updated_at":"2025-04-06T21:32:07.562Z","avatar_url":"https://github.com/taeukkang.png","language":"JavaScript","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"readme":"# google-home-push\nSend push notifications to your Google Home device.\n\n## Installation\n```\n$ npm install --save google-home-push\n```\n\n## Usage\n```js\nconst GoogleHome = require(\"google-home-push\");\n\n// Pass the name or IP address of your device\nconst myHome = new GoogleHome(\"192.168.0.5\");\n\nmyHome.speak(\"Hello world!\");\nmyHome.push(\"https://example.com/music.mp3\");\n```\n\n## Example\n### Using different languages\n```js\nlet options = {\n    language: \"ko\"\n};\n\nconst myHome = new GoogleHome(\"192.168.0.5\", options);\nmyHome.speak(\"안녕하세요!\");           // Will speak in Korean as it follows the options\nmyHome.speak(\"Bonjour!\", \"fr\");     // Will speak in French as the optional language argument is passed\n```\nPass the `language` option from the [following list](https://cloud.google.com/translate/docs/languages). The default is set as English.\n\n## API\n### new GoogleHome(deviceIdentifier, [options])\nCreates an `instantce` of GoogleHome.\n\n#### deviceIdentifier\nType: `string`\n\nAccepts valid IP addresses or device name.\n\n#### options\nType: `Object`\n\n| Property | Type | Default | Description |\n| --- | --- | --- | ---|\n| language | string | `en` | Default language that would be used by the `.speak()` function |\n| speed | number | 1 | Default speed that would be used by the `.speak()` function |\n| timeout | number | `5000` | Duration for device searching in milliseconds |\n\n### .speak(message, [language])\n#### message\nType: `string`\n\nText that would be notified using the Google TTS\n\n#### language\nType: `string`\n\nLanguage that would be used to TTS the message. If one is not passed, then it would fall back to one set in the options.\nPass the `language` option from the [following list](https://cloud.google.com/translate/docs/languages).\n\n### .push(url)\n#### url\nType: `string`\n\nA valid media URL that would be cast\n\n## License\n[MIT](https://github.com/taeukme/google-home-push/blob/master/LICENSE.md)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftaeukkang%2Fgoogle-home-push","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftaeukkang%2Fgoogle-home-push","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftaeukkang%2Fgoogle-home-push/lists"}