Skip to content

Turn any website into clean Markdown - Extract noise-free, structured content from any URL. Perfect for AI training, documentation, and content analysis.

License

Notifications You must be signed in to change notification settings

yokesh-ks/clean-mark

CleanMark - Markdown Cleaner

A Next.js application for cleaning and formatting Markdown content with OpenNext deployment support.

Features

  • Clean and format Markdown content
  • Preview functionality
  • Responsive design
  • Theme toggle (light/dark mode)
  • Cloudflare deployment ready

Project Structure

src/
├── app/              # Main application pages
├── components/       # Reusable UI components
├── context/          # React context providers
└── lib/              # Utility functions

Getting Started

This is a Next.js project bootstrapped with create-next-app and configured for OpenNext deployment on Cloudflare.

Prerequisites

  • Node.js (v18 or later)
  • pnpm (recommended) or npm/yarn
  • Cloudflare account (for deployment)

Installation

pnpm install
# or
npm install
# or
yarn install

Development

Run the Next.js development server:

pnpm dev
# or
npm run dev
# or
yarn dev

Open 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

Preview the application locally with Cloudflare runtime:

pnpm preview
# or
npm run preview
# or
yarn preview

Deployment

Deploy to Cloudflare using OpenNext:

pnpm deploy
# or
npm run deploy
# or
yarn deploy

Configuration

Key configuration files:

  • next.config.ts - Next.js configuration
  • open-next.config.ts - OpenNext specific configuration

Available Scripts

  • dev - Start development server
  • build - Build production application
  • start - Start production server
  • preview - Local Cloudflare preview
  • deploy - Deploy to Cloudflare
  • lint - Run ESLint

Technologies Used

  • Next.js 14+
  • React 18+
  • TypeScript
  • Tailwind CSS
  • shadcn/ui components
  • OpenNext for Cloudflare deployment

Learn More

Contributing

Contributions are welcome! Please open an issue or submit a pull request on the GitHub repository.

License

MIT

About

Turn any website into clean Markdown - Extract noise-free, structured content from any URL. Perfect for AI training, documentation, and content analysis.

Topics

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks