The idea and original source code created by Tierney Cyren (@bitandbang).
-
Replace
./assets/avatar.png
with your own avatar. -
Change the card information and configurations in
build.js
. -
Run the command:
npm run build // or just run npm publish
-
You need to install graphicsmagick, in order to install all the dependencies, or else you will get the following error:
It seems like lwip failed to be intalled. Please check the errors.
Via npx:
npx @eranshmil/card
// render the avatar as colorized characters
npx @eranshmil/card --fg
Not including how to use it globally because I'm not sure why you'd want this as a global command. That'd be creepy.