Read my blog posts to me, please? now with command line browser cleanup action!

Read my blog posts to me, please? now with command line browser cleanup action!

Table of Contents

Sometimes I’m running short on time, and I’d rather listen to something while I’m doing drivel work than read it. So, I often want blog posts to be read to me, like the bougeouisie.

For example, take the new Paul Graham piece that everyone’s talking about. I found out that on the command line you can use say on macOS. But how do you get the contents of the web page without it reading a whole bunch of HTML crap??

Well you can use one of the command line browsers. I found that this works a lot better than using sed and awk

brew install w3m


w3m -dump https://paulgraham.com/foundermode html | say                                                                                  

this will say:

bg image(https://s.turbifycdn.com/aah/paulgraham/bel-6.gif) [bel-7] * [bel-8]

      Founder Mode

      September 2024

      At a YC event last week Brian Chesky gave a talk that
      everyone who was there will remember. Most founders I
      talked to afterward said it was the best they'd ever
      heard. Ron Conway, for the first time in his life,
      forgot to take notes. I'm not going to try to
      reproduce it here. Instead I want to talk about a
      question it raised.

and so on…

Related Posts

Slaying software zombies with LLMs (and lesser incantations)

Slaying software zombies with LLMs (and lesser incantations)

dealing with metacode (tests, docs, bugs, requirements etc...) that are no longer completely accurate (thus, zombies) due to not being in sync with the product …

Read More
Why not do something magical with your coding skills?

Why not do something magical with your coding skills?

Last week, I built a Zydeco and Cajun events calendar for someone who's been keeping the Bay Area dance scene alive for years. Total time invested: 3 hours. …

Read More
Skronk and Skreigh: Building an Irish tune practice toolkit

Skronk and Skreigh: Building an Irish tune practice toolkit

A Python tool for managing Irish traditional music practice sessions, extracting tune sets from recordings, and creating Spotify playlists with multiple …

Read More

Get new posts via email

Intuit Mailchimp

Copyright 2024-infinity, Paul Pereyda Karayan. Design by Zeon Studio