This Python script uploades local images to Imgur and replaces their path with the remote URL in the Markdown.
- Clone the repository.
- Run
pip install -r requirements-dev.txt
. - Copy
.env.example
to.env
and add yourCLIENT_ID
from the Imgur API. - Create an
original.md
file and add your markdown to it. - Add your local images to
screenshots
directory and also update the path of your local images inoriginal.md
file so that the Python script can find them in thescreenshots
directory. - Run
python src/main.py
and a newupdated.md
will be created for you.