Skip to main content

Upload PDF file to Gyazo as images then convert Scrapbox format

Project description

pdf2sb

Upload PDF file to Gyazo as images then convert Scrapbox format.

Usage

Download slides (e.g. https://speakerdeck.com/reiyw/effective-modern-python-2018). Run:

pdf2sb ~/Downloads/presentation.pdf | pbcopy

Paste copied text to a Scrapbox page:

Image from Gyazo

Installation

  • Install pdf2sb:
pip install pdf2sb
export GYAZO_ACCESS_TOKEN=<access token>

Running via Docker

You can run pdf2sb also via Docker:

FILE=<your pdf file>; docker run --env GYAZO_ACCESS_TOKEN=$GYAZO_ACCESS_TOKEN -v $(readlink -f $FILE):/app/${FILE##*/} reiyw/pdf2sb ${FILE##*/}
# or
docker run --env GYAZO_ACCESS_TOKEN=$GYAZO_ACCESS_TOKEN reiyw/pdf2sb <URL>

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pdf2sb-0.3.11.tar.gz (14.8 MB view hashes)

Uploaded Source

Built Distribution

pdf2sb-0.3.11-py3-none-any.whl (5.1 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page