internal/

directory
v0.0.0-...-d2ee020 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 28, 2026 License: LGPL-2.1, LGPL-2.1-or-later

Directories

Path Synopsis
Package ascii maps Unicode text onto the 95 printable ASCII characters.
Package ascii maps Unicode text onto the 95 printable ASCII characters.
Package blankfont generates, in memory, the "BlankMono" TrueType font that the browser forces on every page: two empty glyphs, a fixed advance of half an em, and a cmap format 13 that maps every Unicode code point to the empty glyph.
Package blankfont generates, in memory, the "BlankMono" TrueType font that the browser forces on every page: two empty glyphs, a fixed advance of half an em, and a cmap format 13 that maps every Unicode code point to the empty glyph.
Package browser drives a headless Chrome through the DevTools Protocol with chromedp: it sizes the viewport to the grid, injects the BlankMono grid stylesheet in every document, takes screenshots and runs the text walker.
Package browser drives a headless Chrome through the DevTools Protocol with chromedp: it sizes the viewport to the grid, injects the BlankMono grid stylesheet in every document, takes screenshots and runs the text walker.
Package caption turns a picture into text for a caption: a social network's description field, set in the phone's proportional system font, where ordinary ASCII art falls apart because an "i" is narrower than a "W", and where runs of spaces and spaces at the start of a line are dropped.
Package caption turns a picture into text for a caption: a social network's description field, set in the phone's proportional system font, where ordinary ASCII art falls apart because an "i" is narrower than a "W", and where runs of spaces and spaces at the start of a line are dropped.
Package frame holds the composed ASCII frame: a Cols x Rows matrix of printable ASCII bytes, plus the text runs that get overlaid on it.
Package frame holds the composed ASCII frame: a Cols x Rows matrix of printable ASCII bytes, plus the text runs that get overlaid on it.
Package grid defines the cell geometry shared by the terminal, the Chromium viewport and the renderer: one terminal cell covers exactly CellW x CellH pixels of the page.
Package grid defines the cell geometry shared by the terminal, the Chromium viewport and the renderer: one terminal cell covers exactly CellW x CellH pixels of the page.
Package pixel holds the small image helpers shared by the browser and the renderer.
Package pixel holds the small image helpers shared by the browser and the renderer.
Package render turns a page screenshot into an ASCII frame: mean luma per cell, optional Floyd-Steinberg dithering on the cell grid, a character ramp, and the text layer on top.
Package render turns a page screenshot into an ASCII frame: mean luma per cell, optional Floyd-Steinberg dithering on the cell grid, a character ramp, and the text layer on top.
Package ui draws frames on the terminal with tcell.
Package ui draws frames on the terminal with tcell.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL