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!

SpaceX Will Buy AI Coding Firm Cursor for $60B

https://www.forbes.com/sites/siladityaray/2026/06/16/spacex-will-buy-ai-coding-firm-cursor-for-60...
1•onel•21s ago•0 comments

Project racing cars races results into live race replay

https://myrcm-replay.dev
1•apokly•43s ago•0 comments

Anthropic Faces Lawsuit over Allegedly Misleading Claude AI Pricing

https://decrypt.co/371201/anthropic-lawsuit-allegedly-misleading-claude-ai-pricing
1•dstala•2m ago•0 comments

CNN poll: Half of Americans don't consider themselves Democrats or Republicans

https://www.cnn.com/2026/06/16/politics/cnn-poll-political-parties-independent-democrats-republicans
1•maxloh•2m ago•0 comments

From Hooch to Haute Cuisine: A Nearly Extinct Corn Gets a Second Shot (2018)

https://www.npr.org/sections/thesalt/2018/01/02/574367086/from-hooch-to-haute-cuisine-a-nearly-ex...
1•downbad_•2m ago•0 comments

What Python async exposes that synchronous code hides

https://phroneses.com/articles/build/notes/what-python-async-exposes-that-synchronous-code-hides....
1•jhevans•3m ago•0 comments

Show HN: SeedBase, FK-consistent test data from your SQL/Django/Prisma schema

https://seedba.se/
1•marcelglaeser•3m ago•0 comments

The White House Is Ratcheting Up Its War Against Anthropic

https://www.theatlantic.com/technology/2026/06/trump-anthropic-export-control-ai-race/687555/
1•dstala•4m ago•0 comments

A graph-theoretic cosmological argument using Set theory and actualist S5 logic

https://rdcu.be/fnwtG
1•ned7•4m ago•0 comments

SpaceX to acquire Cursor for $60B in stock, days after blockbuster IPO

https://techcrunch.com/2026/06/16/spacex-to-acquire-cursor-for-60b-in-stock-days-after-blockbuste...
2•frb•4m ago•1 comments

Messing with My CNC

https://bradleygannon.com/blog/2026/messing-with-my-cnc/
1•speckx•6m ago•0 comments

BBCBreakfast interview – 'We will make further statements in July about VPNs'

https://twitter.com/BBCBreakfast/status/2066788360606138759
1•munksbeer•6m ago•1 comments

The Legal Agent Stack

https://lexifina.com/blog/the-legal-agent-stack
1•alansaber•7m ago•0 comments

Ask HN: What have you used natural language identification tools for?

1•nitotm•10m ago•0 comments

Maersk Middle East Operational Update 35

https://www.maersk.com/news/articles/2026/06/10/middle-east-operational-update-35
1•mooreds•12m ago•0 comments

EU AI: the fables we told ourselves

https://pleias.ai/blog/fable-eu
2•barrenko•13m ago•0 comments

Secondary Stops in Cities on Intercity Rail

https://pedestrianobservations.com/2026/06/03/secondary-stops-in-cities-on-intercity-rail/
1•mooreds•13m ago•0 comments

The 2-Year Apartment Rule

https://tadaima.bearblog.dev/the-2-year-apartment-rule/
2•surprisetalk•13m ago•0 comments

I was obsessed with money then I found philosophy

https://dariusforoux.com/i-was-obsessed-with-money-then-i-found-philosophy/
2•RickJWagner•13m ago•0 comments

Solving the hallucination problem in agents – with loops and math

https://kasparvongruenberg.substack.com/p/solving-the-hallucination-problem
1•mooreds•13m ago•0 comments

India's solution to entrance exam fraud: A temporary ban on Telegram

https://www.cnbc.com/2026/06/16/indias-solution-to-entrance-exam-fraud-a-temporary-ban-on-telegra...
2•LordAtlas•14m ago•0 comments

dj_queue: DB-backed queue backend for django.tasks

https://github.com/coriocactus/dj_queue
1•coriocactus•14m ago•0 comments

How much an Uber driver makes in Boston

https://www.boston.com/community/readers-say/2026/06/15/heres-how-much-an-uber-driver-makes-in-bo...
1•ripe•18m ago•1 comments

Show HN: Query the Murder – Learn SQL by Solving Agatha Christie Mysteries

https://querythemurder.com/
1•jenikashah07•18m ago•0 comments

Don't run SQL migrations in tests: How I sped up the test suite by 2x

https://gaultier.github.io/blog/I_sped_up_the_test_suite_by_x2.html
1•birdculture•22m ago•0 comments

NEET: India temporarily bans Telegram to tackle fraud in key medical exam

https://www.bbc.com/news/articles/cn074j04l3eo
2•colinprince•22m ago•0 comments

What's your Opinion onm he recent updates on Fable 5?

1•shymasen•23m ago•1 comments

Oracle Cerner: Potential Acquirers of Oracle Health

https://www.healthcare.digital/single-post/oracle-cerner-potential-acquirers-of-oracle-health
2•akyuu•23m ago•0 comments

Show HN: Codify – Terraform for Dev Environments

https://codifycli.com/
1•kevinwang5658•24m ago•0 comments

FootyChat – Live fan chat and scores for World Cup 2026

https://footychat.app/
1•olympikesoft•25m ago•0 comments