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!

pg_re2: fast, RE2-powered regular expressions in Postgres

https://clickhouse.com/blog/introducing-pg_re2-regex-in-postgres
1•thunderbong•1m ago•0 comments

Bad start for internet bench (2001)

http://news.bbc.co.uk/2/hi/science/nature/1481783.stm
1•EndXA•2m ago•0 comments

Online MMO Built in 3 Weeks with Opus/Fable

https://www.glitch.fun/games/8254e0f9-6c3a-4c94-8a16-570157b9df3b/play
1•bingewave•2m ago•0 comments

Meta Patents AI Device That Tracks Your Emotions, Watches You Take Your Meds

https://www.404media.co/meta-patents-ai-device-that-tracks-your-emotions-watches-you-take-your-meds/
1•Brajeshwar•3m ago•0 comments

UK Dynamism Fund

https://ukdynamism.fund/
1•macleginn•3m ago•0 comments

How to build a GitHub code review agent

https://debugger.substack.com/p/how-to-build-github-code-review-agent
2•saba-ch•3m ago•1 comments

LLMs Corrupt Your Documents When You Delegate

https://notesbylex.com/llms-corrupt-your-documents-when-you-delegate
2•byt3h3ad•4m ago•0 comments

Microsoft's patch Tuesdays are about to get bigger

https://www.theverge.com/tech/963307/microsoft-patch-tuesday-ai-security-updates
1•speckx•5m ago•0 comments

Making of the Naturalist's Library – C82: Works of Nicholas Rougeux

https://www.c82.net/blog/making-of-naturalists-library
1•janpio•6m ago•0 comments

Lexxy: A modern rich text editor for Rails

https://lexxy.dev/
1•ksec•6m ago•0 comments

AI's economic effects is causing serious pain for most Americans

2•mapping365•7m ago•1 comments

The Naturalist's Library

https://www.c82.net/naturalists-library/
2•janpio•7m ago•0 comments

Leak Reveals Possible Secret Russia-China Military Plan to Disable Starlink

https://united24media.com/world/leaked-documents-reveal-possible-secret-russia-china-military-pla...
4•greesil•8m ago•0 comments

Volkswagen job cuts: Germany's time as a car nation is over – analyst

https://www.youtube.com/watch?v=HcKYDvNtOrk
1•root-parent•8m ago•0 comments

Behaviour with GitHub's Email Resolver

1•sdaac•9m ago•1 comments

Our Straussian Technocracy

https://libertiesjournal.com/online-articles/our-straussian-techocracy/
1•kjshsh123•11m ago•0 comments

Show HN: A prompt bar that lets my website edit itself (self-hosted Claude Code)

https://github.com/vibhasjain/agent-keyboard
1•vibhas•11m ago•0 comments

Ask HN: HN Algolia API returns 400 for queries with points in numericFilters

1•eddyg•11m ago•0 comments

What Makes Humans Stupid

https://nautil.us/what-makes-humans-stupid-1282459
1•obscurette•12m ago•0 comments

Cloudflare Announces Research Pilot with OpenAI

https://www.cloudflare.com/press/press-releases/2026/cloudflare-announces-research-pilot-with-ope...
2•01-_-•14m ago•0 comments

AI Data Center's Endless Hum

https://www.gadgetreview.com/ai-data-centers-endless-hum-the-unchecked-ai-nightmare-forcing-a-mic...
3•01-_-•15m ago•0 comments

China warns of 'security backdoor' in Anthropic AI coding tool

https://www.channelnewsasia.com/east-asia/china-anthropic-claude-code-ai-backdoor-security-alert-...
4•Markoff•17m ago•0 comments

OpenAI faked inability to search training data, hid billions of logs, NYT says

https://arstechnica.com/tech-policy/2026/07/openai-faked-inability-to-search-training-data-hid-bi...
10•cdrnsf•18m ago•0 comments

Show HN: Replen – maps your repos to a knowledge graph to match open-source

https://github.com/replenhq/replen
2•nsokin•18m ago•0 comments

Escape from Squircle Jail

https://tyler.io/2026/07/05/escape-from-squircle-jail/
2•nate•19m ago•0 comments

GPU Quicklist – AI PC/Mac

https://gpuquicklist.com/apus
3•kristianp•19m ago•1 comments

ChatGPT Sites

https://help.openai.com/en/articles/20001339-creating-and-managing-chatgpt-sites
2•makeramen•19m ago•0 comments

Show HN: Posara: A Visual-Audio Engine Now on Web

https://khn190.github.io/posara/
2•knh190•19m ago•0 comments

Volkswagen put 100 sheep to work under 31,000 solar panels

https://electrek.co/2026/07/08/volkswagen-put-100-sheep-to-work-under-31000-solar-panels/
4•Brajeshwar•20m ago•2 comments

Tracker – a lightweight self-hosted document system for agents in Go

https://github.com/chicagobuss/tracker/
3•chicagobuss•20m ago•1 comments