{"id":50758212,"url":"https://github.com/firedev/epub2audiobook","last_synced_at":"2026-06-11T07:30:27.838Z","repository":{"id":340318272,"uuid":"1165499197","full_name":"firedev/epub2audiobook","owner":"firedev","description":"Convert EPUB books to audiobooks using Microsoft Edge TTS. Free, no API key required.","archived":false,"fork":false,"pushed_at":"2026-02-24T10:49:42.000Z","size":12,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-02-24T14:40:12.304Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/firedev.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,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-02-24T08:26:20.000Z","updated_at":"2026-02-24T10:49:46.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/firedev/epub2audiobook","commit_stats":null,"previous_names":["firedev/epub2audiobook"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/firedev/epub2audiobook","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/firedev%2Fepub2audiobook","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/firedev%2Fepub2audiobook/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/firedev%2Fepub2audiobook/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/firedev%2Fepub2audiobook/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/firedev","download_url":"https://codeload.github.com/firedev/epub2audiobook/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/firedev%2Fepub2audiobook/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34188272,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-11T02:00:06.485Z","response_time":57,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":[],"created_at":"2026-06-11T07:30:27.151Z","updated_at":"2026-06-11T07:30:27.827Z","avatar_url":"https://github.com/firedev.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# epub2audiobook\n\nConvert EPUB books to audiobooks using Microsoft Edge TTS. Free, no API key required.\n\nDesigned for Russian-language books but works with any language supported by Edge TTS.\n\n## Install\n\n### macOS\n\n```bash\nbrew install python ffmpeg\ngit clone https://github.com/firedev/epub2audiobook.git\ncd epub2audiobook\npython3 -m venv .venv\nsource .venv/bin/activate\npip install -r requirements.txt\n```\n\n### Linux (Debian/Ubuntu)\n\n```bash\nsudo apt install python3 python3-venv ffmpeg\ngit clone https://github.com/firedev/epub2audiobook.git\ncd epub2audiobook\npython3 -m venv .venv\nsource .venv/bin/activate\npip install -r requirements.txt\n```\n\n## Usage\n\n```bash\n# Russian male voice (default)\npython epub2audio.py book.epub\n\n# Russian female voice\npython epub2audio.py book.epub --voice ru-RU-SvetlanaNeural\n\n# Custom output directory\npython epub2audio.py book.epub --output ./my_audiobook\n\n# Faster speech\npython epub2audio.py book.epub --rate \"+15%\"\n\n# Chapter files only, no combined file\npython epub2audio.py book.epub --no-merge\n```\n\n## Options\n\n| Flag | Default | Description |\n|------|---------|-------------|\n| `epub_file` | required | Path to .epub file |\n| `--voice` | `ru-RU-DmitryNeural` | Edge TTS voice ID |\n| `--output` | `./output` | Output directory |\n| `--no-merge` | false | Keep individual chapter files only, don't concatenate into one MP3 |\n| `--rate` | `+0%` | Speech rate (`+10%`, `-5%`, etc.) |\n\n## Chapter splitting\n\nChapters are split using the EPUB's NCX table of contents, which provides anchor-level granularity. A single HTML file containing multiple chapters (common in FB2-converted EPUBs) is split at each TOC anchor point. Section titles from the TOC (story names, part headings) are preserved as separate short chapters. Falls back to spine-based splitting when no TOC is present.\n\n## Output\n\n```\noutput/\n  book-name/\n    01_Chapter_One.mp3\n    02_Chapter_Two.mp3\n    ...\n    book-name_complete.mp3    # all chapters merged\n```\n\nRe-running is safe — existing chapters and chunks are skipped (0-byte files from failed runs are re-generated). If a network error interrupts conversion, re-run the same command and it picks up from the last successful chunk.\n\n## Voices\n\nRussian voices:\n- `ru-RU-DmitryNeural` — male, clear, neutral\n- `ru-RU-SvetlanaNeural` — female, clear, neutral\n\nList all available voices:\n\n```bash\nedge-tts --list-voices | grep ru-RU\n```\n\nWorks with any Edge TTS voice. For English: `en-US-GuyNeural`, `en-US-JennyNeural`, etc.\n\n## Requirements\n\n- Python 3.10+\n- ffmpeg (for concatenating chapter MP3s)\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffiredev%2Fepub2audiobook","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffiredev%2Fepub2audiobook","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffiredev%2Fepub2audiobook/lists"}