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

Comments

MaximosMK•12mo 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 Comprehensive Zig SDK for Cloudflare Workers

https://github.com/nilslice/workers-zig
1•adewale•45s ago•0 comments

Starship – Test Like You Fly

https://www.youtube.com/watch?v=ANe_HW4X8oc
1•tiziano88•1m ago•0 comments

Why US Trucking Is So Deadly

https://www.nytimes.com/2026/04/24/opinion/trucking-safety.html
1•throw0101a•2m ago•1 comments

Uber Can Bring You Dinner. Now, It Wants to Book Your Hotel Room

https://www.nytimes.com/2026/04/29/travel/uber-hotel-booking-expedia.html
1•jbredeche•3m ago•0 comments

Qwen corrects code saying that Taiwan is a country

https://twitter.com/wongmjane/status/2049555509624312217
1•franciscop•5m ago•0 comments

Engineering tough blood clots for rapid haemostasis and enhanced regeneration

https://www.nature.com/articles/s41586-026-10412-y
1•warbaker•5m ago•1 comments

Whoop Sued Us [video]

https://www.youtube.com/watch?v=iAcx7kP9sog
1•Eudaimion•6m ago•1 comments

Trypieces.com

https://trypieces.com
1•johndebord•7m ago•0 comments

Cold-inducible RNA-binding protein makes bowhead whales and flies live longer

https://www.nature.com/articles/s41586-025-09694-5
1•warbaker•9m ago•0 comments

Building with Love, and Paying for It

https://werd.io/building-with-love-and-paying-for-it/
1•benwerd•10m ago•0 comments

Pentagon AI chief confirms DoD's expanded use of Google Gemini

https://www.cnbc.com/2026/04/28/pentagon-ai-chief-confirms-work-with-google-after-anthropic-black...
4•devonnull•13m ago•0 comments

Rcarmo/go-joker: A personal twist on the original Clojure interpreter and linter

https://github.com/rcarmo/go-joker
1•rcarmo•14m ago•0 comments

20 years of serial mouse cloning fails in 58th generation

https://www.nature.com/articles/s41467-026-69765-7
1•warbaker•15m ago•1 comments

Vibe: LLM agent virtual machine sandbox on Mac

https://kevinlynagh.com/newsletter/2026_02_01_vibe/
1•rguiscard•15m ago•0 comments

The Dark Factory: How Twin Sun Automated Their Dev Pipeline [video]

https://www.youtube.com/watch?v=kkvi2Rm-K84
1•JnBrymn•16m ago•0 comments

Valve Updates GameNetworkingSockets After Nearly Four Year Hiatus

https://www.phoronix.com/news/GameNetworkingSockets-1.5
1•Bender•17m ago•0 comments

Lessons on Building MCP Servers

https://taoofmac.com/space/blog/2026/04/29/2341
1•rcarmo•18m ago•0 comments

Claude Code and AI Agent Skills: 12 Prompts That Became Production Skills

https://medium.com/nginity/claude-code-ai-agent-skills-12-prompts-that-became-production-skills-7...
1•jungard•18m ago•0 comments

App Notes: Web App Viewer

https://taoofmac.com/space/notes/2026/04/29/1730
1•rcarmo•19m ago•0 comments

Building a Product or Infrastructure: Are AI Startups Choosing Both?

https://twitter.com/rishabhkaul/status/2049444064433500499
1•rishabhkaul1•20m ago•0 comments

You should 'feed a cold': eating primes immune cells for action

https://www.nature.com/articles/d41586-026-01362-6
1•gnabgib•20m ago•0 comments

Researchers move in the right direction, develop powerful GPS interference alarm

https://www.theregister.com/2026/04/29/boffins_new_gps_interference_alarm/
1•Bender•21m ago•0 comments

Oracle plans to power its New Mexico mega datacenter with 2.45GW fuel cell farm

https://www.theregister.com/2026/04/28/oracle_new_mexico_power_fuel_cell_farm/
1•Bender•21m ago•0 comments

Read White House Correspondents' Dinner Suspect Cole Allen's Full Manifesto

https://nypost.com/2026/04/26/us-news/read-whcd-gunman-cole-allens-full-anti-trump-manifesto/
2•SpyCoder77•25m ago•0 comments

Halo: RLM-based agent harness optimization

https://github.com/context-labs/halo
3•mikepollard_dev•28m ago•0 comments

Ubuntu's AI Plans Have Linux Users Looking for a 'Kill Switch'

https://www.theverge.com/tech/920723/linux-ubuntu-ai-features-ai-kill-switch
1•m463•30m ago•0 comments

Towards a Perfect Notes App

https://kvnd.me/2026/04/22/now-onto-ruin/
2•kvnd•32m ago•1 comments

SSD Price Tracking 2026

https://www.tomshardware.com/pc-components/ssds/ssd-price-tracking-2026-lowest-price-on-every-m-2...
1•WarOnPrivacy•33m ago•0 comments

I've Covered Robots for Years. This One Is Different

https://www.wired.com/story/when-robots-have-their-chatgpt-moment-remember-these-pincers/
3•zdw•37m ago•0 comments

"Transaction Denied": What Happens When Financial Companies Act Like Censors

https://www.eff.org/deeplinks/2026/04/former-eff-activism-directors-new-book-transaction-denied-e...
1•hn_acker•38m ago•1 comments