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!

A Cheap Fix for Urban Crime

https://www.theatlantic.com/ideas/2026/05/fix-urban-disorder-crime/687205/
1•littlexsparkee•22s ago•0 comments

Ds.shadcn – Components for building design tools like Framer, Canva, and more

https://ds.shadcn.com
1•super256•1m ago•0 comments

Bill C-22's Privacy and Security Risks Will Drive Digital Services Out of Canada

https://www.michaelgeist.ca/2026/05/tech-exodus-why-bill-c-22s-privacy-and-security-risks-will-dr...
2•laurex•2m ago•0 comments

Leibniz's Philosophical Papers

https://leibnizpapers.org/
2•tzury•5m ago•0 comments

Apple's First Retail Stores Opened 25 Years Ago Today

https://www.macrumors.com/2026/05/19/first-apple-stores-opened-25-years-ago/
2•ndr42•6m ago•1 comments

AI Is Too Expensive

https://www.wheresyoured.at/ai-is-too-expensive/
10•crescit_eundo•9m ago•2 comments

Show HN: A small code review extension for zot

https://github.com/patriceckhart/zot-review
7•patriceckhart•10m ago•0 comments

FPGAs Aren't Processors (Unless You Want Them to Be) FPGA Deep Dive and Use [video]

https://www.youtube.com/watch?v=d3nuepnbmC4
3•Imustaskforhelp•10m ago•0 comments

NSF bets $1.5B on startup-style science over open inquiry

https://lightwards.com/article/nsf-bets-15-billion-on-startup-style-science-over-open-inquiry
2•RumbleinJungle•11m ago•0 comments

Agent Bazaar: Enabling Economic Alignment in Multi-Agent Marketplaces

https://arxiv.org/abs/2605.17698
3•milkkarten•13m ago•1 comments

Wild Blueberry Farms Across Maine Suffer as Climate Change Upends Seasons

https://insideclimatenews.org/news/11052026/maine-wild-blueberry-farms-climate-change/
3•speckx•13m ago•0 comments

How Corrupt Is Trump? Here Are the Numbers

https://www.thebulwark.com/p/how-corrupt-is-trump-here-are-the-numbers-trades-chips-nvidia-pardon...
4•rawgabbit•13m ago•0 comments

Launch HN: Superlog (YC P26) – Observability that installs itself and fixes bugs

https://superlog.sh/
8•Magnanten•14m ago•0 comments

Fast16: Sabotage Tool Was Built to Subvert Nuclear Weapons Simulations

https://www.security.com/threat-intelligence/fast16-nuclear-sabotage
3•dboreham•14m ago•0 comments

I've built a virtual museum with nearly every operating system you can think of

https://virtualosmuseum.org/
19•andreww591•15m ago•1 comments

Software companies need more than strong revenue to secure private credit loans

https://pitchbook.com/news/articles/software-companies-need-more-than-strong-revenue-to-secure-pr...
2•petethomas•15m ago•0 comments

Embedding models are coordinate systems. What silently breaks in production RAG

https://internals.laxmena.com/p/your-embedding-model-doesnt-understand
2•laxmena•17m ago•0 comments

Tackling Arbitrary Digital Surveillance in the Americas

https://www.eff.org/wp/tackling-arbitrary-digital-surveillance-americas
3•hn_acker•18m ago•0 comments

The down fall of bug bounties

https://shubs.io/the-down-fall-of-bug-bounties/
2•f311a•18m ago•1 comments

Ask HN: State of Photonic (AI) Computing

5•ramon156•20m ago•0 comments

Microsoft Azure Linux

https://github.com/microsoft/azurelinux/tree/4.0
4•jaboutboul•20m ago•0 comments

A playable Rubik's Cube inside Neovim, with timer and auto-solve

https://github.com/xiangnongWu2233/rubiks-cube.nvim
2•xiangnongWu2233•20m ago•0 comments

How to grow your AEO function (without losing your mind)

https://posthog.com/blog/aeo-advice
2•duck•21m ago•0 comments

Being Wrong in the Same Direction

https://bytecode.news/posts/2026/05/being-wrong-in-the-same-direction
3•jottinger•22m ago•0 comments

1 in 5 Brits think AI layoffs could trigger civil unrest

https://www.theregister.com/ai-ml/2026/05/19/1-in-5-brits-think-ai-layoffs-could-trigger-civil-un...
4•dijksterhuis•22m ago•1 comments

Converting an Integer to a Decimal String in Under Two Nanoseconds

https://onlinelibrary.wiley.com/doi/10.1002/spe.70079
2•mpweiher•24m ago•0 comments

Chinese Sell "Claude" Tokens at 5% Cost While Making Millions

https://twitter.com/HarshalsinghCN/status/2056626175959826692
4•napolux•25m ago•1 comments

Grab Cut Android Studio Sync Times from 35 Minutes to Under 2

https://engineering.grab.com/how-we-improved-android-studio-in-large-monorepo
2•andrewstetsenko•25m ago•0 comments

Claude: "Yes, I did it, it's perfect"

https://www.sudomoin.com/p/claude-yes-i-did-it-its-perfect
2•dimitri-vs•25m ago•0 comments

Trump official helped secure US visa for fugitive Polish minister

https://www.reuters.com/world/europe/trump-official-helped-secure-us-visa-fugitive-polish-ministe...
6•robtherobber•25m ago•1 comments