{"id":25735461,"url":"https://github.com/latticemage/browser-tts","last_synced_at":"2026-04-19T19:33:11.321Z","repository":{"id":275322253,"uuid":"925748118","full_name":"LatticeMage/Browser-TTS","owner":"LatticeMage","description":"read selected content in browser","archived":false,"fork":false,"pushed_at":"2025-02-25T12:51:03.000Z","size":42,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-25T13:36:17.971Z","etag":null,"topics":["flask","geckodriver","pyttsx3","selenium","text-to-speech","tts","windows"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":false,"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/LatticeMage.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}},"created_at":"2025-02-01T16:49:26.000Z","updated_at":"2025-02-25T12:51:06.000Z","dependencies_parsed_at":"2025-02-01T17:43:15.621Z","dependency_job_id":null,"html_url":"https://github.com/LatticeMage/Browser-TTS","commit_stats":null,"previous_names":["latticemage/browser-tts"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LatticeMage%2FBrowser-TTS","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LatticeMage%2FBrowser-TTS/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LatticeMage%2FBrowser-TTS/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LatticeMage%2FBrowser-TTS/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/LatticeMage","download_url":"https://codeload.github.com/LatticeMage/Browser-TTS/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240796239,"owners_count":19858978,"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":["flask","geckodriver","pyttsx3","selenium","text-to-speech","tts","windows"],"created_at":"2025-02-26T05:22:54.663Z","updated_at":"2026-04-19T19:33:11.252Z","avatar_url":"https://github.com/LatticeMage.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Browser-TTS\n\n\n\n![](./cover.webp)\n\nThe core functionality is triggered when a user selects text in the browser and clicks a dynamically injected \"Speak\" button. This repository implements a system that enables text-to-speech (TTS) functionality for selected text within a web browser using Selenium, Firefox, and a local Flask server.  \n\n## Requirement\n\n* Win10 have japanese lang installed\n* Firefox browse ```about:profiles``` create new profile\n* Browser driver such gecko, and Setting file ```config.ini``` :\n    ```\n    [Settings]\n    gecko_driver_path = \u003cpath-to-gecko\u003e\n    firefox_profile_path = /home/you/.mozilla/firefox/xxxxxxxx.default-release\n    ```\n* env \n```\npip install -r requirements.txt\n```\n\n## Usage\n\n**Start the Flask server:**\n\n    ```bash\n    python tts_server.py\n    ```\n\n**Run the frontend script:**\n\n    ```bash\n    python frontend.py\n    ```\n\nFlow:\n1.  Open a web page in the Firefox instance launched by the script.\n2.  Select any text on the page.\n3.  A \"Speak\" button will appear near the selected text.\n4.  Click the \"Speak\" button.\n5.  The selected text will be spoken aloud.\n\n\n## Configuration\n\nchange tts speed\n```python\n        # Set a slower rate (default rate may be around 200). Experiment for best result.\n        self.engine.setProperty('rate', 150)  # You can adjust this value\n```\n\n## License\n\nThis project is licensed under the [MIT License](LICENSE).","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flatticemage%2Fbrowser-tts","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flatticemage%2Fbrowser-tts","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flatticemage%2Fbrowser-tts/lists"}