In case you ever need my information and all you have is a terminal and npm.
npx codebytesClone this repo (or create a new one) and adjust the profile and art assets to build your own terminal calling card:
- Edit
config/profile.jswith your name, biography, and contact links. Each entry ininfoSectionscan be a string or an array if you want multiple lines under one label. - Update colors or gradients by tweaking
bin/colors.js, then reference any new styles by name from the profile file. - Swap ASCII art by editing the files under
art/or adding new modules and registering them inart/index.js. TheartOrderexport inconfig/profile.jscontrols the render sequence. - Run
npm run lintfor style checks andnode bin/card.jsto preview the box output locally before publishing.
Want to publish it so others can view it with npx?
- Update
package.jsonand change the name, version, and other fields to make it yours. - Push your code to a new public repository.
- Sign up for an npm account, if you don't have one.
- Authenticate with
npm login. - Publish your package using
npm publishfrom the project root.
For more info, check out the official npm publish guide.
Completely borrowed this idea from Tierney :)