charmbracelet/glow ? reverse-engineered prompt

Reverse engineered prompt

Build me a polished terminal app for reading Markdown, something that feels nice to use instead of plain cat or less. I want it to work in two ways. First, if I run it with no arguments, it should open a simple text UI where I can browse Markdown files in the current folder and subfolders, or in the current git repo, then open and read them with familiar pager style keyboard controls and a help screen.

Second, I want a normal command mode where I can pass a local file, pipe Markdown in through stdin, or point it at a GitHub, GitLab, or direct web URL and have it render nicely in the terminal. Please support word wrapping, optional paging through my preferred pager, and automatic light or dark styling with a way to choose a style manually or load a custom JSON theme. A config command and config file for saved defaults would be great too.

Keep it clean, fast, and cross platform. Look up current docs online if you need to.

Are you gonna build this?

make sure you review the code using coderabbit

Try freeSponsored — opens CodeRabbit in a new tab