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 details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
501067459a2889fba376b726e53ac18409a4c5f163332b1916d5b1c6b5442196
|
|
| MD5 |
1143b9ce77b4214be64d2f21b07d932e
|
|
| BLAKE2b-256 |
9f290b5d9eee763215a9adae8d205ec1bf87b5140f0aed7bc853f4f06e6140ee
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1728101689c1e46e541335381d91fd46a42a4ac8a5b74efe644d977148078b13
|
|
| MD5 |
7a874af96c7e056750a20bbf613b774e
|
|
| BLAKE2b-256 |
7d32a3de987ab0f0eabd7f7093abdb5ef4c28e5f0573040186a7d6f5f8baece5
|