DEV Community

chovy
chovy

Posted on

Why it is called readm3

Why it is called readm3

Short one. People keep asking about the 3.

readm3 is our terminal markdown reader. The name is README with the last letter swapped for a digit, and the swap is lifted from the cover of the Beastie Boys' first record.

Licensed to Ill came out in 1986 on Def Jam. The cover is a Boeing 727 in Def Jam livery, nose buried in a mountainside, and painted on the tail is 3MTA3. It is not a registration and it does not mean anything on its own. Hold it up to a mirror and it says EATME. That is the whole joke, and it got past whoever signed off on the artwork.

So: README, with the same letter-for-digit substitution, arriving at readm3. A file every repository already has, named after a gag on a rap album from four decades ago.

I would like to claim there was a reason. There was not.

The thing itself is more defensible. It opens a directory of markdown, puts the file browser on the left and the rendered document on the right, and gets out of the way. It runs on Bun and Node. It draws in truecolor and restores your terminal no matter how the process dies. There is a print mode that renders to stdout and exits, so it works as a cat for markdown in a pipe.

The website went up this week at readm3.com, and it is built by the reader itself. Every document on the page went through the same parser the terminal uses, so there is no second implementation to drift. The theme buttons re-color the page without re-parsing it, because the parser returns spans that carry a role instead of a color. That part was on purpose.

bun add -g @profullstack/readm3
npm install -g @profullstack/readm3
Enter fullscreen mode Exit fullscreen mode

Site: https://readm3.com
Source: https://github.com/profullstack/readm3

This post was drafted with AI assistance.

Top comments (0)