set 6
acidtrip
Command linedocs/cli.ans · Command line

Convert, render, replay, harvest and manage fonts and versions without opening the editor.

Opening files

acidtrip                     # new canvas
acidtrip logo.ans more.xb    # each file opens in its own tab

acidtrip opens .ans .xb .bin .adf .idf .tnd .pcb .avt .asc and .acid files, or a new file name.

convert and render

acidtrip convert IN OUT converts between any formats. The output format comes from the extension unless you pass --format.

FlagWhat it does
--format Foutput format, instead of the extension
--scale Npixel scale for PNG and GIF (default 1)
--gif MODEstill, reveal, layers, frames or auto (frames when the piece is animated)
--baud Nbaud rate for reveal animations (default 14400)
--line-length NANSI: wrap lines at N characters for BBSes
--no-saucedon’t attach a SAUCE record
--pixel-exactSVG with pixel-exact bitmap glyphs
--identifier NAMEname for C/Pascal/ASM arrays and React components (default AcidArt)

acidtrip render IN OUT.png --scale N is a shortcut for converting to PNG.

acidtrip convert art.ans art.svg --pixel-exact
acidtrip convert art.ans art.gif --gif reveal --baud 9600
acidtrip render art.xb art.png --scale 2

replay

acidtrip replay IN.acid OUT writes a .gif or an asciinema .cast of how the piece was drawn. Only .acid keeps the edit history.

FlagWhat it does
--fit SECSfit the whole replay into SECS seconds (default 30)
--speed Nplay N times as fast as it was drawn, instead of --fit
--scale NGIF pixel scale
--keep-idleplay long pauses in real time instead of cutting them to a second
--hide-undoneleave out work that was undone

fonts and harvest

acidtrip fonts list                 # installed fonts
acidtrip fonts get                  # download the TheDraw font packs
acidtrip fonts show FONT "TEXT"     # render text to the terminal
acidtrip fonts install FILE         # add a .tdf, .flf or .zip

acidtrip harvest SOURCE builds fonts and stencils from a 16colo.rs pack (16colo.rs:acid-50), a URL, a file or a folder. --list only lists the logos it finds, --stencils-only saves them all as stencils, and --complete has the AI draw the missing letters. See Fonts and stencils.

mcp

acidtrip mcp is a stdio MCP server for Claude Code. It attaches to a running editor if there is one; --session PID picks which, and --headless ignores running editors and works on a private canvas. See AI.

versions, paths and keys

  • acidtrip versions FILE lists a document’s saved versions. --restore HASH --out OUT restores one into a file; a hash prefix is enough.
  • acidtrip paths prints where the config, fonts, stencils, versions, kept export rows, recovery files and sockets live.
  • acidtrip keys lists every action id with its title and keys, for keymap overrides.

The ACIDTRIP_RUN environment variable takes a comma-separated list of action ids to run at startup.