Skip to content

WebServer exposing the markitdown functionality to convert files to markitdown

License

Notifications You must be signed in to change notification settings

wizd/MarkItDownServer

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MarkItDown Web Server

This project is a simple web server application built using FastAPI that receives binary data from a file, converts it to Markdown format using the MarkItDown library, and returns the Markdown content.

Setup Instructions

  1. Clone the repository:

    git clone <repository-url>   
  2. Navigate to the project directory:

    cd <the folder where you cloned the repo>
  3. Build the docker image

    docker build -t markitdownserver .
  4. Run the docker container

    docker run -d --name markitdownserver -p 80:80 markitdownserver
  5. The docker container should be visible in docker.

    Docker Container

Usage

  1. Navigate to the C# Console application directory.

    cd ./src/
  2. Run the .Net application

    dotnet run
  3. The dotnet app should send a sample document to the web server and receive the markdown content.

    dotnet app running

Dependencies

  • FastAPI
  • MarkItDown

License

This project is licensed under the MIT License.

About

WebServer exposing the markitdown functionality to convert files to markitdown

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 74.8%
  • C# 25.2%