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•7mo ago

Comments

MaximosMK•7mo 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!

Jared Kushner's firm exits takeover battle for Warner Bros Discovery

https://www.theguardian.com/media/2025/dec/16/jared-kushner-affinity-partners-warner-bros-discovery
1•andsoitis•36s ago•0 comments

Crawlable – Turn any website into structured data using prompts

https://crawlable.app/
1•manos_89•1m ago•0 comments

Chainguard EmeritOSS: Sustainable stewardship for mature open source

https://www.chainguard.dev/unchained/introducing-chainguard-emeritoss
1•gpi•6m ago•0 comments

Why many Asian megacities are miserable places

https://www.economist.com/asia/2025/12/11/why-many-asian-megacities-are-miserable-places
3•andsoitis•6m ago•1 comments

Dlang Interfacing with C++

https://dlang.org/spec/cpp_interface.html
1•tmseidman•9m ago•0 comments

Why Does AI Have to Be Held to a Higher Bar Than Humans (and Why It Matters)?

https://medium.com/@srinathperera/why-does-ai-have-to-be-held-to-a-higher-bar-than-humans-and-why...
1•hemapani•11m ago•0 comments

Tattoo Numbing Cream Improves Comfort During Long Tattoo Sessions

1•xtangu•12m ago•0 comments

Tesla Robotaxis in Austin Crash 12.5x More Frequently Than Humans

https://electrek.co/2025/12/15/tesla-reports-another-robotaxi-crash-even-with-supervisor/
4•hjouneau•17m ago•0 comments

MIT nuclear scientist killed at home

https://apnews.com/article/mit-professor-shooting-massachusetts-portugal-3ab1e3e7e369de5cef90c7c9...
2•RyanShook•18m ago•0 comments

Are tired of slow interpreted POSIX shells?

1•TheCodingDecode•19m ago•0 comments

MiMo-V2-Flash

https://mimo.xiaomi.com/blog/mimo-v2-flash
2•bbzjk7•19m ago•0 comments

A New Shell

1•TheCodingDecode•20m ago•0 comments

Zero Sync Engine

https://zero.rocicorp.dev/docs/introduction
1•tamnd•20m ago•0 comments

Show HN: LifeContext–Build context with your life

https://github.com/LifeContext/lifecontext
1•guaguama•20m ago•0 comments

Choosing the Right Stainless Steel Utility Sink for Heavy-Duty Use

1•daugu•21m ago•0 comments

I built a tool that tells you why your build broke when Git shows no changes

https://www.npmjs.com/package/why-broke
1•Adityakammati•22m ago•1 comments

ByteDance Had Billion-Scale Vector Search Problem. It Solved with Hybrid Search

https://www.velodb.io/blog/bytedance-solved-billion-scale-vector-search-problem-with-apache-doris...
1•qinchencq•22m ago•0 comments

Senators count the shady ways data centers pass energy costs on to Americans

https://arstechnica.com/tech-policy/2025/12/shady-data-center-deals-doom-americans-to-higher-ener...
2•voxadam•24m ago•0 comments

Why Do Quaternions Double-Cover?

https://www.reedbeta.com/blog/why-quaternions-double-cover/
2•Frotag•26m ago•0 comments

AI Mode, Content and Search Index

https://dejan.ai/blog/ai-mode-content-search-index/
1•gmays•28m ago•0 comments

Go 1.26rc1 Is Live

https://go.dev/doc/go1.26
1•tamnd•28m ago•1 comments

Robert Samuelson, Award-Winning Economics Columnist, Dies at 79

https://www.nytimes.com/2025/12/15/business/media/robert-samuelson-dead.html
1•paulpauper•32m ago•0 comments

There's a Wasp Nest in the Living Room. On Purpose

https://www.nytimes.com/2025/10/24/realestate/luxury-wasp-nest.html
2•paulpauper•33m ago•0 comments

The Architecture of Market Regimes: DXY Structural and Reflexive Layers

https://zenodo.org/records/17958350
1•truongthanminh•36m ago•0 comments

The 30-Minute Exercise: Ask Your Employees to Write Their Job Prompt

https://medium.com/venturehq/the-30-minute-exercise-ask-your-employees-to-write-their-job-prompt-...
3•chtefi•36m ago•0 comments

10 Years of AWS Well-Architected Framework: A Personal Reflection

https://ibrahimcesar.cloud/blog/10-years-aws-well-architected-framework/
2•ibrahimcesar•37m ago•0 comments

Show HN: Deadlight · Zero-JS blogging for hostile networks (Workers and SQLite)

https://github.com/gnarzilla/blog.deadlight
1•gnarzilla_•40m ago•1 comments

Show HN: I kept forgetting the same adulting tasks, so I built an app to help

https://apps.apple.com/us/app/tidylife-life-upkeep/id6756452058
1•hos4m•41m ago•0 comments

The Entry-Level Hiring Process Is Breaking Down

https://www.theatlantic.com/ideas/2025/12/grade-inflation-ai-hiring/685157/
2•jdkee•43m ago•1 comments

An MIT professor was shot at home. Authorities say no suspect is in custody

https://www.pbs.org/newshour/nation/an-mit-professor-was-shot-at-home-authorities-say-no-suspect-...
2•heavyset_go•48m ago•0 comments