Skip to content

reiyw/pdf2sb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

63 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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>

About

View presentation slides in Scrapbox

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors 2

  •  
  •