Converts ANSI color escape sequences from stdin into the limited 4-bit sequences supported by discord. Selects the Discord color with the lowest Euclidian distance to the target color.
git diff --color=alwaysgit diff --color=always | discord-ansi-adapter | discord-messageTo adapt the ANSI escape sequences:
some command here | discord-ansi-adapterTo break up stanard input into messages that are <2000 characters long and HTTP POST to a Discord webhook URL:
# setup a discord webhook
export DISCORD_WEBHOOK_URL='...'
some command here | discord-messagepip install git+https://github.com/simonLeary42/daaddaad has zero dependencies.

