A modern, interactive portfolio built with Next.js, featuring an AI-powered chat interface using Groq. Ask it anything about my experience, projects, and skills.
- 🎨 Modern, responsive design with Tailwind CSS
- 🤖 AI-powered chat interface using Groq's Llama model
- 🛠️ Full-stack development with Next.js 16
- 📱 Mobile-first responsive design
- 🌙 Dark/Light theme support
- ⚡ Fast performance with optimized builds
- 🔧 Tool-based AI responses for portfolio information
- Frontend: Next.js 16, React 19, TypeScript
- Styling: Tailwind CSS 4, Framer Motion
- AI: Groq API with Llama 3.3 70B
- UI Components: Radix UI, Lucide React
- Deployment: Vercel
- Node.js 18+
- npm or pnpm
- Groq API key
- Clone the repository:
git clone https://github.com/sumreen7/NewPortfolio.git
cd NewPortfolio- Install dependencies:
npm install- Set up environment variables:
cp .env.example .env.local- Add your API keys to
.env.local:
GROQ_API_KEY=your_groq_api_key_here
GITHUB_TOKEN=your_github_token_here
BRAVE_API_KEY=your_brave_api_key_here- Visit Groq Console
- Sign up or log in
- Navigate to API Keys and create a new key
- Add it to your
.env.localfile
- Visit Brave Search API
- Sign up or log in
- Navigate to API Keys and create a new key
- Add it to your
.env.localfile
npm run devOpen http://localhost:3000 to view the portfolio.
npm run build
npm start| Variable | Description | Required |
|---|---|---|
GROQ_API_KEY |
Groq API key for AI chat | Yes |
GITHUB_TOKEN |
GitHub token for repo stars | No |
BRAVE_API_KEY |
Brave Search API for web search | No |
The portfolio includes an AI-powered chat interface that can:
- Introduce me and share my background
- Talk about my experience at Salesforce and CMU
- Describe my projects (Ai Chief of Staff, NVIDIA x CMU, YOMIGO, Job Analyzer)
- Share my skills and certifications
- Answer questions about my hobbies (tennis, trekking, @coffeennovels)
- Provide contact information and resume
- Search the web for current information
- 10 requests per minute per IP
- Automatic retry logic for transient errors
- Graceful error handling for API failures
src/
├── app/ # Next.js app directory
│ ├── api/ # API routes
│ │ ├── chat/ # AI chat endpoint + tools
│ │ └── github-stars/ # GitHub stars endpoint
│ ├── chat/ # Chat page
│ └── globals.css # Global styles
├── components/ # React components
│ ├── chat/ # Chat-related components
│ ├── projects/ # Project display components
│ └── ui/ # Reusable UI components
└── lib/ # Utility functions
- Push your code to GitHub
- Connect your repository to Vercel
- Add environment variables in Vercel dashboard
- Deploy automatically on every push
This project is licensed under the MIT License.