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!

NPM bypass-2FA tokens can no longer manage accounts or packages

https://github.blog/changelog/2026-07-31-restricting-npm-bypass-2fa-granular-access-tokens/
1•nyku•1m ago•0 comments

How to plant a nuclear plant in Iran

https://www.digitaldigging.org/p/how-to-plant-a-nuclear-plant-in-iran
1•georgecmu•3m ago•0 comments

Neuroscience of Enduring Change: Erasing Problematic Emotional Learnings [pdf]

https://coherencetherapy.org/files/Ecker-2020-Erasing_Problematic_Emotional_Learnings-Psychothera...
1•plucafs•4m ago•0 comments

Decidim is a digital platform for citizen participation

https://decidim.org/
1•riffraff•4m ago•0 comments

Replicating the physics of the Gameboy screen for realistic emulation

https://note.com/kathoc/n/n5ceb773a3dbc
1•iamwil•5m ago•0 comments

Tglist – Telegram reach drops as post rate grows – except for Ukrainian channels

https://tglist.io/rnd/posting-frequency-reach-decay
1•coubri•7m ago•0 comments

Scalzi – Another Reason Not to Use "AI" for Your Writing

https://whatever.scalzi.com/2026/07/31/another-reason-not-to-use-ai-for-your-writing/
2•roomey•8m ago•0 comments

Google kills Earth AI generator after one day

https://twitter.com/newsfromgoogle/status/2083249962150760610
7•BlueBerry2001•12m ago•2 comments

Federal prosecutors > Trump administration's claims of vandalism were false

https://www.nytimes.com/2026/07/31/us/david-hearn-reflecting-pool-vandalism-charges.html
1•mgav•15m ago•3 comments

86,359 Queries in One Request: An Outage Where Every Dashboard Was Green

https://vladthe.dev/blog/86-359-queries-in-one-request-an-outage-where-every-dashboard-was-green
1•pacMakaveli•16m ago•0 comments

Charlie Stross – On the non-use of AI in my writing process

https://www.antipope.org/charlie/blog-static/2026/08/on-the-non-use-of-ai-in-my-wri.html
1•jwx48•18m ago•0 comments

Show HN: Agent Architect Skill for building agentic systems

https://github.com/anyaa-labs/agent-skills
1•shikharja•24m ago•0 comments

Don't Start a Travel Startup

https://skift.com/2026/07/30/dont-start-a-travel-startup/
3•mgav•29m ago•2 comments

U.S. exempts SpaceX's Starlink from FCC ban on foreign-made routers

https://arstechnica.com/tech-policy/2026/07/starlink-gets-exemption-from-fcc-ban-on-routers-made-...
2•JumpCrisscross•30m ago•0 comments

RFC 10023: The "_for-sale" Underscored and Globally Scoped DNS Node Name

https://www.rfc-editor.org/info/rfc10023/
2•jruohonen•30m ago•0 comments

Centralization as the Solution

https://jiranihub.com/
2•jiranihub•35m ago•1 comments

A Field Guide to the AI Security Market

https://zeltser.com/ai-security-market-field-guide
2•882542F3884314B•35m ago•0 comments

Vercel Passport is now generally available

https://vercel.com/changelog/vercel-passport-generally-available
2•flyaway123•36m ago•0 comments

July 2026 in AI

https://howmachinesthink.substack.com/p/july-2026-in-ai-what-actually-mattered
2•abhaysinghr516•36m ago•0 comments

Google AI Overviews have gone from appearing in 15% of searches to 43% now

https://techcrunch.com/2026/07/27/googles-ai-search-is-rapidly-becoming-the-default-new-data-shows/
2•qikouki•38m ago•0 comments

RipGrep musl binaries occasionally segfault during very-large searches

https://github.com/BurntSushi/ripgrep/issues/3494
43•throwaway2037•40m ago•18 comments

Test the Email Verification Protocol with an origin trial

https://developer.chrome.com/blog/email-verification-protocol-origin-trial
2•eatonphil•40m ago•0 comments

Unreleased OpenAI model solves 10 major mathematical problems

https://twitter.com/polynoamial/status/2083467194663571701
2•crhulls•40m ago•0 comments

Hurricanes Make Lizards Evolve Bigger Toe Pads (2020)

https://www.smithsonianmag.com/smart-news/hurricanes-make-lizards-evolve-bigger-toe-pads-180974772/
1•EndXA•41m ago•0 comments

Pull Request Now Means Pull and Test

https://hec.works/blog/pull-request-now-means-pull-test/
1•dividedcomet•41m ago•0 comments

Integrate LLM into your Python runtime

https://github.com/MiskaKan/thinair
1•ObviousDecline•43m ago•0 comments

You are building a better future – NO PROMOTION AT ALL

1•silisleek•43m ago•0 comments

Show HN: Minimal LLM Post-Training Experiments on an 8GB GPU (SFT, DPO, GRPO)

https://github.com/pochenai/nano-llm-posttraining
2•popopanda•44m ago•0 comments

Building a local positioning system to track runners using Ultra-Wideband

https://zeus.ugent.be/blog/25-26/12urenloop-uwb/
1•robinpdev•44m ago•0 comments

China begins mass production of DUV chipmaking machines in major breakthrough

https://www.tomshardware.com/tech-industry/semiconductors/china-begins-mass-production-of-domesti...
4•JumpCrisscross•46m ago•1 comments