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!

Finland's bomb shelters draw world to Helsinki in quest for security

https://www.reuters.com/world/europe/finlands-massive-bomb-shelters-draw-world-helsinki-quest-sec...
1•JumpCrisscross•3m ago•0 comments

Tesla Announces Rollout of Fully Self-Driving Tech in China

https://www.wsj.com/business/autos/tesla-announces-rollout-of-fully-self-driving-tech-in-china-27...
1•bookofjoe•3m ago•1 comments

Show HN: Lumox – Wirelessly mirror multiple iPhones on Mac – Ditching QuickTime

https://lumox.app/
1•modrena•3m ago•0 comments

Better CLI Interactions for Agents and Humans

https://www.pulumi.com/blog/better-cli-interactions-for-agents-and-humans/
2•cnunciato•3m ago•0 comments

GrapheneOS Power Usage Recommendations

https://discuss.grapheneos.org/d/35721-grapheneos-power-usage-recommendations
2•Cider9986•3m ago•0 comments

Creating a Full PII Framework for Agents

https://pii-firewall.com/
1•lamne•3m ago•0 comments

AI is killing the cheap smartphone

https://davidoks.blog/p/ai-is-killing-the-cheap-smartphone
2•d0ks•7m ago•0 comments

Shira: Anti Phishing Training Platform

https://shira.app/
2•carohadad•8m ago•1 comments

Spotify and Universal Music strike deal allowing fan-made AI covers and remixes

https://techcrunch.com/2026/05/21/spotify-and-universal-music-strike-deal-allowing-fan-made-ai-co...
1•cdrnsf•8m ago•0 comments

Show HN: A Turing machine simulating a Turing machine simulating a...

https://narcissus.exe.xyz/
1•thingoptimizer•13m ago•0 comments

A cross section of a road in England

https://old.reddit.com/r/interestingasfuck/comments/1tjxi3j/this_is_a_cross_section_of_a_road_in_...
1•n1b0m•13m ago•0 comments

Curtis Yarvin and the Political Evolution of Silicon Valley Reactionaries

https://www.dontbeasucker.blog/p/the-butterflies-in-your-stomach
8•betterthanever•14m ago•0 comments

The Typo Vibe Shift

https://www.theatlantic.com/culture/2026/05/typo-ai-trend-human/687237/
1•paulpauper•14m ago•0 comments

A phrase based on prejudice: 'Dutch courage' (2018)

https://wordhistories.net/2018/04/12/dutch-courage-origin/
1•petethomas•15m ago•0 comments

Show HN: Onda – a cross-platform alternative to DSView for DSLogic analyzers [video]

https://www.youtube.com/watch?v=EwHpt_CuFNc
1•johnwheeler•15m ago•0 comments

A blind taste competition launched the American wine industry

https://thehustle.co/newsletters/20-05-2026
1•paulpauper•15m ago•0 comments

Fertility and Financial Risk-Taking

https://papers.ssrn.com/sol3/papers.cfm?abstract_id=6559781
1•paulpauper•16m ago•0 comments

Amdahl's Law

https://en.wikipedia.org/wiki/Amdahl%27s_law
1•rzk•16m ago•0 comments

An explicit lower bound for the unit distance problem

https://arxiv.org/abs/2605.20579
1•rvz•20m ago•0 comments

Code Bubble: Clojure functions as bubbles on a canvas

https://github.com/ertugrulcetin/code-bubble
1•thenewguy077•20m ago•0 comments

OpenBSD 7.9 Released

https://lwn.net/Articles/1073933/
1•kazu11max17•21m ago•0 comments

InvizCrypt – Secure Cloud Documents

https://invizcrypt.com/
1•htewari•22m ago•0 comments

WebGPU support in llama.cpp

https://reeselevine.github.io/llamas-on-the-web/
2•relivin•27m ago•0 comments

Fraud Indicators Skyrocket in Minnesota Presidential Elections from 2016 Onwards

https://electiontruthalliance.substack.com/p/fraud-indicators-skyrocket-in-minnesota
2•filoeleven•27m ago•0 comments

Protégé Short Course 2026

https://protege.stanford.edu/shortcourse/
2•marcosmr•31m ago•1 comments

Lecture Notes on Statistical Physics and Neural Networks

https://arxiv.org/abs/2605.06394
2•Anon84•31m ago•0 comments

Client approvals via magic link, no more lost feedback

https://puxeline.com
2•pleedchan•31m ago•0 comments

The Pkg.go.dev API

https://go.dev/blog/pkgsite-api
2•yogorenapan•32m ago•0 comments

web-ai-sdk: experimenting with browser-native AI APIs and WebMCP

https://web-ai-sdk.dev/
1•obetomuniz•36m ago•0 comments

Where is the best place to build a bridge in Chicago?

https://thomasdhughes.com/ccac/
1•thomasdhughes2•37m ago•0 comments