Metadata-Version: 2.1
Name: markdown-converter
Version: 0.1.0
Summary: A Flask-based web service to convert documents to Markdown
Home-page: https://github.com/yourusername/markdown-converter
Author: Your Name
Author-email: your.email@example.com
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Requires-Python: >=3.6
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: flask>=2.0.0
Requires-Dist: flask-cors>=3.0.0
Requires-Dist: markitdown>=0.0.1a3
Requires-Dist: click>=8.0.0

# Markdown Converter

A Flask-based web service to convert any document/url to Markdown.

## Installation

```bash
pip install markdown-converter
```

## Usage

### As a web service

Start the server:

```bash
markdown-converter serve
```

Options:
- `--host`: Host to bind to (default: 0.0.0.0)
- `--port`: Port to bind to (default: 5000)
- `--debug`: Enable debug mode

### API Endpoints

#### Convert URL to Markdown

```bash
curl -X POST -F "url=https://example.com" http://localhost:5000/convert
```

#### Convert File to Markdown

```bash
curl -X POST -F "file=@document.pdf" http://localhost:5000/convert
```

## Development

1. Clone the repository
2. Install dependencies: `pip install -r requirements.txt`
3. Run the development server: `python -m markdown_converter.cli serve --debug`

## License

MIT License
