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!

Trillion-Dollar Borrowing Binge Lifting the Stock Market to Risky Heights

https://www.wsj.com/finance/stocks/the-trillion-dollar-borrowing-binge-lifting-the-stock-market-t...
1•petethomas•4m ago•0 comments

Australia investigating five social media giants for not enforcing ban on kids

https://www.theregister.com/public-sector/2026/06/29/australia-investigating-five-social-media-gi...
2•defrost•8m ago•0 comments

Amazon seller reveals shadow bribery market within Amazon

https://www.mercurynews.com/2026/06/24/amazon-seller-reveals-rare-glimpse-of-shadow-bribery-market/
1•Gaishan•8m ago•0 comments

'Superallowed' alpha decay seen for the first time

https://physicsworld.com/a/superallowed-alpha-decay-seen-for-the-first-time/
2•visha1v•10m ago•0 comments

New model of ocean waves sheds light on the spread of microplastic pollution

https://physicsworld.com/a/new-model-of-ocean-waves-sheds-fresh-light-on-the-spread-of-microplast...
2•visha1v•11m ago•0 comments

PCB-QA: Evaluating LLMs over the First PCB Design Question-Answer Dataset

https://arxiv.org/abs/2606.23704
2•teleforce•19m ago•0 comments

The 1000-mile handshake from Aden to Mangalore

https://drbhaskardasgupta1.substack.com/p/the-1000-mile-handshake
2•trojanalert•19m ago•0 comments

From Prompts to Loops: Building Autonomous Coding Agents

https://animeshgaitonde.medium.com/from-prompts-to-loops-building-autonomous-coding-agents-6135bf...
2•animesh371g•24m ago•0 comments

"Warming Hole" Heat Content Variations Are Caused by Ocean Heat Transport

https://agupubs.onlinelibrary.wiley.com/doi/full/10.1029/2025GL118383
5•baxtr•31m ago•0 comments

392-Year-Old Bonsai Tree That Survived the Hiroshima Atomic Blast (2024)

https://www.openculture.com/2024/05/this-392-year-old-bonsai-tree-survived-the-hiroshima-atomic-b...
4•vednig•35m ago•0 comments

'Down from Londoners' Are Transforming England's Seaside Towns

https://www.bloomberg.com/news/articles/2026-06-26/londoners-escape-to-england-s-seaside-raises-h...
2•petethomas•38m ago•0 comments

We Built Osmium for Scale

https://osmium.chat/blog/how-we-built-osmium-for-scale/
2•ateesdalejr•39m ago•0 comments

Remember SCANTRON? How did that work? [video]

https://www.youtube.com/watch?v=x2RvPFvR-CI
3•fortran77•40m ago•0 comments

My New Life with the Palantir Chore Coat

https://www.theatlantic.com/technology/2026/06/palantir-chore-coat/687686/
3•colinprince•40m ago•0 comments

PCB-Bench: Benchmarking LLMs for PCB Placement and Routing (ICLR 2026)

https://github.com/digailab/PCB-Bench
3•teleforce•41m ago•0 comments

Age verification is just a precursor to automated attribution of speech

https://nonogra.ph/age-verification-is-just-a-precursor-to-attribution-of-speech-06-29-2026
95•arkhiver•42m ago•19 comments

MFM: PINN based Motion Foundation Model

https://huggingface.co/JuSeongvin/pinn
2•urgentINC•46m ago•0 comments

Breaking the Tokenizer Barrier: On-Policy Distillation Across Model Families

https://arxiv.org/abs/2606.09456
2•Jimmc414•46m ago•0 comments

What Should We Optimize Away?

https://www.autodidacts.io/holistic-optimization/
3•Tomte•48m ago•0 comments

Collider: A meson package manager – A hash proves the bytes, not the source

https://collider.ee/blog/2026-06-28-1500_a_hash_proves_the_bytes_not_the_source/#a-hash-proves-th...
2•mog_dev•50m ago•0 comments

An Open Letter to Pete Buttigieg

https://richprocida.substack.com/p/an-open-letter-to-pete-buttigieg
2•RichProcida•55m ago•0 comments

SpaceX just landed in 401(k)s due to key index rule changes

https://moneywise.com/news/top-stories/spacex-401k-anthropic-openai-ipo-index-fund-rules
4•voxadam•59m ago•0 comments

GraphQL MCP Server and GraphiQL Plugins

https://graphql-mcp.com/
3•robjampar•1h ago•1 comments

OpenAI limits latest ChatGPT product to Trump-approved customers

https://www.bnnbloomberg.ca/business/artificial-intelligence/2026/06/26/openai-limits-its-latest-...
5•MadrasTh0rn•1h ago•1 comments

Show HN: Self hosting a modern LLM stack

https://github.com/raiyanyahya/llmaker
4•sleepynoodle•1h ago•1 comments

Germans are researching their Nazi past as the far right urges them to move on

https://www.cnn.com/2026/06/28/europe/germans-nazi-past-far-right-intl
4•Tomte•1h ago•1 comments

How can engineering leaders avoid becoming Bond villains?

https://stackoverflow.blog/2026/06/26/paging-charity-how-can-engineering-leaders-avoid-becoming-b...
4•backlit4034•1h ago•0 comments

The Richest Country Is Pretty Mid Now [video]

https://www.youtube.com/watch?v=4FZy1lBNykA
2•locusm•1h ago•0 comments

Efficiency in LLMs – Part 1 – Columbia Machine Learning Summer School 2026 [video]

https://www.youtube.com/watch?v=zcWJCKsODZk
4•matt_d•1h ago•0 comments

Towards Understandable Software

https://gracefulliberty.com/articles/towards-understandable-software/
3•signa11•1h ago•0 comments