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!

The Crazy Tech Used in This Years World Cup [video]

https://www.bbc.com/reel/video/p0nq37t3/watch
1•diamondosas•5m ago•0 comments

Greece to tax gains from crypto, sources say

https://www.reuters.com/business/finance/greece-tax-gains-crypto-sources-say-2026-06-05/
2•1vuio0pswjnm7•5m ago•0 comments

Mailvad – Privacy Based Email

https://mailvad.com/
1•eustoria•6m ago•0 comments

Show HN: Scale Physics – a physics encyclopedia with WebGL animations

https://scalephysics.com/
2•WizardK•6m ago•0 comments

Trees to Flows and Back: Unifying Decision Trees and Diffusion Models

https://arxiv.org/abs/2605.00414
2•rsn243•16m ago•0 comments

How to Not Let Them Get Away with It: The Mathematics of Infinite Exploitation

https://link.springer.com/article/10.1007/s00283-025-10457-3
1•crescit_eundo•18m ago•1 comments

Wearable broadband auscultation patch for remote healthcare monitoring

https://www.nature.com/articles/s41467-026-73636-6
1•bookofjoe•22m ago•0 comments

Nvidia is proposing a beast of a CPU system for Windows PCs

https://twitter.com/lemire/status/2062880075117113739
2•tosh•24m ago•3 comments

Boyd's Law of Iteration (2007)

https://blog.codinghorror.com/boyds-law-of-iteration/
1•simonpure•27m ago•0 comments

Show HN: StructOCR – API for parsing global passports, invoices, and containers

https://structocr.com
1•glyph_miner•28m ago•0 comments

Dallas Housing Market Cools as H-1B Visa Indian Buyers Vanish

https://www.bloomberg.com/features/2026-dallas-h1b-housing-market/
1•Anon84•29m ago•0 comments

Locomat – Recomputed Mathematical Tables

https://locomat.loria.fr/
1•Mr_Minderbinder•31m ago•0 comments

Life is too short for a slow terminal

https://mijndertstuij.nl/posts/life-is-too-short-for-a-slow-terminal/
3•emschwartz•31m ago•0 comments

Dwarkesh Patel grew his podcast

https://www.youtube.com/watch?v=kbydfaJsLSE
1•palindrome818•31m ago•1 comments

Saisca – offline supply chain risk analyzer (Excel/CSV → insights)

https://github.com/cayincoorts-hue/saisika
1•cayincoorts•33m ago•0 comments

Microsandbox – local-first programmable micro VMs

https://github.com/superradcompany/microsandbox
1•appcypher•37m ago•0 comments

Donut Lab's Manufacturing Is Different

https://cleantechnica.com/2026/06/04/donut-labs-manufacturing-is-different/
1•tromp•38m ago•0 comments

Free LLM inference handbook: 100 engineers cloned it in week 1

https://github.com/harshuljain13/llm-inference-at-scale
1•harshuljain13•39m ago•0 comments

Licenseal – CI license compatibility checks across 10 ecosystems

https://github.com/shcherbak-ai/licenseal
1•sergiishcherbak•39m ago•0 comments

Show HN: Sugi Atlas – 52K+ deterministic gene/drug/disease reference pages

https://sugi.bio/atlas/
1•timurg•39m ago•0 comments

Safety officials have a good idea of what a big rocket explosion can do

https://arstechnica.com/space/2026/06/safety-officials-finally-have-a-good-idea-of-what-a-big-roc...
1•bookmtn•40m ago•0 comments

Trump says his team will 'look into' US taking stake in AI companies

https://www.reuters.com/business/trump-says-his-team-will-look-into-us-taking-stake-ai-companies-...
5•YeGoblynQueenne•41m ago•1 comments

'Don't scare the cat ' Engineers find smarter way to measure quantum systems

https://www.unsw.edu.au/newsroom/news/2026/06/dont-scare-the-cat-engineers-find-smarter-way-to-me...
1•wjSgoWPm5bWAhXB•42m ago•0 comments

'Teachers Are Going to Hate It': How Social Media Apps Hooked Teens at School

https://www.nytimes.com/2026/06/04/us/social-media-schools.html
2•1vuio0pswjnm7•43m ago•0 comments

Sports-Related Curses

https://en.wikipedia.org/wiki/Sports-related_curses
2•thunderbong•43m ago•0 comments

Between Technical Standardizations and Practices of Resistance

https://cadernos.abralin.org/index.php/cadernos/article/view/980
1•ZunarJ5•45m ago•0 comments

Predator Void – A free browser-based stealth survival game

1•desinxstudio•46m ago•1 comments

Kevin O'Leary agrees to downsize Utah data center

https://www.theverge.com/ai-artificial-intelligence/943234/kevin-oleary-agrees-to-downsize-massiv...
2•1vuio0pswjnm7•53m ago•1 comments

Is Git Irreplaceable? (2019)

https://fossil-scm.org/forum/forumpost/b251b6e48e
1•downbad_•56m ago•0 comments

Bots have now passed human traffic online

https://www.tomshardware.com/tech-industry/artificial-intelligence/bots-have-now-passed-human-tra...
2•Willingham•58m ago•0 comments