Something went wrong. Try again.
small gleam coding and persistent agent daemon with a detachable cli and a canvas ui forked from okami.mom/albedo
Something went wrong. Try again.
README.md
albedo-render #
albedo-render renders source ranges and compaction text as PNG pages and
resizes image inputs. The view and snapcompact extensions call this
executable.
src/main.rsdefinesalbedo-render FILE --start N --end N --out DIRand options for columns, tabs, language, and page limits.--snapcompact PATHand--snapcompact-dir PATHrender dense text frames with the supplied advance, pitch, and width.--fit EDGE IMAGE --out DIRresizes a PNG, JPEG, or WebP input to fit the requested edge limit.- Standard output reports image paths and dimensions. Code-range output also reports language and remaining lines. Errors go to standard error.
See compaction for frame use.
Code rendering #
The renderer colors the whole file before selecting a range, so a range that
starts inside a comment or string keeps its syntax colors. The default width is
79 columns. Long lines wrap with an arrow. A source line that fits within
--max-rows stays on one image. When every line fits, the renderer uses the
fewest images possible and aims for an even row count across them. A line taller
than the limit starts on a fresh image and continues across images.

install.sh builds with Cargo and installs the binary in
apps/albedo/priv/bin.