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

Comments

MaximosMK•11mo 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!

What is a coder's worst nightmare? (2014)

https://www.quora.com/What-is-a-coders-worst-nightmare/answer/Mick-Stute?srid=RBKZ&share=1
1•downbad_•1m ago•1 comments

'I hate working 5 days': Zoom CEO traditional work schedules becoming obsolete

https://www.aol.com/finance/zoom-ceo-predicts-3-day-144202969.html
1•bilsbie•2m ago•0 comments

Real-Time, Streaming SQL Queries on Flight Data

https://modolap.com/publication/planes1
1•ronfriedhaber•5m ago•0 comments

DIY Soft Drinks

https://blinry.org/diy-soft-drinks/
1•_Microft•7m ago•0 comments

Deere settles US right-to-repair lawsuit with $99M fund, repair commitments

https://wincountry.com/2026/04/06/deere-settles-us-right-to-repair-lawsuit-with-99-million-fund-r...
1•ohjeez•7m ago•1 comments

Show HN: QueueForge – a self-hosted RabbitMQ dead-letter queue manager

https://queueforgehq.com
1•namrahov•12m ago•0 comments

Building a SaaS in 2026 Using Only EU Infrastructure

https://eualternative.eu/guides/building-saas-eu-stack/
7•sparkling•12m ago•1 comments

Want to help garden birds? Don't feed them in warmer months, says RSPB

https://www.bbc.co.uk/news/articles/c2lwvz1pl1no
2•c-oreills•15m ago•0 comments

Introducing Project Glasswing

https://www.linuxfoundation.org/blog/project-glasswing-gives-maintainers-advanced-ai-to-secure-op...
2•jruohonen•16m ago•0 comments

Show HN: Give your AI agent a preview link for files and diff

https://diff4.com/
1•djyde•16m ago•0 comments

Californians sue over AI tool that records doctor visits

https://arstechnica.com/tech-policy/2026/04/californians-sue-over-ai-tool-that-records-doctor-vis...
1•Bender•16m ago•0 comments

How Beyond Meat sank from a $14B plant-based protein powerhouse to a penny stock

https://www.marketwatch.com/story/how-beyond-meat-sank-from-a-14-billion-plant-based-protein-powe...
2•bookofjoe•18m ago•1 comments

IBM to pay $17M in anti-DEI settlement

https://www.cnn.com/2026/04/10/business/ibm-settlement-dei-lawsuit
2•Bender•19m ago•0 comments

Jim Allchin to Gates and Ballmer on the state of quality at Microsoft (2004)

https://twitter.com/TechEmails/status/1418248256937775105
1•Austin_Conlon•19m ago•0 comments

Bouncer: Block "crypto", "rage politics", and more from your X feed using AI

https://github.com/imbue-ai/bouncer
2•steveharing1•21m ago•0 comments

Ask HN: What Are You Working On? (April 2026)

2•david927•21m ago•2 comments

The space science behind 'Project Hail Mary'

https://www.npr.org/2026/04/12/nx-s1-5782074/project-hail-mary-nasa-space-science
2•Brajeshwar•22m ago•0 comments

Why Is Sherlock Holmes English?

https://alistaird221b.blogspot.com/2013/05/why-is-sherlock-holmes-english.html
2•KitN•22m ago•0 comments

Microsoft locks in final death date for Outlook Lite on Android

https://www.neowin.net/news/microsoft-locks-in-final-death-date-for-outlook-lite-on-android/
1•Brajeshwar•22m ago•0 comments

Over 20k crypto fraud victims identified in international crackdown

https://www.bleepingcomputer.com/news/security/police-identifies-20-000-victims-in-international-...
1•Brajeshwar•22m ago•0 comments

APL: Evaluator for a Subset of Scheme

https://dfns.dyalog.com/n_lisp.htm
1•tosh•24m ago•0 comments

AI Didn't Teach Me to Code but It Changed How I Build

https://nextindata.substack.com/p/ai-didnt-teach-me-to-code-but-it
1•nazanki•25m ago•0 comments

Investigating How Long-Distance Couples Use Digital Games to Facilitate Intimacy

https://arxiv.org/abs/2505.09509
2•radeeyate•27m ago•0 comments

The disappearing and unappreciated art of audible alerts

https://www.youtube.com/watch?v=nXdVG45wveo
1•luizcdc•28m ago•0 comments

SpaceX holds $603M in Bitcoin despite $5B loss stemming from xAI

https://www.coindesk.com/markets/2026/04/11/musk-s-spacex-holds-usd603-million-in-bitcoin-despite...
3•lexandstuff•28m ago•0 comments

Cures via CRISPR DNA Editing May Be Most Important Medical Story of the Decade

https://www.nytimes.com/2026/04/09/opinion/genetic-editing-diseases-health-care.html
2•ck2•29m ago•1 comments

Powell, Bessent discussed Mythos AI cyber threat with major U.S. banks

https://www.cnbc.com/2026/04/10/powell-bessent-us-bank-ceos-anthropic-mythos-ai-cyber.html
1•mooreds•34m ago•0 comments

Textbooks and Methods of Note-Taking in Early Modern Europe (2008)

https://dash.harvard.edu/server/api/core/bitstreams/7312037d-e342-6bd4-e053-0100007fdf3b/content
3•mooreds•34m ago•0 comments

Rescuers save sea turtle discovered stranded upside down on beach

https://www.abc.net.au/news/2026-04-05/lifesaving-turned-turtle-rescue-at-urunga/106531572
2•mooreds•35m ago•0 comments

More Vetoes, Less Vision

https://h3manth.com/scribe/more-vetoes-less-vision/
1•init0•37m ago•0 comments