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!

RFC Index

https://www.ietf.org/rfc/rfc-index.txt
1•1vuio0pswjnm7•2m ago•0 comments

Why We've Filed a Referendum

https://www.stopstratos.org
1•mrwaffle•2m ago•0 comments

Don't just paste the AI at me

https://dontquotetheai.com/
3•khaosdoctor•5m ago•0 comments

CypherLoc, an advanced browser-locking scareware targeting millions

https://blog.barracuda.com/2026/05/20/threat-spotlight-cypherloc-scareware
2•croes•8m ago•0 comments

Abc

2•j_zhan•12m ago•0 comments

Did Google's AI agents build an operating system for $916?

https://www.normaltech.ai/p/did-googles-ai-agents-really-build
3•randomwalker•13m ago•0 comments

T

4•j_zhan•15m ago•1 comments

AI and doctrinal collapse

https://www.stanfordlawreview.org/print/article/ai-and-doctrinal-collapse/
1•hhs•16m ago•0 comments

Jailbroken Gemini helped Russian-speaking fraudster target MAGA crypto users

https://www.theregister.com/cyber-crime/2026/05/22/jailbroken-gemini-helped-russian-speaking-frau...
1•lschueller•18m ago•0 comments

Who's to Blame When an Ivy League President Drives into His Students?

https://www.theringer.com/2026/05/22/national-affairs/cornell-car-scandal-president-michael-kotli...
2•hn_acker•19m ago•2 comments

Show HN: BonzAI – self-sovereign, local LLM inference in the browser

https://www.bonzai.sh/
1•wilhempujar•19m ago•0 comments

Show HN: Logatory – local-first log analysis and threat detection, no SIEM

https://github.com/T0nd3/logatory
1•T0nd3•19m ago•0 comments

Bug 1950764: Work Around Crash on Intel Raptor Lake CPU

https://phabricator.services.mozilla.com/D301917
1•luu•20m ago•0 comments

MCP-safeguard: Automated security scanner for MCP servers (52 detection rules)

https://github.com/SyedAnas01/mcp-safeguard
1•Anas1371•21m ago•0 comments

Ford Enters Battery Storage Business

https://www.fromtheroad.ford.com/us/en/articles/2026/introducing-ford-energy
1•foxfired•21m ago•0 comments

Dehydration's role in learning and memory

https://www.cshl.edu/dehydrations-role-in-learning-and-memory/
1•hhs•25m ago•0 comments

High-Volume VRP Optimization at Amazon Scale on a Raspberry Pi 400

https://medium.com/@martinvizzolini/i-ran-the-amazon-last-mile-routing-challenge-on-a-raspberry-p...
1•pantherolive•26m ago•0 comments

Uber, Meta hinder users’ ability to control data, study says

https://news.bloomberglaw.com/privacy-and-data-security/uber-meta-make-it-hard-for-users-to-stop-...
1•hhs•28m ago•0 comments

Reverse Engineering: Dagda and Wolf's Lair bugs fixed after 21 years (2022)

https://i-war2.com/news/181-dagda-and-wolf%E2%80%99s-lair-bugs-fixed-after-21-years
1•sigma5•29m ago•0 comments

Two Loops: How China's Open AI Strategy Reinforces Its Industrial Dominance [pdf]

https://www.uscc.gov/sites/default/files/2026-03/Two_Loops--How_Chinas_Open_AI_Strategy_Reinforce...
1•robocat•31m ago•0 comments

The First Hit Is Free

https://whattotelltherobot.com/p/the-first-hit-is-free
1•stefie10•35m ago•0 comments

Jira IS Turing-Complete

https://seriot.ch/computation/jira.html
1•beefburger•38m ago•0 comments

Show HN: Synchole is a native P2P data transfer protocol library in Rust

https://github.com/doshareme/synchole
2•vednig•40m ago•0 comments

Starship Launch – Everyday Astronaut [video]

https://www.youtube.com/watch?v=odWYDx3u8A4
5•cwillu•42m ago•0 comments

Ontology vs. Semantic Layer

https://lowhangingdata.com/article/ontology-vs-semantic-layer/
1•mryagerr•46m ago•0 comments

I'm Tired of Listening to Nerds and Dweebs (2025) [video]

https://www.youtube.com/watch?v=3S9OZTQa0eY
2•TMWNN•47m ago•0 comments

Triumph of the Nerds

https://en.wikipedia.org/wiki/Triumph_of_the_Nerds
1•evo_9•51m ago•0 comments

Only 17% of all 64-bit Integers are products of two 32-bit integers

https://lemire.me/blog/2026/05/22/only-17-of-all-64-bit-integers-are-products-of-two-32-bit-integ...
2•yacin•51m ago•0 comments

DeadBro – Lightweight APM for Rails apps (N+1 detection, error tracking, alerts)

https://www.deadbro.com/
1•deadbro•52m ago•0 comments

LT2: Linear-Time Looped Transformers

https://charlesdddd.github.io/lt2/
2•matt_d•55m ago•0 comments