A Next.js application that combines Markdown file viewing with AI chat capabilities.
- Markdown Rendering: Upload and view Markdown files with syntax highlighting
- AI Chat: Ask questions and receive AI-powered responses
- Dark Mode: Toggle between light and dark themes
- Local Storage: Chat history is saved in local storage
- Voice Input: Use your microphone to input questions
- Next.js 14+
- React 19
- TailwindCSS
- OpenAI API
- TypeScript
- Clone the repository
- Install dependencies
npm install
- Configure your OpenAI API key
- Rename
.env.local.exampleto.env.local - Add your OpenAI API key to the file
- Rename
- Run the development server
npm run dev
- Open http://localhost:3000 in your browser
- Upload a Markdown File: Use the file uploader to upload a markdown file
- View the Markdown: The content will be rendered in the preview section
- Chat with AI: Type questions in the chat interface or use voice input
- Toggle Dark Mode: Use the theme toggle button to switch between light and dark mode
This project is licensed under the MIT License - see the LICENSE file for details.
- OpenAI for providing the API
- Next.js team for the framework
- Various open-source packages that made this project possible