Render beautiful pixel perfect representations of websites in your terminal
npm install -g hit-that
Hit That comes with a simple API where it exports just a function hitThat(url, options?). The first argument is the url you intend to render. The second argument is an optional configuration object.
width=1024 is the viewport width in pixels that we'll use for the screenshotheight=768 is the viewport height in pixels that we'll use for the screenshotcols=80 is the amount of columns we'll allocate to the terminal representationdest=process.stdout is the destination stream you want to pipe the results to.var hitThat = require('hit-that');
hitThat('http://ponyfoo.com');
There's a command-line interface as well.
ht ponyfoo.com
Usage:
ht <url> --width [width] --height [height] --cols [cols]
Options:
--width Viewport width in pixels
--height Viewport height in pixels
--cols Terminal columns to use
--help Render this information
--version Render version information




(That site better be responsive!)
MIT
$ claude mcp add hit-that \
-- python -m otcore.mcp_server <graph>