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!

A Safe Path to Open Weights

https://thinkingmachines.ai/blog/a-safe-path-to-open-weights/
1•stokedmartin•2m ago•0 comments

Readable ad-hoc commands agent skill

https://github.com/a-b/readable-ad-hoc-commands
1•a-b•3m ago•0 comments

How to Exist

https://www.raptitude.com/2026/07/how-to-exist/
2•walterbell•4m ago•0 comments

US Treasury undertakes historic intervention in yen market

https://www.ft.com/content/0f9b2fe7-bde4-4f5f-b49e-93ccb5da9ea8
3•petethomas•10m ago•1 comments

Random Thoughts of Lineage and Death

1•kooi•14m ago•0 comments

Global temperature changes from 12,000 weather stations (1850-2026)

https://github.com/reflex-dev/xy/discussions/419
6•palashawas•16m ago•0 comments

The Red-Hot Book at the Center of an AI Mystery

https://www.wsj.com/business/media/the-red-hot-book-at-the-center-of-an-ai-mystery-201c4665
1•petethomas•19m ago•0 comments

Hacker uses DeepSeek AI to autonomously attack vulnerable servers

https://www.bleepingcomputer.com/news/security/hacker-uses-deepseek-ai-to-autonomously-attack-vul...
3•sbulaev•22m ago•0 comments

Ask HN: What did you learn last month? (July 2026)

2•bhu1st•22m ago•1 comments

Can I vibe code it?

https://canivibecodeit.com/
3•kamphey•23m ago•2 comments

Hunk – Review-first terminal diff viewer for agentic coders

https://www.hunk.dev/
1•chrkl•25m ago•0 comments

Cyberattack on water systems in multiple states has US officials on edge

https://www.cnn.com/2026/07/31/politics/sweeping-cyberattack-us-water-systems
4•Teever•34m ago•1 comments

Dfs-Large1: New Frontier for Cybersecurity

https://depthfirst.com/research/dfs-large-new-model-release
12•iqster•34m ago•2 comments

Rogue AI hacking incidents amplify debate over open-source tech

https://thehill.com/policy/technology/6003142-nvidia-launches-secure-ai-alliance/
2•petethomas•34m ago•0 comments

I made a free web app that prevents your screen from turning off automatically

https://keepscreenon.vercel.app
2•Adam-Hincu•34m ago•1 comments

China's Xi urges military to step up use of unmanned AI technologies

https://www.bloomberg.com/news/articles/2026-07-31/xi-urges-military-to-step-up-use-of-unmanned-a...
4•thoughtpeddler•35m ago•0 comments

Privilege Escalation in AWS Elastic Kubernetes Service (2023)

https://blog.calif.io/p/privilege-escalation-in-eks
2•882542F3884314B•36m ago•0 comments

Claude-Fleet

https://github.com/Shubhamgupta2612/claude-fleet
2•Shubham2612•40m ago•0 comments

Is Stripe the Internet?

2•Taikhoom2010•41m ago•0 comments

Tesla Weighs Sale of China Business to Pave Way for Potential SpaceX Merger

https://www.wsj.com/business/autos/tesla-weighs-sale-of-china-business-to-pave-way-for-potential-...
2•jnord•44m ago•1 comments

The most famous brand in physical security got pwned by ShinyHunters

https://www.theregister.com/security/2026/07/31/the-most-famous-brand-in-physical-security-got-pw...
5•Bender•50m ago•0 comments

The Major Labels Propose Rules to Keep AI Slop Off the Charts

https://www.ifpi.org/ifpi-rolls-out-global-principles-for-the-eligibility-of-recordings-developed...
3•m463•50m ago•0 comments

Airport sign fails to boot, officers on the scene

https://www.theregister.com/offbeat/2026/07/31/airport-sign-fails-to-boot-officers-already-on-the...
3•Bender•50m ago•0 comments

Flux9s: A K9s-inspired terminal UI for Flux and GitOps state

https://flux9s.ca/
2•bradpenney•51m ago•0 comments

That Viral Photo of San Francisco NIMBYs Shows Why Housing Is Winning

https://inpractice.yimbyaction.org/p/that-viral-photo-of-san-francisco
16•pumpkin88•54m ago•5 comments

Coldcard generated predictable wallet seeds for five years

https://coldcard-hack.up.railway.app/
4•madars•56m ago•0 comments

Zitron: "Everyone Has Been Sold a Lie" on AI [video]

https://www.youtube.com/watch?v=pHcZpvIfho0
6•Bender•57m ago•1 comments

Read the Novels and Forget Everything Else

https://hedgehogreview.com/web-features/thr/posts/read-the-novels-and-forget-everything-else
4•samclemens•57m ago•0 comments

A giddy Patti Smith meets fellow Chicago legend, Pope Leo XIV

https://apnews.com/article/vatican-patti-smith-pope-leo-8c1a76ec542d47b7b1a4c72f70b0c8b9
5•petethomas•58m ago•0 comments

$2M crime novel deal collapses amid questions over AI use

https://www.theguardian.com/books/2026/jul/31/crime-novel-deal-collapses-questions-ai-jerry-falad...
5•mellosouls•59m ago•0 comments