{"id":21869656,"url":"https://github.com/xalpharax/edge-tts-gradio","last_synced_at":"2026-03-05T08:02:22.970Z","repository":{"id":265155049,"uuid":"895298078","full_name":"xAlpharax/edge-tts-gradio","owner":"xAlpharax","description":"Gradio Interface for Text-To-Speech using Edge TTS.","archived":false,"fork":false,"pushed_at":"2025-03-10T19:47:10.000Z","size":41,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-28T11:44:48.406Z","etag":null,"topics":["docker","docker-compose","docker-container","docker-image","dockerfile","edge-tts","gradio","pyenv","text-to-speech","tts","tts-engines"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/xAlpharax.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2024-11-28T00:06:13.000Z","updated_at":"2025-03-10T19:47:13.000Z","dependencies_parsed_at":null,"dependency_job_id":"81d846de-bb7b-441b-b104-2e71f1418c28","html_url":"https://github.com/xAlpharax/edge-tts-gradio","commit_stats":null,"previous_names":["xalpharax/edge-tts-gradio"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/xAlpharax/edge-tts-gradio","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xAlpharax%2Fedge-tts-gradio","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xAlpharax%2Fedge-tts-gradio/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xAlpharax%2Fedge-tts-gradio/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xAlpharax%2Fedge-tts-gradio/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/xAlpharax","download_url":"https://codeload.github.com/xAlpharax/edge-tts-gradio/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xAlpharax%2Fedge-tts-gradio/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30115662,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-05T03:40:26.266Z","status":"ssl_error","status_checked_at":"2026-03-05T03:39:15.902Z","response_time":93,"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":["docker","docker-compose","docker-container","docker-image","dockerfile","edge-tts","gradio","pyenv","text-to-speech","tts","tts-engines"],"created_at":"2024-11-28T06:08:40.350Z","updated_at":"2026-03-05T08:02:22.954Z","avatar_url":"https://github.com/xAlpharax.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# edge-tts-gradio\n\nGradio Interface for Text-To-Speech using Edge TTS. It has support for many languages and voices, including Romanian, and offers pretty great accuracy.\n\n## Setup\n\nPython `3.10.14` is used for this project. You can use `pyenv` to manage the python versions (I really recommend `pyenv`, in fact I will make a guide for it). I used Python for the server side script and Node.js for the client side since it works best with the async nature of edge-tts apparently.\n\n```bash\npyenv install 3.10.14\n\npyenv virtualenv edge-tts-gradio\npyenv activate edge-tts-gradio\n\npip install -r requirements.txt\n\npython app.py\n```\n\nNow you can open the browser and go to `http://0.0.0.0:7861/` to see the Gradio Interface with Edge TTS available to use, you can also look at the API specification for it. `Ctrl + C` to stop the server. A simple API example is found under `./test_api` in JavaScript, you will need `npm` and `node`.\n\n```bash\ncd test_api\n\nnpm install\n\nnode test_tts_edge.js\n```\n\n## Docker\n\nYou can also run the server in a docker container, you can build the image and run it with the following commands:\n\n```bash\ndocker build -t edge-tts-gradio .\n\ndocker run -d -p 7861:7861 --name edge-tts-gradio edge-tts-gradio\n\n#when stopping the container\n#docker stop edge-tts-gradio\n\n#when removing the container\n#docker rm edge-tts-gradio\n\n#when removing the image\n#docker rmi edge-tts-gradio\n\n#to remove everything related to docker (sometimes needed, quick reference)\n#docker system prune -a --volumes --force\n```\n\nOr use docker-compose:\n\n```bash\n#to start a container\ndocker-compose up\n\n#start as a daemon\n#docker-compose up -d\n\n#when stopping the container\n#docker-compose down\n```\n\nRemember you can always remove the `-d` flag for debugging purposes.\n\n**You can modify the port the application is running on by setting the PORT environment variable in `.env`.**\n\n## Contributing\n\nI'm actively supporting FOSS collaboration, so, if you feel like you can help in any way, file an issue in the *Issues* tab or submit a Pull Request and I will go through it.\n\n## License\n\nCopyright (C) xAlpharax\n\nThis program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.\n\nThis program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.\n\nYou should have received a copy of the GNU Affero General Public License along with this program. If not, see https://www.gnu.org/licenses/.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxalpharax%2Fedge-tts-gradio","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxalpharax%2Fedge-tts-gradio","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxalpharax%2Fedge-tts-gradio/lists"}