A modern, responsive personal website featuring an interactive AI-powered blog post generator using Google's Gemini API.
- 📱 Responsive Design - Works perfectly on all devices
- 🎨 Glass Morphism UI - Modern translucent design elements
- 🤖 AI Blog Generator - Powered by Google Gemini API
- 📝 Portfolio Showcase - Web development and AI projects
- 📧 Contact Form - Integrated with Formspree
- 🎯 Project Filtering - Filter by Web Dev, AI, and Design categories
Visit the live website: [Your Vercel URL here]
- Frontend: HTML5, CSS3, JavaScript (Vanilla)
- Styling: Tailwind CSS, Custom CSS
- Backend: Vercel Serverless Functions
- AI Integration: Google Gemini API
- Deployment: Vercel
- Form Handling: Formspree
Blog Website/
├── 📄 index.html # Main website
├── 🎨 style.css # Custom styles
├── ⚡ script.js # JavaScript functionality
├── 📁 api/
│ └── 🤖 gemini.js # Vercel serverless function for AI
├── ⚙️ vercel.json # Vercel configuration
├── 🔒 .env.example # Environment variables template
├── 🚫 .gitignore # Git ignore file
└── 📖 README.md # This file
-
Clone the repository
git clone https://github.com/Antim21/Blog-Website.git cd Blog-Website -
Set up environment variables
# Create .env file cp .env.example .env # Add your Gemini API key GEMINI_API_KEY=your_actual_api_key_here
-
Get Gemini API Key 🔑
- Visit Google AI Studio
- Create a new API key
- Copy and paste it in your
.envfile
-
Run locally
# Install Vercel CLI (if not installed) npm i -g vercel # Start development server vercel dev
-
Push to GitHub 📤
git add . git commit -m "Initial commit" git push origin main
-
Deploy on Vercel ☁️
- Go to vercel.com
- Import your GitHub repository
- Add environment variable:
- Name:
GEMINI_API_KEY - Value: Your actual Gemini API key
- Name:
-
Deploy! 🎉
- Blog Post Generator: Enter a topic and get 5 creative blog post titles
- Powered by Gemini: Uses Google's latest AI model
- Real-time Processing: Instant results with loading animation
- Hero Section: Animated background with call-to-action
- About: Personal introduction and skills
- Blog: Featured Medium articles
- Projects: Filterable portfolio showcase
- Contact: Working contact form
- Glass Morphism: Translucent cards with backdrop blur
- Custom Fonts: Handwriting and cursive typography
- Smooth Animations: Hover effects and transitions
- Background Images: High-quality visuals for each section
| Variable | Description | Required |
|---|---|---|
GEMINI_API_KEY |
Google Gemini API key for AI features | ✅ Yes |
Generates blog post ideas using Gemini AI.
Request Body:
{
"prompt": "Your topic here"
}Response:
{
"text": "Generated blog post titles..."
}- Fork the repository
- Create your feature branch (
git checkout -b feature/AmazingFeature) - Commit your changes (
git commit -m 'Add some AmazingFeature') - Push to the branch (
git push origin feature/AmazingFeature) - Open a Pull Request
This project is open source and available under the MIT License.
Antim Maurya
- 🌐 Website: [Your Website URL]
- 📧 Email: [Your Email]
- 💼 LinkedIn: [Your LinkedIn]
- 🐙 GitHub: @Antim21
- 🎨 Design inspiration from modern web trends
- 🤖 Google Gemini API for AI capabilities
- 📷 Unsplash & Pexels for beautiful images
- ☁️ Vercel for seamless deployment
⭐ Star this repository if you found it helpful! ⭐