{"id":22870292,"url":"https://github.com/dadav/aws-polly-anki-addon21","last_synced_at":"2025-03-31T11:26:20.554Z","repository":{"id":47306205,"uuid":"258296222","full_name":"dadav/aws-polly-anki-addon21","owner":"dadav","description":"You can add aws polly audio files to your decks","archived":false,"fork":false,"pushed_at":"2022-12-08T09:39:09.000Z","size":6239,"stargazers_count":2,"open_issues_count":3,"forks_count":0,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-02-06T16:58:47.858Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","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/dadav.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}},"created_at":"2020-04-23T18:30:48.000Z","updated_at":"2023-03-05T08:09:37.000Z","dependencies_parsed_at":"2023-01-25T11:30:14.083Z","dependency_job_id":null,"html_url":"https://github.com/dadav/aws-polly-anki-addon21","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/dadav%2Faws-polly-anki-addon21","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dadav%2Faws-polly-anki-addon21/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dadav%2Faws-polly-anki-addon21/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dadav%2Faws-polly-anki-addon21/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dadav","download_url":"https://codeload.github.com/dadav/aws-polly-anki-addon21/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246460344,"owners_count":20781100,"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":[],"created_at":"2024-12-13T13:14:25.678Z","updated_at":"2025-03-31T11:26:20.519Z","avatar_url":"https://github.com/dadav.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ankipo\nThis addon let's you add audio from (aws) polly to your deck.\n\n[Ankiweb(2090845100)](https://ankiweb.net/shared/info/2090845100)\n\n## config\n```json\n{\n  \"access_id\": \"\",\n  \"access_key\": \"\",\n  \"audio_field\": \"audio\",\n  \"engine\": \"standard\",\n  \"query_fields\": [\"text\"],\n  \"query_fields_seperator\": \"\u003cbreak/\u003e\",\n  \"template\": \"{text}\",\n  \"region\": \"eu-west-1\",\n  \"voice\": \"\"\n}\n```\n\n- **access_id**: The id (NOT YOUR LOGIN CREDENTIAL) of the aws account you want to use.\n- **access_key**: The key (NOT THE PASSWORD) for the aws account you want to use.\n- **audio_field**: The name of the audio field you want to save the audio reference to.\n- **engine**: The name of the engine you want to use (standard or neural).\n- **query_fields**: A list of fields you want the audio from.\n- **query_fields_seperator**: The seperator that will be used to combine those fields.\n- **template**: The template you can use to supply some ssml decorators. You can also use **{combined}** or single field names as a reference like **{field1}**, **{field2}**. The have to be in the **query_fields** list tho.\n- **region**: The region of your aws instance.\n- **voice**: The aws polly voice you want to use.\n\n### example\n\nIf I would want to create a audio file from the fields **singular1** and **singular2**, which\ncontain the first and second conjugated forms of some german verb,\nseperated by a short break of 1s and save the result to the **audio** field,\nI would do it like this:\n\n```json\n{\n  \"access_id\": \"idididididididid\",\n  \"access_key\": \"keykeykeykeykey\",\n  \"audio_field\": \"audio\",\n  \"engine\": \"standard\",\n  \"query_fields\": [\"singular1\", \"singular2\"],\n  \"query_fields_seperator\": \"\u003cbreak time=\\\"1s\\\"\u003e\",\n  \"template\": \"{combined}\",\n  \"region\": \"eu-west-1\",\n  \"voice\": \"Hans\"\n}\n```\n\nyou could also change the template to this (same result):\n\n```json\n{\n\"template\": \"{singular1}\u003cbreak time=\\\"1s\\\"\u003e{singular2}\"\n}\n```\n\nor this (same result):\n\n```json\n{\n\"template\": \"\u003cspeak\u003e{singular1}\u003cbreak time=\\\"1s\\\"\u003e{singular2}\u003c/speak\u003e\"\n}\n```\n\n## ssml\n[Link to docs](https://docs.aws.amazon.com/polly/latest/dg/supportedtags.html)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdadav%2Faws-polly-anki-addon21","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdadav%2Faws-polly-anki-addon21","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdadav%2Faws-polly-anki-addon21/lists"}