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!

PostgreSQL's MVCC is bad. So is everyone else's

https://boringsql.com/posts/mvcc-bad-bad/
1•radimm•36s ago•0 comments

Anatomy of a Thin-Book Loss

https://brocode.rs/research/thin-book-loss/
1•desicne•45s ago•0 comments

Don't add PostHog to your codebase. Make AI do it for you

https://posthog.com/wizard
1•mooreds•1m ago•0 comments

DIY Home Solar System for under $5000

https://www.gavinmai.com/1736354308000-diy-home-solar-backup-system
1•gmaijoe•1m ago•0 comments

Hiding Data in Empty Space Characters

http://www.undr.com/understatement/2026/july24_hiding_data_in_empty_space_demo/index.html
1•lurn_mor•2m ago•1 comments

A Brief, Incomplete, and Mostly Wrong History of Programming Languages

http://james-iry.blogspot.com/2009/05/brief-incomplete-and-mostly-wrong.html
1•wizerno•2m ago•0 comments

Show HN: Towerpunk Cyberdefence

https://towerpunk.aeonax.com
1•xeonax•2m ago•0 comments

Stable Scheduling Increases Productivity and Sales (2016) [pdf]

https://worklifelaw.org/publications/Stable-Scheduling-Study-Report.pdf
1•mooreds•3m ago•0 comments

Erasmus Darwin's Improved Design for Steering Carriages–and Cars (2002)

https://www.jstor.org/stable/532121
1•walterbell•4m ago•0 comments

The Beauty of Chalk

https://www.plough.com/articles/the-beauty-of-chalk
1•geneticdrifts•4m ago•0 comments

Show HN: Xllama – Local LLM Chat and Stable Diffusion on an Xbox Series S

https://github.com/gianlucamazza/xllama
1•gmazza1989•5m ago•0 comments

How the EU can punish Google (despite Trump)

https://pluralistic.net/2026/07/27/eucd-6/
1•hn_acker•7m ago•0 comments

Iran War Forces Energy Buyers to 'Unshackle' from Global Markets

https://www.nytimes.com/2026/07/27/business/natural-gas-lng-asia-exposure.html
1•JumpCrisscross•8m ago•0 comments

AI Can't Do the Last 20%

https://www.vincentschmalbach.com/ai-cant-do-last-20/
3•vincent_s•9m ago•0 comments

Why Fast Branching Is Key to AI Agent-Era Databases

https://medium.com/@Koukyosyumei/why-fast-branching-is-key-to-ai-agent-era-databases-6249a129a802
1•syumei•11m ago•0 comments

Steganographic Language Output Process Encoding

https://cryptography.dog/blog/steganographic-language-output-process-encoding/
1•ColinWright•12m ago•0 comments

The reconnect storm that never touched the broker

https://www.sidexlabs.com/posts/reconnect-storm
1•thechuckgroup•13m ago•0 comments

Build a whole marketing team with eve

https://github.com/vercel-labs/marketing-team-eve-template
1•flashbrew•15m ago•0 comments

You, too, can never, ever relax

https://news.harvard.edu/gazette/story/2025/04/you-too-can-never-ever-relax/
2•surprisetalk•18m ago•0 comments

AI doesn't get better at this board game with practice

https://epoch.ai/publications/earthborne-rangers-benchmark
1•speckx•19m ago•0 comments

Avoid the Trap of Magical Thinking

https://bjorg.bjornroche.com/management/magical-thinking/
2•mooreds•19m ago•0 comments

How to answer ethical concerns about AI

https://www.theaithinker.com/p/how-to-answer-ethical-concerns-about
1•adamfaik•21m ago•0 comments

How al-Qaida and IS are adopting AI

https://theconversation.com/al-qaida-and-the-islamic-state-are-both-adopting-ai-but-differ-in-how...
3•teaman2000•21m ago•0 comments

Iarpa

https://en.wikipedia.org/wiki/Intelligence_Advanced_Research_Projects_Activity
1•gregsadetsky•22m ago•0 comments

AI as Normal Technology

https://knightcolumbia.org/content/ai-as-normal-technology
2•ETH_start•22m ago•0 comments

Surprising Portion of Rent-Stabilized Apartments Go to NYC's Wealthiest Renters

https://www.wsj.com/real-estate/a-surprising-portion-of-rent-stabilized-apartments-go-to-nycs-wea...
4•JumpCrisscross•23m ago•0 comments

Show HN: Read the Places – a map of every real place in 392 novels

https://readtheplaces.com/
3•markselby•26m ago•1 comments

Stirring Up the Colonial Past

https://oxonianreview.com/articles/stirring-up-the-colonial-past
2•speckx•26m ago•0 comments

Show HN: How many more times will you see your mother?

https://countyourtimes.com
1•alexjray•27m ago•1 comments

Being a Luddite Is Fun Again

https://www.404media.co/luddite-events-nyc-off-tech-summer-of-ludd/
1•cdrnsf•28m ago•0 comments