mattduck / gh2md

Export Github repository issues, pull requests and comments to markdown.
MIT License
244 stars 45 forks source link

download images to git #35

Open milahu opened 2 years ago

milahu commented 2 years ago

currently, images have no special handling gh2md simply uses the original image source

ideally, the user can enable image scraping

also allow special handling of "large" images

example avatar

<img src="https://avatars.githubusercontent.com/u/12958815?v=4" width="50">

example attachment

<img src="https://user-images.githubusercontent.com/12958815/177718602-943af214-24be-4209-82cc-18e6fa5d04c1.jpg" title="Mephistopheles and Margaretta  19th-century wooden double sculpture" width="10%">

dupe #28 says "completed" but its not

pattacini commented 5 months ago

Hi there 👋🏻

First up, this is a nice tool.

Just wanted to share with you all a ruby script I had to write recently to download the images, which can be used in conjunction with gh2md.

This is particularly useful for private repositories, as GH has raised the security bar for accessing the assets.

github.zip