A Next.js application for cleaning and formatting Markdown content with OpenNext deployment support.
- Clean and format Markdown content
- Preview functionality
- Responsive design
- Theme toggle (light/dark mode)
- Cloudflare deployment ready
src/
├── app/ # Main application pages
├── components/ # Reusable UI components
├── context/ # React context providers
└── lib/ # Utility functions
This is a Next.js project bootstrapped with create-next-app and configured for OpenNext deployment on Cloudflare.
- Node.js (v18 or later)
- pnpm (recommended) or npm/yarn
- Cloudflare account (for deployment)
pnpm install
# or
npm install
# or
yarn installRun the Next.js development server:
pnpm dev
# or
npm run dev
# or
yarn devOpen http://localhost:3000 with your browser to see the result.
The application supports hot reloading - changes to files in src/ will automatically update the browser.
Preview the application locally with Cloudflare runtime:
pnpm preview
# or
npm run preview
# or
yarn previewDeploy to Cloudflare using OpenNext:
pnpm deploy
# or
npm run deploy
# or
yarn deployKey configuration files:
next.config.ts- Next.js configurationopen-next.config.ts- OpenNext specific configuration
dev- Start development serverbuild- Build production applicationstart- Start production serverpreview- Local Cloudflare previewdeploy- Deploy to Cloudflarelint- Run ESLint
- Next.js 14+
- React 18+
- TypeScript
- Tailwind CSS
- shadcn/ui components
- OpenNext for Cloudflare deployment
Contributions are welcome! Please open an issue or submit a pull request on the GitHub repository.
MIT