shellfie ๐Ÿคณ๐Ÿฝ

beautiful progremattic terminal screenshots

install#

yarn add shellfie

usage#

const data = [
'\x1b[105mSHELLFIE\\x1b[0m๐Ÿคณ',
'\x1b[38;5;225mthe easiest way',
'\x1b[38;5;213mto create beautiful',
'\x1b[38;5;14mCLI screenshots ๐Ÿ“ธ',
'\x1b[38;5;199mprogrammatically ๐Ÿš€'
];
const options = {
name: 'shellfie',
style: {
fontSize: 15,
fontWeight: 'bold',
fontFamily: 'Fira Code'
},
viewport: {
width: 400,
height: 300
}
}
await shellfie(data, options);

outputs: