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!

Alkaline-Activated Coal Gangue-Based Geopolymer Grouting Material

https://www.mdpi.com/1996-1944/19/9/1812
1•PaulHoule•1m ago•0 comments

Open weights are quietly closing up – and that's a problem

https://lobste.rs/s/jvvtif/open_weights_are_quietly_closing_up_s
1•maxloh•3m ago•0 comments

Six New High Severity CVEs for Next.js and 1 for React

https://github.com/vercel/next.js/releases/tag/v16.2.5
1•tkel•3m ago•1 comments

Show HN: Web client analyzing prediction market outcomes

https://o-u.ai
1•noplace1ikegone•4m ago•0 comments

Ask HN: GPTs, vs. Software Estimation

2•alaaalawi•12m ago•0 comments

How I made $350K from an open-source JavaScript library using dual licensing

https://www.paritydeals.com/blog/monetize-open-source-dual-licensing/
1•sachinneravath•14m ago•0 comments

PackRip – Browser-based Pokemon TCG pack opener (1999-2011)

https://www.packrip.co
1•liluzipert•16m ago•0 comments

The Global Effort to Figure Out Where Hantavirus Will Strike Next

https://www.wsj.com/health/hantavirus-contact-tracing-cruise-ship-3a9afe33
1•Anon84•16m ago•0 comments

What's the difference between a good thought experiment and a bad one?

https://philosophy.stackexchange.com/questions/138220/whats-the-difference-between-a-good-thought...
1•azeemba•17m ago•0 comments

Leaker: Why Apple Is Delaying the iPhone 18

https://www.macrumors.com/2026/05/06/this-is-why-apple-is-delaying-the-iphone-18/
1•mgh2•17m ago•0 comments

RSS Feeds Send Me More Traffic Than Google

https://shkspr.mobi/blog/2026/05/rss-feeds-send-me-more-traffic-than-google/
2•SpyCoder77•21m ago•1 comments

From a Harvard dropout to Oceanco visionary: 10 facts about Gabe Newell

https://www.boatinternational.com/features-reviews/who-is-gabe-newell-famous-for-valve-steam-oceanco
1•evo_9•26m ago•0 comments

What do you say when the AI asks "Let me know if you'd like me to proceed."

1•acquire9395•29m ago•1 comments

Was this Virginia office building built with missiles in mind?

https://www.washingtonpost.com/dc-md-va/2022/09/03/skyline-buildings-baileys-crossroads/
1•gnabgib•31m ago•1 comments

They don't look like me

https://niccolorastrelli.com/they-dont-look-like-me
8•cainxinth•32m ago•2 comments

OpenAI-Oracle data center construction proceeds despite Michigan town vote

https://fortune.com/2026/05/06/ai-data-center-michigan-saline-politics-farmland/
1•xyst•34m ago•0 comments

Hunk: Review-first terminal diff viewer for agentic coders

https://github.com/modem-dev/hunk
1•pella•37m ago•0 comments

Hourglass nanographenes unlock strong, robust multi-spin entanglement

https://phys.org/news/2026-05-hourglass-nanographenes-strong-robust-multi.html
1•WaitWaitWha•39m ago•0 comments

Gmail app bug locks some Microsoft 365 and Exchange Online users out on Android

https://piunikaweb.com/2026/05/06/gmail-app-android-microsoft-365-exchange-online-authentication-...
1•sega_sai•42m ago•0 comments

Taiwan cops say student's radio kit brought bullet trains to a standstill

https://www.theregister.com/cyber-crime/2026/05/06/taiwan-student-pwns-rail-comms-halts-high-spee...
4•rmason•44m ago•0 comments

Iran hit more U.S. military targets than has been reported, satellite images

https://www.washingtonpost.com/investigations/2026/05/06/iran-us-bases-satellite-images/
34•SanjayMehta•44m ago•10 comments

QR Code Generator

https://www.thonky.com/qrcode/
1•gurjeet•47m ago•0 comments

The Old Guard: Confronting America's Gerontocratic Crisis

https://harpers.org/archive/2026/05/the-old-guard-samuel-moyn-gerontocracy/
6•Caiero•49m ago•1 comments

Elon Musk's Last-Ditch Effort to Control OpenAI

https://www.wired.com/story/elon-musk-recruit-sam-altman-tesla-ai-lab-trial/
4•nico•50m ago•0 comments

How programmers are feeling about AI

https://thesoftwaresurvey.com/
2•yakkomajuri•53m ago•0 comments

We Need a Neural Network (2006)

https://thedailywtf.com/articles/No%2c_We_Need_a_Neural_Network
2•mjtk•55m ago•0 comments

Aphasia

https://en.wikipedia.org/wiki/Aphasia
3•soupspaces•55m ago•0 comments

We Built the Permanent Record

https://www.nationalreview.com/2026/05/we-built-the-permanent-record/
2•petethomas•57m ago•0 comments

Show HN: Sqlalchemy-Redshift Is Back: Reviving a Critical Python Data Library

https://github.com/sqlalchemy-redshift/sqlalchemy-redshift
2•TeddyCrep•1h ago•0 comments

Mass Deportation and American Jobs

https://www.wsj.com/opinion/mass-deportation-american-jobs-nber-university-of-colorado-boulder-st...
4•petethomas•1h ago•0 comments