A modern portfolio template with integrated AI assistant powered by OpenAI. Built with Next.js, TypeScript, and Tailwind CSS.
-
Clone and install:
git clone https://github.com/Emlembow/ChatWithPortfolio.git cd ChatWithPortfolio npm install
-
Set up environment:
cp .env.example .env.local
Add your OpenAI API key:
OPENAI_API_KEY=your_openai_api_key
-
Run locally:
npm run dev
Update these core files with your information:
content/profile.md
- Name, title, email, LinkedIn, summarycontent/about.md
- Professional background and skillscontent/education.md
- Degrees and certifications
Add your work history and projects:
content/experience/
- One file per job (e.g.,01-company.md
)content/projects/
- Portfolio projectscontent/blog/
- Technical blog postscontent/references/
- Professional recommendations
Example experience file:
---
title: "Senior Product Manager"
company: "Tech Corp"
companyUrl: "https://techcorp.com"
location: "San Francisco, CA"
startDate: "2020-01-15"
endDate: "Present"
technologies: ["React", "Node.js", "AWS"]
---
- Led product strategy for mobile app serving 2M+ users
- Increased revenue 40% through data-driven feature development
- Managed cross-functional team of 12 engineers and designers
Enhance the AI assistant's knowledge about your work:
- Basic context is automatically generated from your content files
- Extended context (optional): Edit
content/system-prompt-extended.md
to add detailed project information, technical specifications, and methodologies
This allows the AI to answer in-depth questions about your experience and projects. The template includes example extended context showing how to document technical implementations, metrics, and professional insights.
- Update metadata in
app/layout.tsx
- Replace images in
public/
- Customize colors in
tailwind.config.ts
Deploy to any platform that supports Next.js:
Vercel (Recommended):
- Click the button above or manually import from GitHub
- Add your OpenAI API key when prompted
- Deploy
Other platforms: Netlify, Railway, Digital Ocean, or self-host with npm run build
content/
├── profile.md # Basic info
├── about.md # About section
├── education.md # Education
├── system-prompt-extended.md # Extended AI context (optional)
├── experience/ # Work history
├── projects/ # Portfolio
├── blog/ # Blog posts
└── references/ # Recommendations
- ✅ AI chat assistant with your professional context
- ✅ Responsive design with dark mode
- ✅ Markdown-based content management
- ✅ SEO optimized with meta tags
- ✅ Secure with CSP headers
- ✅ Accessible (WCAG compliant)
MIT License - Use freely for personal or commercial projects.