frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: I built a GUI/API wrapper for Piper TTS to handle large files

https://github.com/MaximosMK/piper-tts-api-demo
1•MaximosMK•8mo ago

Comments

MaximosMK•8mo ago
Hi HN,

I often found myself wanting to convert large text files (like book chapters or long articles) into audio using the excellent open-source Piper TTS engine. Handling very large inputs directly can be a bit tricky, and I wanted a smoother workflow.

So, I built this project: 1. A simple Flask/Gunicorn API server (`server/piper_api.py`) that wraps the Piper executable. 2. A PySide6 GUI client (`client/piper_api_gui.py`) that interacts with the server.

The key feature is that the client automatically splits large text files into smaller chunks (sentence-like segments), sends these chunks to the API server to be processed in parallel (using Python's `ThreadPoolExecutor`), and then combines the resulting WAV audio snippets back into a single file. This makes synthesizing long texts much more manageable and faster than doing it sequentially.

The tech stack is Python, Flask, Gunicorn, PySide6, and Requests. It's all open source on GitHub.

Happy to answer any questions or hear feedback!

TikTok Strikes Deal for New U.S. Entity, Ending Long Legal Saga

https://www.nytimes.com/2026/01/22/technology/tiktok-deal-oracle-bytedance-china-us.html
3•jbegley•2m ago•0 comments

Why medieval city-builder video games are historically inaccurate (2020)

https://www.leidenmedievalistsblog.nl/articles/why-medieval-city-builder-video-games-are-historic...
2•benbreen•2m ago•0 comments

WAForth: Forth Interpreter+Compiler for WebAssembly

https://github.com/remko/waforth
1•publicdebates•5m ago•0 comments

Clean Web UI for Steve Yegge's Beads

https://github.com/nmelo/bdui
1•nmelo•5m ago•0 comments

Apple's John Ternus Takes over Design in Latest CEO Succession Move – MacRumors

https://www.macrumors.com/2026/01/22/john-ternus-apple-design-lead/
1•latexr•5m ago•0 comments

Guiding the Future of Chainguard OS: Announcing the FUD Committee

https://www.chainguard.dev/unchained/guiding-the-future-of-chainguard-os-announcing-the-fud-commi...
1•milkglass•7m ago•0 comments

Back to Bellevue

https://theamericanscholar.org/back-to-bellevue/
1•prismatic•7m ago•0 comments

Arkansas inmates restricted from receiving physical books, other media directly

https://arkansasadvocate.com/2025/12/19/arkansas-inmates-restricted-from-receiving-physical-books...
2•hn_acker•8m ago•1 comments

The Physicians of Decay

https://tantaman.substack.com/p/the-physicians-of-decay
1•tantaman•8m ago•0 comments

Yabai: A tiling window manager for macOS based on binary space partitioning

https://github.com/asmvik/yabai
2•behnamoh•8m ago•0 comments

Metastable Failures and Interactions Between Systems

https://charap.co/on-metastable-failures-and-interactions-between-systems/
2•PaulHoule•9m ago•0 comments

Node.js: New HackerOne Signal Requirement for Vulnerability Reports

https://nodejs.org/en/blog/announcements/hackerone-signal-requirement
2•latexr•10m ago•0 comments

Ispc: Origins (Part 1)

https://pharr.org/matt/blog/2018/04/18/ispc-origins
1•luu•11m ago•0 comments

Penis Size, height, and body shape influence assessment of male attractiveness

https://journals.plos.org/plosbiology/article?id=10.1371/journal.pbio.3003595
1•doener•12m ago•0 comments

Lessons of Design

https://lessons.design/
2•SouravInsights•12m ago•0 comments

Malignant Narcissism

https://en.wikipedia.org/wiki/Malignant_narcissism
1•u1hcw9nx•15m ago•0 comments

Samsung hits ₩1,000T market cap (~$740B)

https://biz.chosun.com/en/en-finance/2026/01/22/CEEEPNBOIFFCDKMGIT2ISDAENM/
2•xthe•16m ago•0 comments

Is that allowed? Authentication and authorization in Model Context Protocol

https://stackoverflow.blog/2026/01/21/is-that-allowed-authentication-and-authorization-in-model-c...
1•mooreds•16m ago•0 comments

Hidden order in quantum confusion: The pseudogap

https://www.simonsfoundation.org/2026/01/19/hidden-order-in-quantum-confusion-the-pseudogap/
1•hhs•17m ago•0 comments

SSH has no Host header

https://simonwillison.net/2026/Jan/22/ssh-has-no-host-header/
1•gavide•17m ago•0 comments

Cheatsheet for Plots

https://www.hermandaniel.com/blog/20251110-my-cheatsheet-for-plots/
1•kekqqq•23m ago•0 comments

Proposal to add generic methods for Go

https://github.com/golang/go/issues/77273
2•meling•23m ago•0 comments

BIG SCRAPER vs. little scraper GOOGLE, LLC vs. serpapi, llc (3:25-cv-10826) [pdf]

https://ia801008.us.archive.org/25/items/gov.uscourts.cand.461513/gov.uscourts.cand.461513.1.0.pdf
2•1vuio0pswjnm7•26m ago•0 comments

We're Turning Todos into Tasks in Claude Code

https://twitter.com/trq212/status/2014480496013803643
2•hahahacorn•26m ago•0 comments

The battle for blue skies over Beijing leaves farmers cold

https://www.economist.com/china/2026/01/15/the-battle-for-blue-skies-over-beijing-leaves-farmers-...
2•hhs•26m ago•0 comments

ClickUp acquires Codegen, forces users into ClickUp to keep using it

https://clickup.com/blog/clickup-codegen-acquisition/
1•itstimwhite•26m ago•1 comments

Testing if "bash is all you need"

https://vercel.com/blog/testing-if-bash-is-all-you-need
2•handfuloflight•27m ago•0 comments

From Protest to Peril – Cellebrite Used Against Jordanian Civil Society

https://citizenlab.ca/research/from-protest-to-peril-cellebrite-used-against-jordanian-civil-soci...
2•g-b-r•28m ago•0 comments

The Microsoft-OpenAI Files

https://www.geekwire.com/2026/the-microsoft-openai-files-internal-documents-reveal-the-realities-...
2•spooneybarger•28m ago•0 comments

A Complete Guide to Animated Icons and Motion Effects for Web

https://medium.com/@jabrsalm449/bring-your-website-to-life-a-complete-guide-to-animated-icons-and...
2•Jaber_Said•29m ago•0 comments