ContentCrafter is a modern web application that helps users create engaging social media content using AI technology. Built with React, TypeScript, and powered by Google's Gemini AI, it provides intelligent content suggestions and creation tools.
- 🤖 AI-Powered Content Generation: Integrated with Google AI Studio (Gemini) for intelligent content creation
- 📱 Multi-Platform Support: Create content for Instagram, Twitter, LinkedIn, Facebook, and more
- 🎨 Modern UI: Built with shadcn-ui components and Tailwind CSS for a beautiful user experience
- 💬 Interactive Chatbot: Chat with AI to get personalized content suggestions
- 🎯 Content Focused: Specialized prompts and responses tailored for social media marketing
- Node.js & npm installed - install with nvm
- Google AI Studio API key - Get it here
# Step 1: Clone the repository
git clone <YOUR_GIT_URL>
# Step 2: Navigate to the project directory
cd ContentCrafter
# Step 3: Install dependencies
pnpm install
# or
npm install
# Step 4: Setup environment variables
# Create .env.local file and add your Google AI API key
echo "VITE_GOOGLE_AI_API_KEY=your_api_key_here" > .env.local
# Step 5: Start the development server
pnpm dev
# or
npm run devCreate a .env.local file in the project root:
VITE_GOOGLE_AI_API_KEY=your_google_ai_studio_api_key_hereThis project is built with modern web technologies:
- Frontend Framework: React 18 with TypeScript
- Build Tool: Vite for fast development and building
- Styling: Tailwind CSS with shadcn-ui components
- AI Integration: Google Generative AI (Gemini)
- Routing: React Router for navigation
- State Management: React hooks and context
src/
├── components/ # Reusable UI components
├── pages/ # Main application pages
├── lib/ # Utility functions and services
├── hooks/ # Custom React hooks
├── contexts/ # React context providers
└── assets/ # Static assets
pnpm dev- Start development serverpnpm build- Build for productionpnpm lint- Run ESLintpnpm preview- Preview production build
- Create components in the
src/componentsdirectory - Add new pages in
src/pages - Extend the AI service in
src/lib/googleAI.ts - Update routing in the main App component
pnpm build
# Deploy the 'dist' folder to your hosting provider- Connect your GitHub repository to Vercel
- Add environment variables in Vercel dashboard
- Deploy automatically on each push
- Connect your repository to Netlify
- Set build command:
pnpm build - Set publish directory:
dist - Add environment variables
VITE_GOOGLE_AI_API_KEY- Your Google AI Studio API key (required for AI features)
- Fork the repository
- Create a feature branch
- Make your changes
- Test thoroughly
- Submit a pull request
This project is open source and available under the MIT License.