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!

Con Kolivas Revives "-Ck" Patches and MuQSS to Improve Linux Desktop Performance

https://www.phoronix.com/news/Con-Kolivas-Linux-Patches-2026
1•voxadam•14s ago•0 comments

Sources: NBA has no evidence Ballmer funneled money to Leonard via sponsors

https://www.espn.com.au/nba/story/_/id/49639157/nba-la-clippers-aspiration-investigation-steve-ba...
1•edfsadfer•36s ago•0 comments

Cursor Origin is now live

https://xcancel.com/cursor_ai/status/2089399057659596847
1•SpyCoder77•37s ago•0 comments

Examining RFK Jr.'S Role in the Measles Outbreak

https://www.nationalreview.com/news/examining-rfk-jr-s-role-in-the-measles-outbreak/
1•petethomas•1m ago•0 comments

U.S. data-center capacity may nearly double by 2028

https://aicharts.grok.me/c/data-center-power
1•echohive42•2m ago•0 comments

Russia fires economist over Ukraine war warning

https://www.ft.com/content/a1b720e3-e1e6-4a13-bdb0-9cc27399ceb4
1•petethomas•3m ago•0 comments

Linux 7.2 Released

https://kernelnewbies.org/Linux_7.2
1•diegocg•5m ago•1 comments

AI writes dead code – the Go team's deadcode tool finds it in one command

https://towardsdev.com/how-to-find-and-remove-the-dead-code-your-agent-wrote-752eb1e738d0?sk=283d...
1•cheikhdev•7m ago•0 comments

Why Is It So Hard to Build a Transformer?

https://www.nytimes.com/interactive/2026/08/17/magazine/transformers-power-electric-grid.html
1•donohoe•10m ago•0 comments

MidWestWhips

http://www.midwestwhips.com/index.html
2•sickophancy•12m ago•0 comments

3D FPS Gaming on the Commodore PET [video]

https://www.youtube.com/watch?v=aTkArf0htMw
1•amichail•16m ago•0 comments

Pfizer, Valneva Lyme vaccine starts review in Europe

https://pharmaphorum.com/news/pfizer-valneva-lyme-vaccine-starts-review-europe
1•cubefox•16m ago•0 comments

Feel the burn: 90% of people heal faster by focusing on their pain – study

https://www.timesofisrael.com/feel-the-burn-90-of-people-heal-faster-by-focusing-on-their-pain-is...
2•calf•18m ago•1 comments

DOJ Official Flags Stanford for Scrutiny over Foreign Donations

https://www.bloomberg.com/news/articles/2026-08-17/doj-official-flags-stanford-for-scrutiny-over-...
2•petethomas•18m ago•0 comments

The bitter lesson is the observation in artificial intelligence

https://en.wikipedia.org/wiki/Bitter_lesson
2•doener•20m ago•0 comments

Multi-stage distributed query execution in ClickHouse Cloud

https://clickhouse.com/blog/multi-stage-distributed-query-execution-clickhouse-cloud
1•samaysharma•21m ago•0 comments

Bluesky draws its logo on screenshots

https://timmarinin.net/2026/bluesky-screenshots/
30•gavide•22m ago•13 comments

scScript for Linux

https://scapplications.com/
3•OptionOfT•25m ago•1 comments

Sailors on the USS Abraham Lincoln reportedly dealing with poor conditions

https://taskandpurpose.com/news/uss-abraham-lincoln-conditions-sailors/
3•bushwart•25m ago•0 comments

The Carrion-Eaters: What We Did to Jason Arday

https://samkriss.substack.com/p/the-carrion-eaters
3•jiblish•26m ago•0 comments

Nation's Largest Reservoirs Are Drying Up, Threatening Life in the Southwest

https://www.nytimes.com/2026/08/17/climate/lake-powell-record-low-colorado.html
11•johntfella•27m ago•8 comments

DEF Con 33 – Kill List: Hacking an Assassination Site on the Dark Web [video]

https://www.youtube.com/watch?v=cYZmRp90hss
2•Bender•31m ago•0 comments

Graphlib, a new way to create directional graphs

https://github.com/RANDOMFNP/Graphlib
2•RandomFNP•31m ago•1 comments

Twitch tested pausing ads until you return to the Twitch tab

https://www.reddit.com/r/Piracy/comments/1vr5dqt/twitch_tested_pausing_the_ad_when_you_switch_tabs/
4•Cider9986•32m ago•0 comments

Dirty Pictures – Full Documentary – Alexander Shulgin – Ann Shulgin [video]

https://www.youtube.com/watch?v=aZLkAMDO5dI
1•binyu•32m ago•0 comments

Agentic AI in a Smolbox

https://remyhax.xyz/posts/smolbox/
3•jerrythegerbil•35m ago•1 comments

Quake Shareware, a CD-ROM just a little too full

https://fabiensanglard.net/quake_shareware_cd/index.html
7•shdon•37m ago•0 comments

Try any open source model for free

https://www.tryingopen.com/
1•HussamAli•37m ago•6 comments

Virgin Galactic wants your help naming its new Delta class spaceship

https://arstechnica.com/space/2026/08/virgin-galactic-wants-your-help-naming-its-new-delta-class-...
1•ohjeez•38m ago•2 comments

Samuel – mimic your speech using Pink Trombone with a model

https://samuel.vvolhejn.com/
1•smusamashah•40m ago•1 comments