- 🎯 Multi-Platform Content Generation - Create posts for X (Twitter), LinkedIn, and Reddit
- ⚙️ Smart Post Configuration - Customize content style and tone for each platform
- 🤖 AI Model Support - Works with OpenAI GPT and Google Gemini models
- 🔐 Secure API Key Storage - Encrypted local storage for your API keys
- 🎨 Modern UI/UX - Professional interface with dark/light theme support
- 📱 Responsive Design - Works seamlessly on desktop and mobile devices
This application includes a robust encryption system for storing API keys securely in localStorage:
NEXT_PUBLIC_ENCRYPTION_KEY=your-secure-32-character-encryption-key-here
- API keys are encrypted with the Encryption Key on the client-side before being stored in localStorage
- When content generation is requested, the encrypted API key is sent to the server
- The server decrypts the API key using the same Encryption Key before using it with AI models
- The Encryption Key is stored as the
NEXT_PUBLIC_ENCRYPTION_KEY
environment variable
- Node.js 18+
- npm or yarn
- OpenAI API key and/or Google Gemini API key
git clone https://github.com/habeebmoosa/OpenContentGenerator.git
cd OpenContentGenerator
npm install
Create a .env
file in the root directory and add:
NEXT_PUBLIC_ENCRYPTION_KEY=your-secure-32-character-encryption-key-here
npm run dev
5. Open http://localhost:3000 in your browser
- Configure API Keys - Click "API Keys" to set up your OpenAI and Google Gemini API keys
- Enter Content Prompt - Describe what content you want to generate
- Customize Style - Configure the post generation style and tone if needed
- Select Platforms - Choose which social media platforms to generate content for
- Generate Content - Click "Generate" to create your AI-powered posts
- Copy & Share - Copy the generated content and share directly to your social media platforms
- Frontend: Next.js 15, React, TypeScript
- Styling: Tailwind CSS, shadcn/ui components
- AI Integration: OpenAI API, Google Gemini API
- Security: Client-side encryption for API keys
- Deployment: Vercel-ready
Contributions are welcome! Please feel free to submit a Pull Request.
- 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 licensed under the MIT License - see the LICENSE file for details.
- Built with Next.js
- UI components from shadcn/ui
- Icons from Lucide React
- Deployed on Vercel
Made with ❤️ by Habeeb Moosa