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!

Why Can't You Pack a Bag?

https://www.newyorker.com/culture/open-questions/why-cant-you-pack-a-bag
1•prathamtharwani•2m ago•0 comments

Why Indie Developers Should Start Alone

https://defragzone.substack.com/p/why-indie-developers-should-start
1•frag•4m ago•0 comments

Appa: P2P Syncthing Using Iroh

https://tangled.org/aly.codes/appa
1•nerdypepper•4m ago•0 comments

I'm Begging You: Never Write with AI

https://www.nytimes.com/2026/08/04/opinion/artificial-intelligence-ai-writing.html
2•ekelsen•5m ago•0 comments

What's New in PHP 8.6

https://stitcher.io/blog/new-in-php-86
1•dmitrijbelikov•6m ago•0 comments

SpaceX's AI spending unnerves Wall Street despite promises of quick payoff

https://www.cnbc.com/2026/08/04/spacex-ai-spending-unnerves-wall-street-despite-promising-quick-p...
2•mapping365•6m ago•0 comments

SpaceX's Starfall program offers validation and competition for reentry startups

https://spacenews.com/spacexs-new-starfall-program-offers-validation-and-competition-for-reentry-...
1•cryptoz•7m ago•0 comments

Enabling the next iteration of the Rust borrow checker on nightly

https://blog.rust-lang.org/2026/08/04/enabling-polonius-alpha-on-nightly/
2•pjmlp•7m ago•0 comments

Banks to offload $15B of debt for Anthropic data centre backed by Google

https://www.ft.com/content/c492ce6b-483b-4196-8f2a-9bd1afda92d3
1•mapping365•7m ago•0 comments

The Sound and Music of 'Hyper Light Drifter' [video]

https://gdcvault.com/play/1024135/The-Sound-and-Music-of
1•hyperific•14m ago•0 comments

VPhone Workstation – create and use virtual iPhones on Mac

https://github.com/zqxwce/vphone-ws
1•71bw•17m ago•0 comments

Germany's Electricity Rationing Is No Longer Unthinkable

https://spectator.org/germanys-electricity-rationing-is-no-longer-unthinkable/
3•mpweiher•33m ago•1 comments

ChatGPT accounts for 80% of identifiable House AI spending

https://www.cnbc.com/2026/08/03/openai-chatgpt-anthropic-congress-house-ai-spending.html
2•tosh•38m ago•0 comments

LAPD Abandons Flock Contract After Making a Horrifying Discovery

https://futurism.com/future-society/lapd-abandons-flock-contract-false-alarm
2•mgh2•38m ago•0 comments

Funeral for Oscar-winning songwriter Glen Hansard

https://apnews.com/article/glen-hansard-funeral-dublin-bono-eddie-vedder-46b1d6ef619979afb5c0a031...
1•metabagel•40m ago•0 comments

Robotic Evals

1•andrewlyu•43m ago•0 comments

Why Paris Is Obsessed with Chartreuse Liqueur

https://www.bloomberg.com/news/articles/2026-08-05/how-chartreuse-conquered-paris-wine-bars-to-be...
2•petethomas•45m ago•0 comments

An AI Approach to Verified Production Cryptographic Libraries

https://arxiv.org/abs/2608.00965
1•sbulaev•49m ago•0 comments

The Labour Market Is a Network, Not an Auction

https://andrewmarritt.substack.com/p/the-labour-market-is-a-network-not
2•hunglee2•50m ago•0 comments

Why 70 of Website Replatforming Go over Budget

https://focusreactive.com/blog/why-70-of-website-replatforming-projects-go-over-budget-and-how-to...
1•katyadrozd•52m ago•0 comments

Show HN: CostClaw, a local CLI that finds your Claude Code spend leaks

https://www.costclaw.io/
1•ucsandman•54m ago•0 comments

Show HN: Lapse - a notes app. but also shared memory space for your agents (MCP)

https://lapse.in
2•hariprasd•55m ago•0 comments

Show HN: A file-based protocol for two AI agents to talk until they agree

https://agent-talk.reindent.com/
1•reindent•55m ago•0 comments

Scott Bessent's yen intervention signals new era of US 'currency activism'

https://www.ft.com/content/1be83506-b897-4c26-97cc-445d7354ee6f
2•petethomas•56m ago•0 comments

Israel Pays Trump's Ex-Campaign Chief $46M to Shape What ChatGPT Says About Gaza

https://www.ibtimes.co.uk/israel-ai-influence-campaign-chatbots-1812371
11•handfuloflight•58m ago•0 comments

Noorm – Schema and migrations as plain SQL files, no ORM

https://noorm.dev/
2•daniloa•1h ago•0 comments

Show HN: Emil: Emacs-style minimalist editor Beta test release

https://github.com/nicholascarroll/emil
1•emil_coder•1h ago•0 comments

The probabilistic quantum consensus is wrong. We just broke the timeline

https://prometheusdynamics.ca/
1•WilliamDenyer•1h ago•0 comments

Rust-lang/rust is adopting an LLM policy

https://blog.rust-lang.org/inside-rust/2026/08/05/rust-langrust-is-adopting-an-llm-policy/
12•afdbcreid•1h ago•2 comments

Show HN: Rever-browser – AI-agent browser for reverse-engineering

https://github.com/greekr4/rever-browser
1•taevirus•1h ago•0 comments