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

Comments

MaximosMK•6mo 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 is ChatGPT being sycophantic even when I ask it to be objective?

https://chatgpt.com/share/691b4035-0ed8-800a-bee3-ae68e2a63cbb
1•EGreg•1m ago•1 comments

Parasitic Queen: Now She's Stealing an Ant Fief

https://www.nytimes.com/2025/11/17/science/ant-queens-parasites.html
1•quapster•2m ago•0 comments

Berapa Nomor WhatsApp Tokopedia?

1•DragonR9•2m ago•0 comments

GPUs in 1U: Hypertec's New Immersion Server Maintains Performance Stability

https://www.storagereview.com/review/4-gpus-in-1u-hypertecs-new-immersion-server-maintains-perfor...
1•rbanffy•3m ago•0 comments

Cara Komunikasi Ke CS Pintu

1•TheDarkLegend•3m ago•0 comments

Berapa Nomor WhatsApp Tokopedia?

1•i_am_groot•5m ago•0 comments

Apple's Succession Wars Start. Here's Who Might Take Tim Cook's Spot

https://gizmodo.com/apple-tim-cook-john-ternus-2000686619
1•rbanffy•5m ago•0 comments

Kioxia 245TB SSD

https://www.tomshardware.com/pc-components/ssds/kioxia-unveils-245tb-ssd-the-worlds-highest-capac...
1•tanelpoder•6m ago•0 comments

Europe Begins Rethinking Its Crackdown on Big Tech

https://www.nytimes.com/2025/11/17/technology/europe-big-tech.html
1•fleahunter•8m ago•0 comments

Creating a real-time ray traced physics sandbox with Microsoft Copilot

https://www.hydrogen18.com/blog/microsoft-copilot-generation-of-3d-game.html
1•sidewndr46•9m ago•0 comments

Data scientists need to learn JavaScript

https://blog.engora.com/2025/11/data-scientists-need-to-learn-javascript.html
1•Vermin2000•12m ago•1 comments

Upgrading PostgreSQL with no data loss and minimal downtime

https://palark.com/blog/postgresql-upgrade-no-data-loss-downtime/
2•meysamazad•13m ago•0 comments

AI makes you smarter but none the wiser

https://www.sciencedirect.com/science/article/pii/S0747563225002262
1•geox•13m ago•0 comments

Building a Distributed Priority Queue on Kafka

https://klaviyo.tech/building-a-distributed-priority-queue-in-kafka-1b2d8063649e
1•meysamazad•13m ago•0 comments

The Crypto Industry's $28B in 'Dirty Money'

https://www.nytimes.com/2025/11/17/technology/crypto-exchanges-dirty-money.html
2•ripe•14m ago•0 comments

Hypertension Affects the Brain Much Earlier Than Expected

https://news.weill.cornell.edu/news/2025/11/hypertension-affects-the-brain-much-earlier-than-expe...
1•gmays•14m ago•0 comments

Project Gemini

https://geminiprotocol.net/
1•andsoitis•16m ago•0 comments

So long, and thanks for all the fish: how to escape the Linux networking stack

https://blog.cloudflare.com/so-long-and-thanks-for-all-the-fish-how-to-escape-the-linux-networkin...
1•meysamazad•16m ago•0 comments

WBlock: A New Ad-Blocker for Safari

https://github.com/0xCUB3/wBlock
1•InfiniteVortex•17m ago•1 comments

AI models as standalone P&Ls

https://philippdubach.com/2025/11/09/ai-models-as-standalone-pls/
1•7777777phil•19m ago•0 comments

A Cracker Barrel Vulnerability

https://eaton-works.com/2025/11/17/cracker-barrel-hack/
2•EatonZ•20m ago•0 comments

Could invisible fences be the future of livestock farming?

https://www.euronews.com/next/2025/10/28/sweden-and-denmark-will-soon-legalise-virtual-fencing-wh...
1•PaulHoule•22m ago•0 comments

Experiment: AI workflow for fast SEO-optimized article creation

1•TravisBFirekind•22m ago•0 comments

ROCkN: Providing GPS-quality timing accuracy with portable optical atomic clocks

https://www.darpa.mil/news/2022/accuracy-without-gps
1•fanf2•24m ago•1 comments

Google is killing the open web, part 2

https://wok.oblomov.eu/tecnologia/google-killing-open-web-2/
3•akagusu•25m ago•2 comments

Personal jet airplane testflight 2025/11/08_2 [video]

https://www.youtube.com/watch?v=DXUuExL8Cac
1•mhb•25m ago•0 comments

TapThing – A daily photo challenge with a fixed expiration

https://apps.apple.com/it/app/tapthing/id6753999221
1•KekkoErrico•25m ago•1 comments

Mechanical Power by Linking Earth's Warmth to Space

https://www.ucdavis.edu/news/mechanical-power-linking-earths-warmth-space
2•janpio•25m ago•1 comments

WhatsApp is breaking through Apple's Walled Garden

https://www.wsj.com/tech/personal-tech/whatsapp-iphone-ipad-apple-392131e7
1•aquir•26m ago•0 comments

Trump-Licensed Presidential Seal Beer Pong Set, Bible Could Violate Federal Law

https://www.forbes.com/sites/zacheverson/2025/11/14/trump-beer-pong-lee-greenwood-presidential-se...
8•stopbulying•27m ago•5 comments