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•1y ago

Comments

MaximosMK•1y 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!

Climate tech companies are pivoting to critical minerals

https://www.technologyreview.com/2026/05/21/1137622/climate-tech-pivot-critical-minerals/
1•joozio•2m ago•0 comments

Expanding the human proteome with microproteins and peptideins – Nature

https://www.nature.com/articles/s41586-026-10459-x
1•janandonly•4m ago•0 comments

Big fears in Big Tech sector over Artificial Intelligence job losses

https://www.rte.ie/news/analysis-and-comment/2026/0524/1574792-tech-job-ai-analysis/
1•austinallegro•12m ago•0 comments

The Whitney Biennial Should Admit That Emilie Gossiaux Wants to Fuck Their Dog

https://www.jenn.site/the-whitney-biennial-should-admit-that-emilie-gossiaux-wants-to-fuck-their-...
2•gyomu•13m ago•0 comments

The Shape of Things

https://dianagabaldon.com/2022/05/the-shape-of-things-2/
1•jruohonen•13m ago•0 comments

Beyond HTTP: Exposing WebRTC and Local Game Servers via UDP Tunnels

https://claude.ai/public/artifacts/e608fb30-b023-4263-b693-ef04fab85be9
1•insta_tunnel•14m ago•0 comments

How should economists treat morality?

https://economist.com/finance-and-economics/2026/05/21/how-should-economists-treat-morality
1•andsoitis•14m ago•0 comments

USDA Conducts Oral Rabies Vaccination Efforts Targeting Wildlife (2025)

https://www.aphis.usda.gov/news/agency-announcements/usda-conducts-2025-oral-rabies-vaccination-e...
1•thunderbong•22m ago•0 comments

Token Price Index

https://tokenpriceindex.com
2•namenumber•22m ago•1 comments

Local LLMs perform better when you teach them to ask before they answer

https://www.xda-developers.com/local-llm-clarifying-questions-system-prompt/
5•froh•26m ago•3 comments

Catastrophe Is Emerging in the Most Vulnerable Places

https://www.nytimes.com/2026/05/18/business/iran-war-somalia-usaid.html
1•johntfella•27m ago•0 comments

Soaring Energy Prices Are Driving a Home Solar Boom

https://oilprice.com/Alternative-Energy/Solar-Energy/Soaring-Energy-Prices-Are-Driving-a-Home-Sol...
2•rustoo•27m ago•0 comments

Watching for File Changes on macOS

https://alexwlchan.net/2026/watch-files-on-macos/
1•subset•28m ago•0 comments

Turned ArXiv into an AI-Agent-Friendly Interface (No Browser Vision Needed)

https://mediause.dev/skills/arxiv
1•yooibox•33m ago•0 comments

Temporal Primer – Building Long-Running Systems

https://arpitbhayani.me/blogs/temporal-primer/
1•BugsBunnyCodes•35m ago•0 comments

The Database Zoo: Exotic Data Storage Engines

https://blog.gaborkoos.com/posts/2025-09-19-The-Database-Zoo-Exotic-Data-Storage-Engines/
1•theanonymousone•38m ago•0 comments

Please stop talking about Gen Z in the office

https://www.ft.com/content/ff49b595-b5ed-4be9-8cb1-1522b7086b28
2•rustoo•42m ago•0 comments

Documenting my immigrant founder's journey in the Bay Area

https://iamandrespalacios.substack.com/p/series-eh-a-founders-journey
1•andres-palacios•44m ago•0 comments

Elon Musk is going all-in on an unproven technology

https://economist.com/briefing/2026/05/21/elon-musk-is-going-all-in-on-an-unproven-technology
2•andsoitis•47m ago•0 comments

Delivery Hero confirms takeover offer from Uber

https://www.reuters.com/business/delivery-hero-confirms-takeover-offer-uber-2026-05-23/
3•thm•1h ago•0 comments

Seeking a Language in Mathematics 1523-1571

https://tyndale.org/journals/reformj01/bmarsden.html
2•jruohonen•1h ago•1 comments

Show HN: Logo Fonts

https://logofonts.surge.sh/
2•stagas•1h ago•0 comments

Why Every IKEA Product Has a Weird Name [video]

https://www.youtube.com/watch?v=c89T2snPvNo
3•vinhnx•1h ago•0 comments

Meta's Claudeonomics leaderboard

https://www.indiatoday.in/technology/news/story/meta-shuts-down-internal-claudeonomics-ai-tool-af...
3•phront•1h ago•0 comments

I tracked down the thief who stole $200k of Lego [video]

https://www.youtube.com/watch?v=wscQpkcwgNU
2•pinkmuffinere•1h ago•1 comments

Limerick

https://www.worldwidewords.org/surprise.html
6•jruohonen•1h ago•0 comments

We Were Wrong About Fasting Study Finds

https://www.sciencealert.com/we-were-wrong-about-fasting-massive-study-finds
4•mikhael•1h ago•0 comments

C Constructs That Still Don't Work in C++ – and a Few That Changed

https://lospino.so/blog/c-constructs-that-still-dont-work-in-cpp/
2•jandeboevrie•1h ago•0 comments

A Data Mining Adventure into the World of Lichess Puzzle Database

https://lichess.org/@/heroku/blog/how-many-different-backrank-mates-are-there/gSUlcRkl
3•heroku•1h ago•0 comments

The Verification Problem (On OpenAI's Erdős Disproof)

https://korbonits.com/blog/2026-05-23-the-verification-problem/
2•korbonits•1h ago•0 comments