{"id":20713228,"url":"https://github.com/lawitschka/ex_aws_polly","last_synced_at":"2025-04-23T08:04:21.525Z","repository":{"id":43060758,"uuid":"115257901","full_name":"lawitschka/ex_aws_polly","owner":"lawitschka","description":"ExAws module for AWS Polly Text-to-Speech","archived":false,"fork":false,"pushed_at":"2022-03-23T14:36:50.000Z","size":23,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-23T08:03:54.094Z","etag":null,"topics":["aws","aws-polly","elixir","text-to-speech"],"latest_commit_sha":null,"homepage":"https://hexdocs.pm/ex_aws_polly/ExAws.Polly.html","language":"Elixir","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/lawitschka.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-12-24T11:15:10.000Z","updated_at":"2023-08-23T06:49:01.000Z","dependencies_parsed_at":"2022-09-06T10:51:18.976Z","dependency_job_id":null,"html_url":"https://github.com/lawitschka/ex_aws_polly","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lawitschka%2Fex_aws_polly","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lawitschka%2Fex_aws_polly/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lawitschka%2Fex_aws_polly/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lawitschka%2Fex_aws_polly/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lawitschka","download_url":"https://codeload.github.com/lawitschka/ex_aws_polly/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250395281,"owners_count":21423400,"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":["aws","aws-polly","elixir","text-to-speech"],"created_at":"2024-11-17T02:24:01.987Z","updated_at":"2025-04-23T08:04:21.500Z","avatar_url":"https://github.com/lawitschka.png","language":"Elixir","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ExAws.Polly\n[![Hex.pm](https://img.shields.io/hexpm/v/ex_aws_polly.svg)](https://hex.pm/packages/ex_aws_polly)\n[![Build Docs](https://img.shields.io/badge/hexdocs-release-blue.svg)](https://hexdocs.pm/ex_aws_polly/ExAws.Polly.html)\n\nAWS Polly service module for https://github.com/ex-aws/ex_aws\n\n## Installation\n\nThe package can be installed by adding `ex_aws_polly` to your list of dependencies in `mix.exs`\nalong with `:ex_aws` and your preferred JSON codec / http client\n\n```elixir\ndef deps do\n  [\n    {:ex_aws, \"~\u003e 2.0\"},\n    {:ex_aws_polly, \"~\u003e 0.3.0\"},\n    {:poison, \"~\u003e 3.0\"},\n    {:hackney, \"~\u003e 1.9\"},\n    {:sweet_xml, \"~\u003e 0.6\"}\n  ]\nend\n```\n\n## Usage\n\nTurn text to speech\n```elixir\n{:ok, %{body: audio_data}} =\n  \"Hello world.\"\n  |\u003e ExAws.Polly.synthesize_speech()\n  |\u003e ExAws.request()\n\n{:ok, file} = File.read(\"hello.mp3\", [:write])\nIO.binwrite(file, audio_data)\nFile.close(file)\n```\n\nGet a list of available voices\n```elixir\nExAws.Polly.describe_voices() |\u003e ExAws.request()\n```\n\n## Todo before 2.0 release\n\n- [x] support SynthesizeSpeech action\n- [x] support DescribeVoices action\n- [x] add documentation\n- [ ] add test coverage\n- [ ] support Lexicon actions (ListLexicons, GetLexicon, PutLexicon, DeleteLexicon)\n\n## License\n\nThe MIT License (MIT)\n\nCopyright (c) 2022 Moritz Lawitschka\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in\nall copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\nTHE SOFTWARE.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flawitschka%2Fex_aws_polly","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flawitschka%2Fex_aws_polly","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flawitschka%2Fex_aws_polly/lists"}