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

Comments

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

Show HN: Minimalistic hex/binary text visualizer for educational UTF-8 demo

https://chessnawk.vercel.app/tools/hex
2•vitaly-pavlenko•6m ago•0 comments

Jedi Blue

https://en.wikipedia.org/wiki/Jedi_Blue
3•redbell•7m ago•0 comments

Common database for Chat Applications

https://progressdb.dev
1•hasante•9m ago•1 comments

Flight disruption warning as Airbus requests modifications to 6k planes

https://www.bbc.com/news/live/cvg4y6g74ert
2•nrhrjrjrjtntbt•11m ago•1 comments

The Secret Superfood of Thanksgiving

https://www.twopct.com/p/the-secret-superfood-of-thanksgiving
3•bilsbie•11m ago•0 comments

A Deep Dive into the Qualcomm Snapdragon X2 Elite SoC Details

https://www.semiaccurate.com/2025/11/27/a-deep-dive-into-the-qualcomm-snapdragon-x2-elite-soc-det...
2•walterbell•13m ago•0 comments

Own a Graph

https://staysaasy.com/strategy/2025/11/25/own-a-graph.html
2•RyeCombinator•14m ago•0 comments

Indoor Dog Park Directory – Find Climate-Controlled Dog Play Spaces California

https://www.indoordogpark.org
1•mabalal•24m ago•1 comments

The Art of KPop Demon Hunters

https://theartofkpopdemonhunters.com/
1•lehi•24m ago•0 comments

MetaFun: Compile Haskell-like code to C++ template metaprograms

https://gergo.erdi.hu/projects/metafun/
1•todsacerdoti•26m ago•0 comments

Strategic Fabrication in AI Self-Governance: An Empirical Audit of 9 Major LLMs

https://zenodo.org/records/17754943
2•mikeup91•29m ago•1 comments

Ask HN: What is the purpose of all these AI spam comments?

9•GaryBluto•29m ago•4 comments

Google Images: Shirts Without Stripes

https://www.google.com/search?newwindow=1&fbs=&q=shirts%2Bwithout%2Bstripes&sa=X&biw=1152&bih=958...
1•gregsadetsky•29m ago•2 comments

Are Peptide Injections Safe?

https://www.washingtonpost.com/health/2025/11/26/peptides-bodybuilding-injections-side-effects/
1•bookofjoe•32m ago•1 comments

Software Issue Hits Planes

https://news.sky.com/story/airbus-latest-software-issue-hits-thousands-of-planes-13476780
4•scopeh•34m ago•1 comments

Building a Distributed Database in Elixir, Part 3: Storage Layer and Why RocksDB

https://medium.com/@gawry/storage-layer-why-rocksdb-part-3-814e1d24a1a6
5•gawry•38m ago•1 comments

Keeping the Streak Alive

https://quartr.com/insights/edge/keeping-the-streak-alive-the-story-of-duolingo
1•sujayk_33•40m ago•0 comments

Chicago Data Center Overheated–and Shut Down Trade in Key Markets

https://www.wsj.com/finance/cme-options-futures-trading-halted-amid-data-center-issue-16e96ed1
2•perihelions•40m ago•0 comments

Turris Om Nia NG

https://www.discomp.cz/turris-omnia-ng_d130526.html
1•senorqa•42m ago•0 comments

Who's Grading You on Coursera? The Shift from Human Peers to AI

https://www.classcentral.com/report/coursera-peer-assessment-still-broken/
3•raybb•48m ago•0 comments

One point I made that didn't come across: Ilya

https://twitter.com/ilyasut/status/1994424504370581726
2•sabareesh•49m ago•0 comments

In Denmark, 'Night's Watch' Guards Monitor Trump from the Foreign Ministry

https://jen.jiji.com/jc/eng_agt?g=adnkronos&k=20251128KRONOS-202511112509571700_eng
2•SanjayMehta•49m ago•0 comments

The Best Improvement I've made to my Cursor workflow

https://foundinglean.substack.com/p/the-best-improvement-ive-made-to
1•indigodaddy•49m ago•0 comments

CME Group Commodity Futures Trading Halted, Traders Say

https://www.bloomberg.com/news/articles/2025-11-28/cme-group-commodity-futures-trading-halted-tra...
3•petethomas•51m ago•0 comments

Social media algorithms can alter political views, browser extension study shows

https://www.euronews.com/next/2025/11/28/social-media-algorithms-can-alter-political-views-browse...
4•geox•52m ago•0 comments

Ask HN: Why don't closed captions boldface words that are likely to be misheard?

2•amichail•53m ago•1 comments

Trump says he will cancel all Biden executive orders signed by autopen

https://www.theguardian.com/us-news/live/2025/nov/28/trump-washington-dc-shooting-politics-updates
5•vinni2•1h ago•1 comments

LX: A CLI tool for LaTeX notes management

https://github.com/kamal-hamza/lx-cli
1•hkamal233•1h ago•0 comments

Solving Polynomials Is Hard

https://youtu.be/9HIy5dJE-zQ
3•bane•1h ago•0 comments

Flights disrupted as Airbus requests modifications to planes

https://www.bbc.co.uk/news/articles/c8e9d13x2z7o
7•martinald•1h ago•1 comments