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

Transgender Homicides in Britain, 2000-2025: Victims and Perpetrators

https://papers.ssrn.com/sol3/papers.cfm?abstract_id=6182901
1•fodmap•45s ago•0 comments

A minimal weather app that just shows your week

https://apps.apple.com/us/app/wthr/id6763099599
1•gokbek•1m ago•0 comments

Ace Template: create and deploy a Rails app in < 5 minutes (self-hosted or PaaS)

https://github.com/jeromedalbert/ace-template
1•jdalbert•3m ago•0 comments

Anonymous hacked Chinese satellite systems to protest against age check laws

https://old.reddit.com/r/privacy/comments/1t3vbyn/anonymous_hacked_chinese_satellite_systems_to/
1•mostcallmeyt•5m ago•0 comments

A Rust implementation of the Teal programming language compiler

https://github.com/rustq/tear
1•meloyc•8m ago•0 comments

Got tired of clunky extensions for pdf from ChatGPT Export

https://getchatcache.com
1•vedant28t•12m ago•1 comments

OTUS Project – Observations of Tornadoes by UAV Systems

https://www.theotusproject.com
2•unsnap_biceps•17m ago•0 comments

Cool project to replace PCB in not-very-private home tech

https://www.crowdsupply.com/micimike-rev-devices/micimike-home-mini-drop-in-pcb
2•m463•18m ago•0 comments

Turn geopolitical buzz into concrete risk alerts

https://github.com/vassiliylakhonin/agenda-intelligence-md
2•vassilbek•21m ago•0 comments

A man who blew up a nuclear power station and disappeared

https://www.theguardian.com/world/2026/may/05/the-man-who-blew-up-a-nuclear-power-station-koeberg...
2•sam-cop-vimes•21m ago•0 comments

How do I inform Windows that I'm writing a binary file?

https://devblogs.microsoft.com/oldnewthing/20260504-00/?p=112296
3•ingve•24m ago•0 comments

SEC and Elon Musk agree to settle lawsuit over Twitter buyout in 2022

https://www.cnbc.com/2026/05/04/sec-and-elon-musk-agree-to-settle-lawsuit-over-twitter-buyout-in-...
3•1vuio0pswjnm7•24m ago•1 comments

Germany's main left-wing parties quit Musk's X over disinformation

https://dpa-international.com/politics/urn:newsml:dpa.com:20090101:260504-930-30940/
3•vrganj•24m ago•0 comments

Amazon rolls out Claude Code and Codex internally

https://www.businessinsider.com/amazon-claude-code-codex-all-employees-after-pushback-2026-5
4•preston-kwei•29m ago•0 comments

Free world city time and weather tracker for multiple cities simultaneously

https://weatherdesk.app/
2•abereza•33m ago•2 comments

Inexpressibility in Exp-Minus-Log (EML)

https://arxiv.org/abs/2605.01636
3•unprovable•33m ago•1 comments

One of California's Ritziest Beach Towns Has a Problem: A Tsunami of Raw Sewage

https://www.wsj.com/us-news/climate-environment/california-coronado-island-san-diego-mexico-sewag...
1•helsinkiandrew•34m ago•1 comments

Ask HN: Created Testing Hub for Indi Game Devs and Gamers Community

1•gray_wolf_99•37m ago•0 comments

Norwegian fish farms polluting fjords with waste likened to 'raw sewage'

https://www.theguardian.com/world/2026/may/04/norwegian-fish-farms-polluting-fjords-with-waste-li...
2•vinni2•37m ago•0 comments

Solving the Third Condiment Mystery with Primary Source Documents

https://review.gale.com/2025/09/02/solving-the-third-condiment-mystery/
2•thunderbong•45m ago•0 comments

Distributed Counters in NATS JetStream

https://www.synadia.com/blog/distributed-counter-crdt
1•latchkey•53m ago•0 comments

Cost of AI-Driven Development

https://blog.codonomics.com/2026/05/cost-of-ai-driven-development.html
1•sirkarthik•55m ago•1 comments

Image Loading on the Web

https://www.ludicon.com/castano/blog/2026/05/image-loading-on-the-web/
2•Aissen•58m ago•0 comments

Show HN: SongShift, an advanced, AI-powered song conversion service

https://songshift.reachnick.co
2•lobf•1h ago•0 comments

OpenAI Raises $4B for 'The Deployment Company' to Help Businesses Leverage AI

https://officechai.com/ai/openai-raises-4-billion-for-the-deployment-company-to-help-businesses-l...
1•0xsn3k•1h ago•0 comments

Is making IRL friends are hard

1•sumanrani•1h ago•0 comments

Show HN: Retroguard – Verifiably secure AI guardrails

https://retroguard.ai
4•ttttonyhe•1h ago•0 comments

New study shows how Nazi-era propaganda influences present-day attitudes

https://www.psypost.org/new-study-shows-how-nazi-era-propaganda-influences-present-day-attitudes/
2•giuliomagnifico•1h ago•0 comments

Brockman Says Musk Vowed on Trial's Eve to Make Him 'Hated'

https://www.bloomberg.com/news/articles/2026-05-04/openai-s-brockman-to-testify-after-musk-s-text...
1•1vuio0pswjnm7•1h ago•0 comments

Anthropic quietly nerfed Claude Code's 1-hour cache

https://www.xda-developers.com/anthropic-quietly-nerfed-claude-code-hour-cache-token-budget/
3•mikhael•1h ago•0 comments