choas-card
v1.0.0
Published
Lars Gregori's CLI calling card
Maintainers
Readme
choas-card
A personalized CLI calling card for Lars Gregori, based on the M365 Princess CLI Card.
This project is a fork of the M365 Princess CLI Card by Luise Freese.
In case you ever need my information and all you have is a terminal and npm.
🚀 Usage
npx choas-cardThat's it! No installation required.
📋 What You'll See
- Custom ASCII portrait
- CHOAS banner
- Professional info (work, contacts, favorites)
- Nord color styling
- Links to all my profiles
🛠️ Build Your Own CLI Card
Want to create your own personalized CLI calling card? Here's how:
Prerequisites
- Node.js installed
- NPM account (for publishing)
- A photo for ASCII art conversion
Step 1: Clone and Setup
git clone https://github.com/choas/choas-card.git
cd choas-card
npm installStep 2: Create Your ASCII Art
Convert your photo to ASCII:
- Visit ASCII Art Generator
- Upload your photo
- Adjust settings for best results
- Copy the generated ASCII art
Create your portrait file:
// art/portrait.js "use strict"; export default `your-ascii-art-here`;
Step 3: Customize Your Profile
Edit config/profile.js:
export const profile = {
name: "YOUR NAME",
handle: "yourhandle",
bio: "Your amazing bio here...",
infoSections: [
{ label: "Work", value: ["Your Job Title", "Company"], style: "gradient" },
{ label: "Website", value: "yourwebsite.com", style: "purple" },
{ label: "GitHub", value: "https://github.com/yourusername", style: "purple" },
// Add more sections...
]
};Step 4: Update Colors
Customize bin/colors.js with your favorite colors:
export const colors = {
pink: "#your-favorite-color",
purple: "#your-secondary-color",
// ... other colors
};Step 5: Update Package Info
Edit package.json:
{
"name": "your-unique-package-name",
"description": "Your CLI calling card description",
"bin": {
"your-command": "bin/card.js"
},
"repository": {
"url": "https://github.com/yourusername/your-repo.git"
}
}Step 6: Test Locally
node bin/card.jsStep 7: Publish to NPM
npm login
npm publishStep 8: Test Published Version
npx your-package-name🎨 Customization Options
ASCII Art Sources
- ASCII Art Generator - Convert photos to ASCII
- Create text banners with figlet
- Draw your own ASCII art
Color Themes
- Use hex colors in
bin/colors.js - Create gradients with
gradient-string - Style different sections independently
Profile Sections
Add any information you want:
- Work experience
- Social media links
- Favorite things
- Contact information
- Fun facts
📁 Project Structure
├── bin/
│ ├── card.js # Main CLI script
│ ├── colors.js # Color definitions and styling
│ ├── text.js # Text formatting utilities
│ └── render-info.js # Info section rendering
├── config/
│ └── profile.js # Your profile data
├── art/
│ ├── index.js # Art asset loader
│ ├── banner.js # Text banner
│ └── portrait.js # ASCII portrait
├── package.json # NPM package configuration
└── README.md # This file🔧 Dependencies
- boxen - Terminal boxes
- chalk - Terminal string styling
- gradient-string - Gradient colors
🎯 Inspiration & Credits
This project was inspired by and built upon the excellent work of:
- Tierney Cyren - Created the original CLI business card concept
- David Neal (ReverentGeek) - Developed the modular architecture and beautiful implementation that this project is based on
Special thanks to ReverentGeek for creating such a well-structured, extensible, and thoroughly documented CLI card system. The project structure, color system, and rendering approach in this repository directly builds upon his excellent foundation.
🙏 Thank you David for making this so approachable and inspiring others to create their own CLI cards!
Check out the original: npx reverentgeek
📄 License
MIT License - feel free to use this as a template for your own CLI card!
🤝 Contributing
Found a bug or want to suggest an improvement? Open an issue or submit a PR!
Try my card: npx choas-card
