A modern web application that helps users repurpose their content across different social media platforms using AI. Built with Next.js, TypeScript, and Tailwind CSS.
- Multi-Platform Content Generation: Create content optimized for various platforms including LinkedIn, Twitter, TikTok, and YouTube
- Custom Input Methods: Support for direct text input and URL-based content extraction
- Smart Content Adaptation: AI-powered content transformation that maintains the core message while adapting to platform-specific requirements
- Interactive UI: Modern, responsive interface with real-time feedback and loading states
- Content Management: Easy copy and regeneration of content with custom instructions
- Metadata Display: View important content metadata including source, language, and content type
- Framework: Next.js 15 with App Router
- Language: TypeScript
- Styling: Tailwind CSS 4
- UI Components: Radix UI primitives with custom styling
- Icons: Lucide React
- State Management: React Hooks
- Build Tool: Turbopack
- Node.js (v18 or higher)
- npm or yarn
-
Clone the repository:
git clone https://github.com/yourusername/content-ai-demo.git cd content-ai-demo
-
Install dependencies:
npm install # or yarn install
-
Create a
.env
file in the root directory and add your environment variables:NEXT_PUBLIC_API_URL=your_api_url_here
-
Start the development server:
npm run dev # or yarn dev
The application will be available at http://localhost:3000
.
src/
├── app/ # Next.js app router pages
├── components/ # Reusable UI components
│ ├── ui/ # Base UI components
│ └── ... # Feature-specific components
├── hooks/ # Custom React hooks
├── types/ # TypeScript type definitions
├── config/ # Configuration files
└── lib/ # Utility functions
ContentDisplay
: Main component for displaying and managing repurposed contentInputMethodSelector
: Component for selecting input method (text, URL, etc.)useContentRepurposer
: Custom hook for managing content repurposing logicToaster
: Toast notification system for user feedback
npm run dev
: Start development server with Turbopacknpm run build
: Build the application for productionnpm run start
: Start the production servernpm run lint
: Run ESLint for code linting
- Follows ESLint configuration for code quality
- Uses TypeScript for type safety
- Implements responsive design principles
- Follows component-based architecture
- Fork the repository
- Create your feature branch (
git checkout -b feature/amazing-feature
) - Commit your changes (
git commit -m 'Add some amazing feature'
) - Push to the branch (
git push origin feature/amazing-feature
) - Open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.
- Built with Next.js and React
- Styled with Tailwind CSS
- Icons by Lucide
- UI components by Radix UI
To learn more about Next.js, take a look at the following resources:
- Next.js Documentation - learn about Next.js features and API.
- Learn Next.js - an interactive Next.js tutorial.
You can check out the Next.js GitHub repository - your feedback and contributions are welcome!
The easiest way to deploy your Next.js app is to use the Vercel Platform from the creators of Next.js.
Check out our Next.js deployment documentation for more details.