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•11mo ago

Comments

MaximosMK•11mo 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!

Oracle is cutting up to 30k employees to pay for AI data centres

https://thenextweb.com/news/oracle-layoffs-march-2026
1•yogthos•14s ago•0 comments

What's Cch? Reverse Engineering Claude Code's Request Signing

https://a10k.co/b/reverse-engineering-claude-code-cch.html
1•tcdent•18s ago•0 comments

How to Fingerprint Users

https://paradisefacade.com/blog/2026/3/9/how-to-fingerprint-users
1•winocm•1m ago•0 comments

The state of AI safety in four fake graphs

https://www.lesswrong.com/posts/g4LMH3c6DysazYbFn/the-state-of-ai-safety-in-four-fake-graphs
1•allenleee•2m ago•0 comments

Speed is only useful if you're going in the right direction

https://matthewboston.com/blog/speed-is-only-useful-if-youre-going-in-the-right-direction/
1•bostonaholic•3m ago•0 comments

glab-overseer: GitLab CI pipelines terminal watcher

https://github.com/arvindell/glab-overseer
2•arvindell•5m ago•1 comments

FFmpeg Is Moving to Rust

https://twitter.com/FFmpeg/status/2039115531744334180
1•codepawl•7m ago•1 comments

Anthropic open sourced Claude Code

https://layer5.io/blog/engineering/the-claude-code-source-leak-512000-lines-a-missing-npmignore-a...
1•miacycle•9m ago•0 comments

OpenClaw: The complete guide to building, training and living with your AI agent

https://www.lennysnewsletter.com/p/openclaw-the-complete-guide-to-building
2•gmays•9m ago•0 comments

The Four Color Theorem with Near-Linear Time Coloring

https://arxiv.org/abs/2603.24880
1•robinhouston•11m ago•0 comments

The Norwegian Billionaire Who Broke the Iditarod

https://www.thenation.com/article/society/iditarod-billionaire-expedition-class-rokke/
1•petethomas•15m ago•0 comments

Lightning Map

https://map.blitzortung.org/
1•Cider9986•22m ago•2 comments

Apple Will Enable iOS 18 Security Updates for iOS 26-Capable Devices

https://www.wired.com/story/apple-will-push-out-rare-backported-patches-to-protect-ios-18-users-f...
2•tech234a•22m ago•0 comments

Burning Tokens Fast

https://github.com/openai/codex/issues/14593
2•0x1997•24m ago•0 comments

You're cooked either way. Which kind of cooked do you want to be?

https://www.eomag.io/article/ralphthon
2•chanwooEO•25m ago•3 comments

Intel SGX: Global Wrapping Key Extracted

https://twitter.com/_markel___/status/2039067007744688166
5•fogzen•25m ago•0 comments

ClawDecode – What we found reading all 512K lines of Claude Code's leaked source

https://www.clawdecode.net/
1•AveryChai•26m ago•0 comments

AI Agent Traps

https://papers.ssrn.com/sol3/papers.cfm?abstract_id=6372438
2•handfuloflight•28m ago•1 comments

Congressman Calls for FBI Help over Missing General, Scientists

https://www.newsweek.com/congressman-calls-for-fbi-help-over-missing-general-scientists-11764096
3•gradus_ad•31m ago•1 comments

From Hierarchy to Intelligence

https://twitter.com/jack/status/2039003879841362278
1•mellosouls•33m ago•1 comments

Rethinking Language Model Scaling Under Transferable Hypersphere Optimization

https://arxiv.org/abs/2603.28743
1•matt_d•34m ago•0 comments

NASA Chief: "We Just Built Antigravity Propulsion " [video]

https://www.youtube.com/watch?v=mOWwdIuyaQA
1•chadpaulson•36m ago•0 comments

Justice Dept. Struggles to Respond to Trump's Suit Against IRS

https://www.nytimes.com/2026/03/31/us/politics/trump-irs-lawsuit-doj.html
3•duxup•37m ago•1 comments

Red hair, one year later

https://imsadartistgirlfrominternet.substack.com/p/red-hair-one-year-later
1•lucieleud•38m ago•0 comments

LFM2.5-350M: No Size Left Behind

https://www.liquid.ai/blog/lfm2-5-350m-no-size-left-behind
1•jbarrow•39m ago•1 comments

Why seizing Iran's uranium would be so risky for the US

https://www.bbc.com/news/articles/cvglv5v4yvpo
2•tartoran•43m ago•0 comments

OpenAI Closes Silicon Valley's Largest-Ever Funding Round: $122B

https://www.wsj.com/tech/ai/openai-closes-silicon-valleys-largest-ever-funding-round-e48372c9
1•bookofjoe•46m ago•2 comments

My son pleasured himself on Gemini Live. Entire family's Google accounts banned

https://old.reddit.com/r/LegalAdviceUK/comments/1s92fql/my_son_pleasured_himself_in_front_of_gemi...
37•samlinnfer•51m ago•14 comments

Supreme Court opens door to conversion therapy

https://text.npr.org/nx-s1-5768105
2•1659447091•52m ago•1 comments

DDR5 RAM prices fall by as much as 30%, but memory shortage likely far from over

https://www.notebookcheck.net/DDR5-RAM-prices-fall-by-as-much-as-30-but-memory-shortage-likely-fa...
5•jeffufl•53m ago•0 comments