Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/mirpo/pdf2htmlex-docker

pdf2htmlEX docker image for MacBooks wirh M1, M2, M3
https://github.com/mirpo/pdf2htmlex-docker

docker m1-mac m2-mac m3-mac pdf2html pdf2htmlex

Last synced: 11 days ago
JSON representation

pdf2htmlEX docker image for MacBooks wirh M1, M2, M3

Awesome Lists containing this project

README

        

### pdf2htmlEX docker image for MacBooks wirh M1, M2, M3

I was trying to find working Docker image for my MacBook Air 13 with M2
and ended up with creating own image.

## Requirements
- Docker[https://docs.docker.com/get-docker/]

## Build locally
```sh
docker buildx build --platform=linux/amd64 -t my-pdf2htmlex .
```

where:
- `my-pdf2htmlex` is your tag

## Run locally
```sh
docker run --platform linux/amd64 -ti --rm -v ~/Downloads:/pdf -w /pdf my-pdf2htmlex pdf2htmlEX 1.pdf 1.html
```

where:
- `~/Downloads` - folder where PDF file is located
- `my-pdf2htmlex` is your tag
- `1.pdf` - input PDF
- `1.html` - output HTML file