A simple Github Action that converts a PDF file into JPEG images and seamlessy update your repository's README to show these images.
- Copy the folder
.github/workflows
and its contents into your Github repository. - Make sure that inside your repository there is a
README.md
file (you can just create a blank one) and the .pdf you want to convert. - Modify
.github/workflows/pdf2readme.yml
to point to your .pdf file (line 25). - Trigger the action by using the
Run workflow
button on theActions
tab.
- This project is based on PDFWriteupReadme (apparently discontinued) by contagon, which used ImageMagick instead of Poppler, among other differences.