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:
Installation
- Install pdf2sb:
pip install pdf2sb
- Get Gyazo access token from here.
- Follow the instructions in this article (in Japanese).
- Set
$GYAZO_ACCESS_TOKEN
:
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
Release history Release notifications | RSS feed
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)