frontpage.
newsnewestaskshowjobs

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!

All you never wanted to know about corporate bond market issuance

https://www.ft.com/content/47a66129-548e-45c6-8855-0691616e92da
1•JumpCrisscross•3m ago•0 comments

Package Management as Org Chart

https://nesbitt.io/2026/07/10/package-management-as-org-chart.html
1•zaik•3m ago•0 comments

AI developers are buying up old books in Germany in large numbers

https://logos-pres.md/en/news/ai-developers-are-buying-up-old-books-in-germany-in-large-numbers/
1•koeploade•3m ago•0 comments

iPod: No wireless. Less space than a nomad. Lame. (2001)

https://slashdot.org/story/01/10/23/1816257/apple-releases-ipod
1•simonebrunozzi•4m ago•0 comments

Show HN: Spacemap.co – A 3D, real-time, real-scale map of the solar system

https://spacemap.co/b/399/Earth
1•juliie•5m ago•0 comments

I think I was part of a model distillation attack

https://sebastianmarines.com/post/i-think-i-was-part-of-a-model-distillation-attack/
1•marinesebastian•7m ago•0 comments

Is OpenRouter miss pricing GPT 5.6 models?

https://openrouter.ai/models
1•tmaly•8m ago•2 comments

Announcing Linkwarden 2.15

https://linkwarden.app/blog/releases/2.15
1•daniel31x13•12m ago•0 comments

Welcome back, cable? Netflix could be getting live TV

https://www.neowin.net/news/welcome-back-cable-netflix-could-be-getting-live-tv/
1•bundie•12m ago•0 comments

Tempolocus looks at time-series activity patterns to infer a location

https://github.com/ail-project/tempolocus
1•adulau•15m ago•0 comments

The Game Disc May Be Dying and I Think I'm Okay with It

https://www.zenofdesign.com/the-game-disc-may-be-dying-and-i-think-im-okay-with-it/
3•speckx•16m ago•0 comments

Karmic Predicament

https://www.guidavid.com/writing/karmic-predicament
1•gdss•16m ago•0 comments

GPT-5.6 Sol Wrote a 50k-Word Novella in 8 Hours

https://gamecult.org/Blog/gpt-5-6-sol-wrote-a-50000-word-novella-in-8-hours
1•pixelbro•17m ago•1 comments

Don't discontinue Gemini 2.5 Flash

https://discuss.ai.google.dev/t/please-dont-discontinue-gemini-2-5-flash/174246
2•NickDob•22m ago•0 comments

Streaming Taylor Swift on Mac OS 9 via Gopher

https://debene.dev/posts/casquinha-macos9/
2•fdebene•22m ago•0 comments

Show HN: Cactus v2 – On-device AI with cloud fallback

1•rshemet•25m ago•0 comments

Book Summaries

https://brettfisher.dev/posts/book-summaries/
1•fisher-brett•26m ago•0 comments

Superfile: Terminal File Manager

https://superfile.dev/
1•thunderbong•29m ago•0 comments

The oceans are full of heat, and it's coming ashore

https://grist.org/climate/heatwaves-oceans-record-temperatures-el-nino/
1•speckx•29m ago•0 comments

Show HN: chwire – Native-Format ClickHouse JavaScript Client over HTTP/TCP

https://github.com/maxjustus/chwire
1•maxjustus•31m ago•0 comments

Guy is banned by OpenAI for cyber abuse, his AI appeals, another AI approves it

https://twitter.com/endpointarena/status/2075245286339846145
3•binyu•32m ago•1 comments

An OpenAI model crushed top human programmers at a world coding competition

https://www.understandingai.org/p/an-openai-model-crushed-top-human
1•speckx•36m ago•1 comments

Do Smart Glasses Have a Surveillance Problem?

https://www.vogue.com/article/do-smart-glasses-have-a-surveillance-problem
2•cdrnsf•39m ago•0 comments

Casual Viewing: Why Netflix looks like that (2025)

https://www.nplusonemag.com/issue-49/essays/casual-viewing/
1•zem•40m ago•0 comments

An Update on the scraper situation

https://lwn.net/SubscriberLink/1080822/990a8a5e2d379085/
5•chmaynard•43m ago•1 comments

MAGA's attack on science is worse than it looks

https://www.noahpinion.blog/p/magas-attack-on-science-is-even-worse
7•gumby•45m ago•0 comments

Ask HN: Experiences of Working in Big Data

1•theginger•45m ago•0 comments

Capitalism Gone Wrong

https://kasperjunge.com/blog/capitalism-gone-wrong/
18•juunge•46m ago•23 comments

Earthkit v1.0 – Open-source tools for seamless earth science workflows

https://earthkit.ecmwf.int
1•giuliomagnifico•46m ago•0 comments

Shooting Starlink: The "no limits" partnership between Russia and China

https://theins.press/en/inv/294635
4•uxhacker•48m ago•2 comments