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!

The Normalization of Deviance in AI

https://embracethered.com/blog/posts/2025/the-normalization-of-deviance-in-ai/
1•gurjeet•4m ago•0 comments

Koalas at risk of death once seven-day temperatures rise beyond 27C

https://www.abc.net.au/news/science/2026-05-27/koala-deaths-linked-to-a-few-extra-degrees-of-heat...
4•bryanrasmussen•11m ago•0 comments

Linear Coding Sessions

https://linear.app/docs/coding-sessions
1•samtheprogram•12m ago•0 comments

Reading Is a System

https://docs.google.com/presentation/d/1rPX2rZ80CmHJCKZBziS1BtdodQM4NJhkNIz8EhF9nHM/edit?usp=sharing
1•_bramses•18m ago•0 comments

Tesla gets go-ahead to sell self-driving technology in Belgium

https://www.reuters.com/business/autos-transportation/tesla-gets-go-ahead-sell-self-driving-techn...
1•andsoitis•18m ago•0 comments

Blindzone Glare Elimination Mirror Method [pdf]

https://www.nhtsa.gov/sites/nhtsa.gov/files/blindzoneglaremirrormethod.pdf
1•thunderbong•18m ago•0 comments

Sophia NLU Home Assistant – On Device, Low Compute, No Internet, Voice Assistant

1•aquila416•20m ago•0 comments

A 60fps eInk Monitor, the Modos Flow [video]

https://www.youtube.com/watch?v=nHbA2-_qzH4
1•razorbeamz•23m ago•0 comments

Stdx, Rust's extended standard library

https://kerkour.com/stdx
1•manyatoms•23m ago•0 comments

Harry's Game (ITV, 1982)

https://archive.org/details/harrys-game-episode-2
1•petethomas•26m ago•0 comments

Simplify: Move Code into Database Functions

https://sive.rs/pg
1•privong•26m ago•0 comments

Voronoi Village

https://wwwtyro.github.io/voronoi-village/
2•wwwtyro•32m ago•1 comments

Katja Hoyer on Weimar, the GDR, and the German Character (Ep. 279)

https://conversationswithtyler.com/episodes/katja-hoyer/
1•paulpauper•34m ago•0 comments

Engineers aren't afraid of AI – they're afraid of becoming junior again

https://www.andykelk.net/leadership/your-engineers-arent-afraid-of-ai-theyre-afraid-of-being-juni...
3•mopoke•40m ago•0 comments

Built to benefit everyone: our plan

https://openai.com/index/built-to-benefit-everyone-our-plan/
2•gmays•41m ago•0 comments

ShieldMCP – Security scanner for your MCP config

https://shieldmcp.net
1•ccellcdev•41m ago•0 comments

Show HN: MandoCode – local-first AI coding agent (.NET and Ollama)

https://github.com/DevMando/MandoCode
1•devmando•47m ago•0 comments

Are you ready to admit it's the phones?

https://www.noahpinion.blog/p/are-you-finally-ready-to-admit-its
5•paulpauper•50m ago•0 comments

A simple reason for skepticism about the iPhones/fertility link

https://marginalrevolution.com/marginalrevolution/2026/06/a-simple-reason-for-skepticism-about-th...
2•paulpauper•51m ago•0 comments

What is the most sophisticated piece of software ever written?

https://www.quora.com/What-is-the-most-sophisticated-piece-of-software-ever-written-1/answer/John...
1•sorentwo•57m ago•0 comments

Iran-backed hackers claim breach of California water systems over US attacks

https://bsky.app/profile/shipwreck75.bsky.social/post/3mo2qvxsnjk2a
2•8ig8•1h ago•0 comments

Can I use Claude Design and Vercel Drop together?

https://vercel.com/i/claude-design-and-vercel-drop
2•flashbrew•1h ago•0 comments

How Our Reporters Distinguish Hype from Facts in the SpaceX IPO

https://www.nytimes.com/2026/06/11/insider/spacex-ipo-coverage-facts-price.html
3•1vuio0pswjnm7•1h ago•0 comments

The Evolution of 'More Like This'

https://manticoresearch.com/blog/the-evolution-of-more-like-this/
1•snikolaev•1h ago•0 comments

Records regarding the review of the Investigative Holdings related to J Epstein

https://vault.fbi.gov/records-regarding-the-review-of-the-investigative-holdings-related-to-jeffr...
2•sans_souse•1h ago•0 comments

Fylun.ai – All-in-one AI workspace (chat, notes, apps, automation, search)

https://fylun.ai
1•im-tyler•1h ago•0 comments

StonkRider – Ride any stock chart

https://stonkrider.com/
1•nreece•1h ago•0 comments

500-year-old monasteries outperform at digital transformation (U. of Zurich)

https://phys.org/news/2026-05-historic-monasteries-digital-countries.html
1•indynz•1h ago•0 comments

Ex-Andreessen Horowitz partner: old firm, VCs 'political infiltration' on AI

https://www.cnbc.com/2026/06/11/ex-a16z-partner-slams-old-firm-othes-political-infiltration-in-ai...
4•1vuio0pswjnm7•1h ago•0 comments

Can Magnetic Forces Do Work? [pdf]

https://arxiv.org/abs/1911.08890
3•thunderbong•1h ago•1 comments