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

Comments

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

Attracting Early Stage Investors: Evidence from a Randomized Experiment (2015)

https://papers.ssrn.com/sol3/papers.cfm?abstract_id=2432044
1•downbad_•2m ago•1 comments

Thomson Reuters Hit with Privacy Litigation in Michigan Re:Display of SSN Digits

https://www.law.com/2026/05/01/thomson-reuters-hit-with-privacy-class-action-in-michigan-over-dis...
1•1vuio0pswjnm7•4m ago•0 comments

How is it that Jakarta has improved so much?

https://indevelopmentmag.com/jakarta-transit-transformation/
1•paulpauper•4m ago•0 comments

CISA KEV: Linux "Copy Fail" CVE-2026-31431 Turns Kernel Bug into Patch Deadline

https://windowsforum.com/threads/cisa-kev-linux-copy-fail-cve-2026-31431-turns-kernel-bug-into-pa...
1•eth0up•4m ago•0 comments

Servers with Personality

https://caolan.uk/links/servers/
1•wrxd•6m ago•0 comments

Ask HN: What does a 9-year undetected memory-only Linux LPE imply?

1•eth0up•7m ago•0 comments

The STL for Geometry: Thirty-Year Evolution of C++ Libraries

https://polydera.com/algorithms/the-stl-for-geometry
1•ZigaSajovic•7m ago•0 comments

Scientists Create First-Ever 'Smell Map'

https://hms.harvard.edu/news/scientists-create-first-ever-smell-map
1•gmays•11m ago•0 comments

AI isn't coming for your job. It's coming for your mind

https://www.bailliegifford.com/en/uk/individual-investors/insights/ic-article/2026-q1-ai-isn-t-co...
1•XzetaU8•12m ago•0 comments

Can countries grow richer by exporting people, not goods?

https://www.economist.com/finance-and-economics/2026/04/30/can-countries-grow-richer-by-exporting...
1•andsoitis•13m ago•0 comments

Fungi and the Rise of Mammals [pdf]

https://journals.plos.org/plospathogens/article?id=10.1371/journal.ppat.1002808
1•thunderbong•14m ago•0 comments

AI threatens Big Law's talent pipeline

https://www.axios.com/2026/05/02/ai-lawyers-law-firms-artificial-intelligence
1•Brajeshwar•14m ago•0 comments

A lost galaxy called 'Loki' may be hiding inside the Milky Way

https://phys.org/news/2026-04-lost-galaxy-loki-milky.html
1•wglb•15m ago•1 comments

I made an Mobile-Coding Companion, seeking your reviews

https://www.remoot.dev
1•xporpy•16m ago•0 comments

Show HN: Writing a deep-research agent from scratch

https://deep-research-agent.pagey.site
1•freakynit•17m ago•0 comments

Modern C++ Programming: Busato

https://github.com/federico-busato/Modern-CPP-Programming
1•KnuthIsGod•18m ago•0 comments

Show HN: Verbalized-Sample-Skill.md Modal Probability-Ranked Answer Distribution

https://gist.github.com/spinchange/ebecc4a548bf163ce4fddae0699a8065
1•spinchange•19m ago•0 comments

The Mystery of the Missing Hotel Toothpaste (2013)

https://slate.com/human-interest/2013/07/toothpaste-in-hotels-why-do-they-provide-shampoo-soap-an...
1•downbad_•19m ago•1 comments

Museum of the Human Web

https://museum.parallel.ai/introduction?era=modern
1•TheBlapse•20m ago•0 comments

Data center land use issues are fake

https://blog.andymasley.com/p/data-center-land-use-issues-are-fake
1•Kye•21m ago•0 comments

Emergent Strategic Reasoning Risks in AI: A Taxonomy-Driven Evaluation Framework

https://arxiv.org/abs/2604.22119
1•gmays•21m ago•0 comments

DNS, the Phonebook That Isn't

https://toolkit.whysonil.dev/how-it-works/dns/
1•simplerhumane•22m ago•0 comments

MCP-ratchet: Go package for enforcing tool call order in MCP servers

https://github.com/hexxla/mcp-ratchet
1•sploitzberg•23m ago•0 comments

Why C++ is growing, and why C++26 will likely be adopted quickly [video]

https://www.youtube.com/watch?v=Qvr9MTAU_y4
1•dalvrosa•24m ago•0 comments

Meta's Pyrefly sabotages competing Python extensions without telling you

https://github.com/facebook/pyrefly/issues/3292
2•FossAndFurious•24m ago•1 comments

Lightning Talk: Cut the boilerplate with C++23 deducing_this – Sarthak Sehgal [video]

https://www.youtube.com/watch?v=o3vjUo2qXNg
1•dalvrosa•27m ago•0 comments

To Train or Not to Train

https://www.tanayj.com/p/to-train-or-not-to-train
1•gmays•28m ago•0 comments

Risky Business: How Science Plays Things Too Safe

https://qspace.fqxi.org/articles/284/risky-business-how-science-plays-things-too-safe
1•mathgenius•29m ago•0 comments

I compared the top embedded COSE+CBOR libraries so you dont have to

https://aidangarske.github.io/wolfCOSE/blog/wolfcose-vs-the-field/
1•aidangarske•34m ago•0 comments

Node.js is one of the worst things to happen to the software industry" (2012)

https://harmful.cat-v.org/software/node.js
1•downbad_•34m ago•1 comments