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!

Palantir CEO Karp: "If my family hadn't left Germany, I would be a lampshade."

https://twitter.com/infolibnews/status/2076738939080102155
2•logcode•4m ago•0 comments

Show HN: MemStitch – Zero-copy context bridging for vLLM (25x TTFT speedup)

https://github.com/DaqulaLin/MemStitch
2•daqulalin•4m ago•0 comments

FCC Approves Reflect Orbital's Space Mirror Satellite

https://au.pcmag.com/networking/118695/fcc-approves-reflect-orbitals-giant-mirror-satellite-that-...
2•bushwart•5m ago•0 comments

Distributed Development

https://reticulum.network/manual/distributed.html
2•sporkl•8m ago•0 comments

ESBMC-Arduino: Closing the Deployment Gap for Formal Verification

https://arxiv.org/abs/2607.08550
2•Jimmc414•9m ago•0 comments

The Git history command deserves more attention

https://lalitm.com/post/git-history/
4•turbocon•11m ago•0 comments

Why Smucker's $5B Bet on the Twinkie Flopped

https://www.wsj.com/business/retail/smucker-hostess-twinkies-365614e5
3•doctaj•17m ago•1 comments

I built Snapchat without a webserver and with better privacy

https://github.com/jay23606/mayfly
2•joeydavis0068•17m ago•0 comments

The Future Worth Building Is Human

https://thinkingmachines.ai/blog/the-future-worth-building-is-human/
2•doppp•20m ago•0 comments

China builds full-scale US warship replica in desert

https://www.cnn.com/2026/07/11/world/video/china-builds-full-scale-us-warship-replica-in-desert-w...
2•bushwart•21m ago•0 comments

Viability Torus Lab

https://viability-torus-lab.citizen-of-earth.chatgpt.site/
2•CitizenOfEarth•28m ago•0 comments

America's Latest Weapon Against Iran: Sea Drones

https://www.wsj.com/world/middle-east/americas-latest-weapon-against-iran-sea-drones-3d5150e7
2•JumpCrisscross•30m ago•0 comments

Teachers and Local Businesses Win as Meta Expands Louisiana Data Center

https://about.fb.com/news/2026/07/teachers-local-businesses-win-as-meta-expands-louisiana-data-ce...
2•gnabgib•33m ago•0 comments

How America's Accurate Election Polls Were Covered Up

https://www.racket.news/p/how-americas-accurate-election-polls
3•casey2•37m ago•0 comments

LAPD Regularly Pulled over Innocent People Plate Readers Flagged Cars as Stolen

https://www.404media.co/lapd-regularly-pulled-over-innocent-people-because-license-plate-readers-...
8•Jimmc414•37m ago•2 comments

SFU prof launches legal-AI collaboration with Caseway to improve justice

https://www.sfu.ca/fas/computing/news-events/news/2026/january/sfu-launches-legal-ai-collaboratio...
2•ClearwayLaw•38m ago•1 comments

What did SFFA vs. Harvard reveal about admissions?

https://sorting-machine.pages.dev/
4•StrageMusik•42m ago•0 comments

Trump's plan for Europe is falling apart

https://www.ft.com/content/23041bb7-4647-4efe-b790-b763d270fb72
2•petethomas•42m ago•2 comments

Success may not matter if you aren't doing what you love

https://12gramsofcarbon.com/p/founders-guide-success-may-not-matter
2•theahura•42m ago•0 comments

Show HN: Microphone – Talk out your side-project ideas, then test them with ads

https://www.trie.dev/
2•Kriptering•42m ago•0 comments

Show HN: I MitM'd Plex to make remote streaming suck less

https://github.com/inhumantsar/plex-proxy/
2•inhumantsar•42m ago•1 comments

As We May Think – Vannevar Bush (1945)

https://web.archive.org/web/20120822124246/http://www.theatlantic.com/magazine/archive/1945/07/as...
2•embedding-shape•43m ago•0 comments

Groupchatty – Real time chat while using Codex and Claude

https://error.workos.com/redirect-uri-invalid?invalid_redirect_uri=https%253A%252F%252Fgroupchatt...
2•svapnil•44m ago•0 comments

Meta on course to become America's next big cloud provider

https://www.theregister.com/ai-and-ml/2026/07/14/zucks-ai-ambitions-put-meta-on-course-to-become-...
2•galaxyLogic•48m ago•0 comments

Trump invested crypto gains in stocks and bonds, filings show

https://www.reuters.com/legal/government/trump-invested-crypto-gains-stocks-bonds-filings-show-20...
4•petethomas•50m ago•1 comments

Show HN: Made a Free LLM Router

https://www.flexinference.com
2•Aperswal•50m ago•0 comments

AI Model Co-Design: Hardware-Friendly LLM Design

https://developer.nvidia.com/blog/ai-model-co-design-hardware-friendly-llm-design/
2•ashvardanian•53m ago•0 comments

The Political Economy of Diversity, Equity, and Inclusion

https://osf.io/preprints/socarxiv/5tgcs_v1
3•gmays•55m ago•0 comments

Turn your singing voice into printable notes (in the browser)

https://om-intelligence.ch/projects/vocal-notation/vocal-notation.html
3•busssard•58m ago•1 comments

Scams Were Awful. Then They Got AI

https://www.rstreet.org/commentary/scams-were-already-awful-then-they-got-ai/
2•antondd•59m ago•0 comments