Skip to content
all projects

~/project/ardio.md

Ardio

News articles you can listen to

date
November 4–17, 2020
type
Side-Project

Donald Lee · solo build

ardio · preview
Ardio: News articles you can listen to

## overview

Ardio is a web app that turns CTV News articles into MP3s for the days you'd rather listen than read. It works with CTV today, with plans to add sources like Global News and CNN.

## how-it-works

How it works

Paste in a link and Ardio reads the page's source, pulling out the article text while filtering the noise: ads, recommended articles, footer junk. It then converts the clean text to an MP3 with Google Text-to-Speech and drops it on the page with a player, so you can listen right there without downloading anything.

## challenges

Challenges

I designed Ardio to handle several users at once, which meant the conversion functions had to run concurrently, so I dug into threading. I also added error handling: paste an incompatible link and instead of crashing, the site re-renders with a message so you can try again.

## what-i-learned

What I learned

I learned how to run functions concurrently, stand up a Flask server, and collect input from text fields.

## what-s-next

What's next

Down the road: a language switcher, support for more outlets like Global News and CNN, and a voice that sounds less robotic and more human.

## next-project

StudyHawk

A timer that nudges you to rest

read the write-up