This project is a modern AI-powered blog platform built using Next.js, Tailwind CSS, Firebase, and the Gemini API. The platform enables users to generate and manage blog content seamlessly using AI, providing an interactive and efficient writing experience. The entire application is containerized with Docker to ensure ease of deployment and scalability.
Ensure you have the following installed:
git clone https://github.com/SpandanM110/ai-blog.git
cd ai-blog
npm install
.env.local
file with:NEXT_PUBLIC_FIREBASE_API_KEY=your_api_key
NEXT_PUBLIC_FIREBASE_AUTH_DOMAIN=your_auth_domain
NEXT_PUBLIC_FIREBASE_PROJECT_ID=your_project_id
NEXT_PUBLIC_FIREBASE_STORAGE_BUCKET=your_storage_bucket
NEXT_PUBLIC_FIREBASE_MESSAGING_SENDER_ID=your_sender_id
NEXT_PUBLIC_FIREBASE_APP_ID=your_app_id
.env.local
file:NEXT_PUBLIC_GEMINI_API_KEY=your_gemini_api_key
npm run dev
The application will be accessible at http://localhost:3000
.
docker build -t ai-blog .
docker run -p 3000:3000 --env-file .env.local ai-blog
For cloud deployment, you can use platforms like:
Feel free to submit issues and pull requests. Follow the standard Git workflow:
git checkout -b feature-branch
git commit -m "Add new feature"
git push origin feature-branch
This project is licensed under the MIT License.