https://github.com/xerxescoder/devcard-generator
Create your professional dev business card with VS Code themes
https://github.com/xerxescoder/devcard-generator
buisness-card business-card-generator developer-tools opensource
Last synced: 5 months ago
JSON representation
Create your professional dev business card with VS Code themes
- Host: GitHub
- URL: https://github.com/xerxescoder/devcard-generator
- Owner: XerxesCoder
- Created: 2025-10-01T12:44:09.000Z (5 months ago)
- Default Branch: master
- Last Pushed: 2025-10-01T12:47:37.000Z (5 months ago)
- Last Synced: 2025-10-01T14:40:16.558Z (5 months ago)
- Topics: buisness-card, business-card-generator, developer-tools, opensource
- Language: JavaScript
- Homepage: https://devcard-generator-five.vercel.app
- Size: 1.34 MB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# DevCard Generator
A modern, open-source web application that allows developers to create professional business cards with VS Code theme styling. Generate JSON-based business cards and download them as images or JSON files.
- [Live Demo](https://devcard-generator-five.vercel.app/)
## β¨ Features
- **π¨ VS Code Themes**: Choose from 15+ popular VS Code themes
- **πΌ Professional Layout**: Clean, JSON-styled business card design
- **π± Responsive Design**: Works perfectly on desktop and mobile
- **π₯ Multiple Export Options**:
- Download as high-quality PNG image
- Export as JSON file
- Full-size preview capture
- **β‘ Real-time Preview**: See changes instantly as you type
- **π― Developer Focused**: JSON format with syntax highlighting
## π Quick Start
### Prerequisites
- Node.js 18+
- npm, yarn, or pnpm
### Installation
1. **Clone the repository**
```bash
git clone https://github.com/XerxesCoder/devcard-generator.git
cd devcard-generator
```
2. **Install dependencies**
```bash
npm install
# or
yarn install
# or
pnpm install
```
3. **Run the development server**
```bash
npm run dev
# or
yarn dev
# or
pnpm dev
```
4. **Open your browser**
Navigate to [http://localhost:3000](http://localhost:3000)
## π οΈ Built With
- [Next.js](https://nextjs.org/) - React framework
- [shadCn](https://ui.shadcn.com/) - UI Library
- [Tailwind CSS](https://tailwindcss.com/) - Styling
- [html2canvas](https://html2canvas.hertzen.com/) - Image capture
- [Lucide React](https://lucide.dev/) - Icons
## π Available Scripts
- `npm run dev` - Start development server
- `npm run build` - Build for production
- `npm run start` - Start production server
- `npm run lint` - Run ESLint
## π¨ Supported Themes
The application includes 15+ VS Code-inspired themes:
- **Dark Themes**: Dark+, Monokai, GitHub Dark, Dracula, Solarized Dark, Night Owl, One Dark Pro, Material Ocean, Synthwave '84, Palenight, Tokyo Night, RosΓ© Pine, Catppuccin Mocha, Ayu Dark, Nord, Gruvbox Dark
- **Light Themes**: Light+, GitHub Light
## π‘ Usage
1. **Fill in your information** in the form:
- Personal details (name, title, bio)
- Contact information (email, phone, website)
- Social profiles (GitHub, LinkedIn, Twitter, etc.)
2. **Choose a theme** from the theme selector
3. **Preview your card** in real-time with JSON syntax highlighting
4. **Download your card**:
- **JSON**: Download as a structured JSON file
- **Image**: Download as a professional business card PNG
- **Full Preview**: Capture the entire preview panel
## ποΈ Project Structure
```
developer-business-card-generator/
βββ app/
β βββ layout.js
β βββ page.js
βββ components/
β βββ business-card-form.js
β βββ business-card-preview.js
β βββ theme-selector.js
β βββ ui/ (shadcn/ui components)
βββ lib/
β βββ vscode-themes.js
βββ stores/
β βββ business-card-store.js
βββ public/
```
## π§ Customization
### Adding New Themes
Add new VS Code themes to `lib/vscode-themes.js`:
```javascript
"your-theme-name": {
name: "Your Theme Name",
backgroundColor: "#your-color",
editorBackground: "#your-color",
textColor: "#your-color",
// ... other theme properties
}
```
### Modifying Business Card Fields
Update the form and preview components to add new fields:
1. Add field to `BusinessCardForm`
2. Update state management in the store
3. Modify the preview rendering logic
## π€ Contributing
We love contributions! Here's how you can help:
1. **Fork the repository**
2. **Create a feature branch**: `git checkout -b feature/amazing-feature`
3. **Commit your changes**: `git commit -m 'Add amazing feature'`
4. **Push to the branch**: `git push origin feature/amazing-feature`
5. **Open a Pull Request**
### Areas for Contribution
- π¨ New VS Code themes
- π± Mobile responsiveness improvements
- π§ͺ Testing coverage
- π Documentation improvements
- π Bug fixes
- π‘ New features
## π Reporting Issues
Found a bug? Please [create an issue](https://github.com/your-username/developer-business-card-generator/issues) with:
- Steps to reproduce
- Expected behavior
- Actual behavior
- Screenshots (if applicable)
- Browser and OS information
## π License
This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.
## π Acknowledgments
- VS Code team for theme inspiration
- shadcn/ui for beautiful components
- The open-source community
## π Contact
- **E-mail**: [xerxescode@gmail.com](mailto:xerxescode@gmail.com)
- **Telegram**: [t.me/xerxescoder](https://t.me/xerxescoder)
---
**Made with β€οΈ for developers**
If you find this project helpful, please give it a β on GitHub!