A command-line tool that generates and deploys a professional portfolio website based on a simple JSON configuration.
- 🚀 One-command portfolio generation and deployment
- 📱 Responsive design out of the box
- 🔄 Automated GitHub repository creation
- 🌐 Instant deployment to Vercel
- 🎨 Clean, professional template design
- 🛠️ Customizable through JSON configuration
Before you begin, ensure you have the following:
# Clone the repository
git clone https://github.com/HaroldObasi/copy-cat.git
# Navigate to the project directory
cd copy-cat
# Install dependencies and build
go build
# move to bin
sudo mv copy-cat /usr/local/bin
copy-cat -a my-portfolio -g YOUR_GITHUB_TOKEN -v YOUR_VERCEL_TOKEN -u user-info.json
Flag | Description | Required |
---|---|---|
-a, --appName |
Name of your portfolio app | Yes |
-g, --githubToken |
GitHub personal access token | Yes |
-v, --vercelToken |
Vercel personal access token | Yes |
-u, --userInfoPath |
Path to your user info JSON file | Yes |
-h, --help |
Display help information | No |
Create a user-info.json
file with your portfolio information:
{
"name": "John Doe",
"jobTitle": "Software Engineer",
"bio": "I am a software engineer with a passion for building scalable web applications.",
"socials": [
{
"name": "LinkedIn",
"url": "https://www.linkedin.com/in/johndoe"
},
{
"name": "GitHub",
"url": "https://www.github.com/johndoe"
},
{
"name": "Email",
"url": "mailto:[email protected]"
}
],
"projects": [
{
"name": "Project 1",
"description": "This is a project I worked on that does something cool.",
"techStack": ["React", "Node.js", "Express", "MongoDB"],
"github": "https://www.github.com/johndoe/project1"
}
]
}
- Reads your portfolio information from the JSON file
- Generates a custom portfolio website using the provided template
- Creates a new GitHub repository with your portfolio
- Deploys the portfolio to Vercel automatically
- Provides you with the deployment URL
# Generate and deploy a portfolio named "john-portfolio"
copy-cat -a john-portfolio -g ghp_123abc -v vercel_token_123 -u ./user-info.json
Contributions are welcome! Please feel free to submit a Pull Request.
If you encounter any issues or have questions, please file an issue on the GitHub repository.