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!

Inside Xi Jinping’s Strategy to Export Ideas on State Control

https://www.nytimes.com/2026/05/27/world/asia/china-solomons-pacific-security-threats.html
1•Cider9986•1m ago•0 comments

The Sludge on the Wall

https://grox.io/blog/28-the-sludge-on-the-wall/
1•iroddis•2m ago•0 comments

DNS over HTTPS, DNS over TLS, DNS over QUIC: Encrypted DNS Protocol Comparison

https://www.copahost.com/blog/encrypted-dns/
1•ggallas•2m ago•0 comments

Prosody IM 13.0.6 released – An XMPP/Jabber server written in Lua

https://blog.prosody.im/prosody-13.0.6-released/
1•neustradamus•3m ago•0 comments

Delta Steered Around Airline Industry Chaos

https://www.nytimes.com/2026/05/26/business/delta-airlines-ed-bastian.html
1•Cider9986•3m ago•0 comments

Writing Is Fundamental to How We Think

https://www.nytimes.com/2026/05/27/opinion/writing-creativity-ai.html
1•Cider9986•3m ago•0 comments

Paper from 1967 explaining origins of life was initially rejected 15 times

https://spacedaily.com/n-the-paper-that-explained-why-every-living-thing-on-earth-exists-was-reje...
1•Jimmc414•4m ago•1 comments

Is Peter Thiel the Target of Pope Leo's Gandalf Quote? An Investigation

https://arstechnica.com/tech-policy/2026/05/is-peter-thiel-the-target-of-pope-leos-gandalf-quote-...
1•vintagedave•4m ago•0 comments

Create Business DNA

https://labs.google.com/pomelli/
1•modinfo•9m ago•0 comments

Hilbert Transform as an Infinite Matrix

https://www.johndcook.com/blog/2026/05/23/hilbert-transform-as-an-infinite-matrix/
1•ibobev•10m ago•0 comments

Expected IQ Spread on a Jury

https://www.johndcook.com/blog/2026/05/26/expected-iq-spread-on-a-jury/
3•ibobev•10m ago•0 comments

Show HN: Epstein Index – Stock returns of Epstein-linked companies since 2008

https://epstein-index-six.vercel.app/
1•milanmuriithi•10m ago•0 comments

Hacker Just Revealed Tucker's Social Security Live on the Podcast [video][9 Min]

https://www.youtube.com/watch?v=5HfHvuuAmCQ
1•Bender•10m ago•0 comments

Fast Robot Kinematics and Dynamics in Jax

https://github.com/StanfordASL/frax
1•aanet•10m ago•1 comments

Workshop: Launch sandboxed development environments with a single command

https://ubuntu.com/blog/introducing-workshop-sandboxed-development-environments
1•dgavrilov•11m ago•0 comments

Calculating the expected range of normal samples

https://www.johndcook.com/blog/2026/05/26/calculating-expected-normal-range/
1•ibobev•11m ago•0 comments

Why Good Engineers Become Worse with AI

https://nidhish.dev/writing/good-engineers-worse-with-ai/
1•sneruz•16m ago•0 comments

Ask HN: How should universities teach coding now that every student uses AI?

1•devanshranjan•19m ago•1 comments

The Score: How to Stop Playing Someone Else's Game

https://www.lrb.co.uk/the-paper/v48/n10/david-runciman/trivial-pursuits
1•mitchbob•19m ago•1 comments

OpenAI Foundation commits $250M to help navigate AI disruption

https://www.reuters.com/business/openai-foundation-commits-250-million-help-workers-economies-nav...
1•geox•20m ago•1 comments

The fastest way to say each number

https://thegraycuber.com/fast_numbers/
1•marvinborner•20m ago•0 comments

I turned a 3-hour CSV data entry nightmare into a 10-second QuickBooks import

https://www.indiehackers.com/post/how-i-turned-a-3-hour-csv-data-entry-nightmare-into-a-10-second...
1•finconvertly•21m ago•0 comments

Why recessions are usually just bad luck

https://worksinprogress.co/issue/review-recession-the-real-reasons-economies-shrink-and-what-to-d...
2•paulpauper•21m ago•0 comments

Why AI Pipeline Needs Kafka and How Zilla Makes Kafka AI-Ready

https://www.aklivity.io/post/why-ai-pipeline-needs-kafka-how-zilla-makes-kafka-ai-ready
1•luk212•22m ago•0 comments

Cloudflare on Fire

https://medium.com/@kilian.houpeurt/moley-a-free-open-source-ngrok-alternative-using-cloudflare-f...
1•xonery•23m ago•0 comments

The State of AI and Automation Tools in 2026

https://deepresearch.ninja/2026/05/The-State-of-AI-and-Automation-Tools-in-2026/
2•jackalxyz•23m ago•0 comments

Flatpak Next: Dropping Systemd and X11? [video]

https://www.youtube.com/watch?v=Ys44BKMd7i8
1•LelouBil•26m ago•1 comments

What Does a Marine Sniper Think About War in Iran? [video][19 Mins][Language]

https://www.youtube.com/watch?v=TAT-f1iFxaU
1•Bender•26m ago•0 comments

Meta launches Instagram, Facebook and WhatsApp subscriptions including AI plans

https://techcrunch.com/2026/05/27/meta-officially-launches-instagram-facebook-and-whatsapp-subscr...
3•mfiguiere•27m ago•1 comments

Claude Code's creator on the end of the software engineer

https://www.platformer.news/boris-cherny-interview-ai-jobs/
1•speckx•27m ago•0 comments