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•11mo ago

Comments

MaximosMK•11mo 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!

Why the Washington Post Lost in Virginia

https://www.semafor.com/article/04/22/2026/why-the-washington-post-lost-in-virginia
1•lando2319•6m ago•0 comments

BugBash'26 Keynote

http://muratbuffalo.blogspot.com/2026/04/bugbash26-keynote.html
1•zdw•10m ago•0 comments

ICLR 2026 Outstanding Papers

https://blog.iclr.cc/2026/04/23/announcing-the-iclr-2026-outstanding-papers/
1•matt_d•11m ago•0 comments

Kapton Tape

https://en.wikipedia.org/wiki/Kapton
2•lorenzohess•12m ago•0 comments

I am trying to collect a robotics community to learn robotics from scratch

https://v0-haptal-zero-to-working-robot.vercel.app/
1•aaravbedi•12m ago•1 comments

Two Big Loan Defaults Add to Pain in Private-Credit Funds

https://www.wsj.com/finance/investing/two-big-loan-defaults-add-to-pain-in-private-credit-funds-b...
1•petethomas•15m ago•0 comments

The Coding Assistant Breakdown: More Tokens Please

https://newsletter.semianalysis.com/p/the-coding-assistant-breakdown-more
2•swolpers•15m ago•0 comments

The Last of the Lost Generation

https://porticoquarterly.com/book/the-last-of-the-lost-generation/
1•benbreen•15m ago•0 comments

AI written, edited or 'polished' books are being sold

https://theconversation.com/thousands-of-ai-written-edited-or-polished-books-are-being-sold-an-ee...
1•teleforce•15m ago•0 comments

Farewell ISDN, Ham Radio and Old Network Drivers: Linus Merges 138k LOC Removal

https://www.phoronix.com/news/Linux-7.1-Removes-Old-Net
1•voxadam•17m ago•0 comments

2 Men claimed a record by driving an old 3-wheel car length of Africa

https://apnews.com/article/adventure-car-africa-record-reliant-robin-0328f6a9dbcb407d539fe7aabf23...
1•gnabgib•18m ago•0 comments

Ask HN: Are We Destroying Earth?

2•vednig•19m ago•1 comments

Ancient DNA reveals pervasive directional selection across West Eurasia

https://www.nature.com/articles/s41586-026-10358-1
1•wslh•20m ago•0 comments

German cabinet approves 3-month IP address retention

https://europeanconservative.com/articles/news-corner/germany-merz-surveillance-ip-tracking-berli...
2•ExpertAdvisor01•31m ago•1 comments

GCC Establishes Working Group to Decide on AI/LLM Policy

https://www.phoronix.com/news/GCC-Working-Group-AI-Policy
1•breve•38m ago•0 comments

How Hard Is It to Open a File?

https://blog.sebastianwick.net/posts/how-hard-is-it-to-open-a-file/
1•vinhnx•39m ago•0 comments

Hotels are slashing World Cup rates as FIFA cancels rooms

https://moneywise.com/news/top-stories/fifa-world-cup-hotels-rates-tourism-slump
4•vrganj•51m ago•4 comments

Open VSX Sleeper Extensions Linked to GlassWorm Show New Malware Activations

https://socket.dev/blog/73-open-vsx-sleeper-extensions-glassworm
1•salkahfi•54m ago•0 comments

FilamentPHP MCP Server

https://github.com/suwi-lanji/filamentphp-mcp
1•bumi-kitan•57m ago•0 comments

Devin for Terminal

https://devin.ai/terminal
1•nickzana•57m ago•0 comments

The Bizarre Biology of Bdelloid Rotifers

https://biologicalrecording.co.uk/2025/09/23/bdelloid-rotifers/
2•thunderbong•58m ago•0 comments

SpaceX Starship Documentary – Test Like You Fly

https://www.spacex.com/content/starship/test-like-you-fly
1•d_silin•1h ago•0 comments

Xiaomi releases mimo-v2.5 model

https://mimo.xiaomi.com/mimo-v2-5
1•gainsurier•1h ago•0 comments

OpenAI's Sam Altman writes apology to community of Tumbler Ridge

https://www.cbc.ca/news/canada/british-columbia/sam-altman-tumbler-ridge-apology-9.7176482
4•acyou•1h ago•3 comments

Developing Trustworthy Information

https://jessicacanepa.com/blog/developing-trustworthy-information/
3•mooreds•1h ago•0 comments

YC as a Service

https://ycaas.lol
2•ipostragebait•1h ago•1 comments

Firefox Has Integrated Brave's Adblock Engine

https://itsfoss.com/news/firefox-ships-brave-adblock-engine/
20•nreece•1h ago•2 comments

Translinear Circuits as EML Natural Physical Substrate

https://zenodo.org/records/19749753
2•iranssantos•1h ago•1 comments

The Tail End (2015)

https://waitbutwhy.com/2015/12/the-tail-end.html
1•RyanShook•1h ago•0 comments

ZCAM: iOS camera app that cryptographically proves human authorship

https://zcam.succinct.xyz/
1•GZGavinZhao•1h ago•1 comments