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!

NixOS 25.11 Released

https://nixos.org/blog/announcements/2025/nixos-2511/
1•trulyrandom•1m ago•0 comments

DEP-18: A proposal for Git-based collaboration in Debian

https://optimizedbyotto.com/post/debian-collaboration-on-git/
1•ottoke•4m ago•1 comments

Don't push AI down our throats

https://gpt3experiments.substack.com/p/dont-push-ai-down-our-throats
5•nutanc•6m ago•1 comments

X's move to show users' location is a great step toward online transparency

https://www.washingtonpost.com/opinions/2025/11/25/elon-musk-x-location-democracy/
2•bookofjoe•6m ago•0 comments

Global Stock Leaderboards Are Ruled by Europe in Rare Dominance

https://www.bloomberg.com/news/articles/2025-11-30/global-stock-leaderboards-are-ruled-by-europe-...
1•layer8•7m ago•1 comments

There is No Quintic Formula [video]

https://www.youtube.com/watch?v=9HIy5dJE-zQ
3•DamnInteresting•7m ago•0 comments

Does 'Laziness' Start in the Brain?

https://www.theguardian.com/books/2025/nov/30/does-laziness-start-in-the-brain-apathy-motivation
4•billybuckwheat•11m ago•0 comments

Extinction rates have *slowed* over the last 100 years

https://royalsocietypublishing.org/doi/10.1098/rspb.2025.1717
1•bilsbie•13m ago•0 comments

The Complete Xbox Ally and Ally X Hands-On Review (Windows vs. Bazzite)

https://boilingsteam.com/complete-xbox-ally-and-ally-x-hands-on-review/
1•ekianjo•14m ago•0 comments

Show HN: I Built Tinyfocus – A Minimal Tool to Help Solo Founders Focus

https://www.tinyfoc.us/landing
1•arlindb•17m ago•0 comments

47.2M Developers Worldwide: Global Trends for 2025

https://www.slashdata.co/post/global-developer-population-trends-2025-how-many-developers-are-there
2•birdculture•21m ago•0 comments

Recent study: typical statins do cause muscle discomfort

https://www.nature.com/articles/s41467-025-66522-0
2•hereme888•22m ago•1 comments

Max Verstappen beats Piastri to take F1 title race to Abu Dhabi GP

https://www.theguardian.com/sport/2025/nov/30/max-verstappen-beats-piastri-to-take-f1-title-race-...
2•tosh•24m ago•0 comments

Writing a Good Claude.md

https://www.humanlayer.dev/blog/writing-a-good-claude-md
4•objcts•26m ago•0 comments

Show HN: AI vs. Real – A simple game I built for guessing real images

https://apps.apple.com/us/app/ai-vs-real/id6754675618
1•aliibnepasha•26m ago•1 comments

Tell HN: ChatGPT has 13B revenue but can't make a working website

3•0xbadcafebee•27m ago•2 comments

Show HN: Schema Pilot – Visual Database Designer with Instant Prisma

1•Punyakrit•32m ago•0 comments

SafeShare – strip tracking parameters from links before you share them

https://github.com/J-AI-71/Supersystem
3•safeshare•35m ago•2 comments

Vector Graphics in Godot Better Than Adobe Flash

https://old.reddit.com/r/godot/comments/1p339f9/vector_graphics_in_godot_better_than_adobe_flash/
1•ShenCiao•37m ago•0 comments

ETH-Zurich: Digital Design and Computer Architecture; 227-0003-10L, Spring, 2025

https://safari.ethz.ch/ddca/spring2025/doku.php?id=start
8•__rito__•37m ago•0 comments

You Can't Find a Cab in the Rain

https://nicholasdecker.substack.com/p/why-you-cant-find-a-cab-in-the-rain
2•paulpauper•44m ago•0 comments

US War Dept's Big UFO Lie

https://www.overcomingbias.com/p/us-war-depts-big-ufo-lie
3•paulpauper•44m ago•2 comments

ESA Sentinel-1D delivers first high-resolution images

https://www.esa.int/Applications/Observing_the_Earth/Copernicus/Sentinel-1/Sentinel-1D_delivers_f...
4•giuliomagnifico•46m ago•0 comments

Making tiny 0.1cc two stroke engine from scratch

https://youtu.be/nKVq9u52A-c?si=KVY6AK7tsudqnbJN
2•pillars•48m ago•1 comments

There are no moral laws out there

https://www.optimallyirrational.com/p/there-are-no-moral-laws-out-there
3•paulpauper•51m ago•0 comments

Bending Emacs – Episode 7: Eshell built-in commands [video]

https://www.youtube.com/watch?v=M6o1N2kfmuc
1•xenodium•52m ago•0 comments

Psychedelics produce enduring behavioral effects and functional plasticity

https://www.nature.com/articles/s41386-025-02272-3
4•XzetaU8•54m ago•1 comments

AI Said This Wing Is 27% More Efficient. So I Built It and Flight-Tested It [video]

https://www.youtube.com/watch?v=1KUkbKKXZqw
3•xbmcuser•54m ago•0 comments

New Zero-Data Storage Password Vaulting Tool

https://www.devglan.com/online-tools/secure-password-vault
1•only2dhir•55m ago•0 comments

User-Adjustable Leather Tool Organizers

https://www.core77.com/posts/138928/User-Adjustable-Leather-Tool-Organizers
1•surprisetalk•57m ago•0 comments