Skip to content

Latest commit

 

History

History
32 lines (26 loc) · 679 Bytes

File metadata and controls

32 lines (26 loc) · 679 Bytes

Gyazo PDF

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.

Prerequisites

Installation

# Using pipx
pipx install gyazo-pdf

# Or using uv
uv tool install gyazo-pdf

Configuration

Create a config file at ~/.config/gyazo-pdf/config.yaml:

GYAZO_API_TOKEN: your_token_here
PDF_DIR: /path/to/pdf/directory

Usage

# Upload a specific PDF
gp filename  # or filename.pdf

# Upload the latest PDF in the configured directory
gp