Sign inSign up

wirawan/marker-ui

By wirawan

•Updated almost 2 years ago

A simple web user interface to upload a document and convert it to Markdown using the Marker API⁠

Image
Machine learning & AI
0

2.1K

wirawan/marker-ui repository overview

⁠Marker UI

The Marker UI⁠ provides a simple web user interface to upload a document and convert it to Markdown using the Marker API⁠. Marker API is a RESTful API that allows you to convert PDF, PPT, and DOC files to Markdown. It uses the Marker⁠ library to parse the document and extract the text and images.

⁠Usage

  • Prepare an environment file (i.e. ".env") with the content MARKER_API_URL=https://marker-api⁠... (replace the url with your marker-api url)
  • run the marker-ui docker container with:
docker run --rm --env-file `pwd`/.env -p8000:8000 wirawan/marker-ui
  • or just include the environment variable in command line:
docker run --rm --env MARKER_API_URL=https://marker-api -p8000:8000 wirawan/marker-ui

⁠Marker

Marker⁠ converts PDF to markdown quickly and accurately.

  • Supports a wide range of documents (optimized for books and scientific papers)
  • Supports all languages
  • Removes headers/footers/other artifacts
  • Formats tables and code blocks
  • Extracts and saves images along with the markdown
  • Converts most equations to latex
  • Works on GPU, CPU, or MPS

⁠Marker API

Marker API⁠ is a RESTful API that allows you to convert PDF, PPT, and DOC files to Markdown. It uses the Marker⁠ library to parse the document and extract the text and images.

The marker-api docker image is also available at https://hub.docker.com/repository/docker/wirawan/marker-api/general⁠

Tag summary

Content type

Image

Digest

sha256:591e1e61f…

Size

172.8 MB

Last updated

almost 2 years ago

docker pull wirawan/marker-ui