{"repo":"dezoito/markitdown-api","free":true,"listed":false,"github":"https://github.com/dezoito/markitdown-api","clone":"git clone https://github.com/dezoito/markitdown-api.git","description":"Ultra lightweight API server to convert files (.pdf, .docx, .xlsx) into formatted markdown.","language":"Python","stars":88,"topics":["conversion","llm","markdown","rag"],"license":"MIT","category":"ai-agents","readme_excerpt":"MarkItDown API Server This project is a lightweight REST API server built using FastAPI that receives binary data from a file, converts it to Markdown format using the MarkItDown library, and returns the Markdown content. [!IMPORTANT] This project started as a fork of elbruno/MarkItDownServer. [!NOTE] This project uses uv for dependency management and multistage Docker builds, significantly reducing build times and final image size. Using Pre-built Image The easiest way to get started is to use the pre-built image from GitHub Container Registry: Setup Instructions 1. Clone the repository: 1. Navigate to the project directory: 1. Build the docker image 1. Run the docker container Development Workflow For easier development, a convenience script is included to rebuild the image and restart the container: 1. Make the script executable: 2. Run the script whenever you make changes: The script will: - Stop the running container - Remove the container - Build a fresh image - Start a new container - Verify the container is running This simplifies the development process when you're making frequent changes to the codebase. Endpoints The API offers two main endpoints: /docs Provides an interactive documentation interface where you can: - Read and explore the existing API endpoints - View request/response schemas and examples /process file Accepts a POST request containing a file to convert to markdown. - Method : POST - Content-Type : multipart/form-data - Parameter : file (binary) - A","default_branch":null,"files":null,"tree":[],"storefront":"/r/dezoito","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/dezoito/markitdown-api/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}