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 details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

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

Uploaded Python 3

File details

Details for the file pdf2sb-0.3.11.tar.gz.

File metadata

  • Download URL: pdf2sb-0.3.11.tar.gz
  • Upload date:
  • Size: 14.8 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.4

File hashes

Hashes for pdf2sb-0.3.11.tar.gz
Algorithm Hash digest
SHA256 501067459a2889fba376b726e53ac18409a4c5f163332b1916d5b1c6b5442196
MD5 1143b9ce77b4214be64d2f21b07d932e
BLAKE2b-256 9f290b5d9eee763215a9adae8d205ec1bf87b5140f0aed7bc853f4f06e6140ee

See more details on using hashes here.

File details

Details for the file pdf2sb-0.3.11-py3-none-any.whl.

File metadata

  • Download URL: pdf2sb-0.3.11-py3-none-any.whl
  • Upload date:
  • Size: 5.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.4

File hashes

Hashes for pdf2sb-0.3.11-py3-none-any.whl
Algorithm Hash digest
SHA256 1728101689c1e46e541335381d91fd46a42a4ac8a5b74efe644d977148078b13
MD5 7a874af96c7e056750a20bbf613b774e
BLAKE2b-256 7d32a3de987ab0f0eabd7f7093abdb5ef4c28e5f0573040186a7d6f5f8baece5

See more details on using hashes here.

Supported by

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