A Python script to convert PDF pages to images and upload them to Gyazo.
The URLs of the uploaded images are copied to the clipboard.
# Using pipx
pipx install gyazo-pdf
# Or using uv
uv tool install gyazo-pdfCreate a config file at ~/.config/gyazo-pdf/config.yaml:
GYAZO_API_TOKEN: your_token_here
PDF_DIR: /path/to/pdf/directory# Upload a specific PDF
gp filename # or filename.pdf
# Upload the latest PDF in the configured directory
gp