aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorGertjan van den Burg <gertjanvandenburg@gmail.com>2019-09-02 12:26:08 +0100
committerGertjan van den Burg <gertjanvandenburg@gmail.com>2019-09-02 12:26:08 +0100
commit5860aaf47268febe5d2ce47011531b70b5424733 (patch)
tree42482047a64ff68be4df634a8787eccc01e7231c /README.md
parentMerge branch 'ClaytonJY-dockerize' (diff)
downloadpaper2remarkable-5860aaf47268febe5d2ce47011531b70b5424733.tar.gz
paper2remarkable-5860aaf47268febe5d2ce47011531b70b5424733.zip
Reflow readme and add note on docker route at the top
Diffstat (limited to 'README.md')
-rw-r--r--README.md16
1 files changed, 11 insertions, 5 deletions
diff --git a/README.md b/README.md
index 8633cf3..a01665c 100644
--- a/README.md
+++ b/README.md
@@ -1,7 +1,8 @@
# arxiv2remarkable.py
``arxiv2remarkable`` is a command line program to quickly transfer a paper to
-your reMarkable.
+your reMarkable. The script can be run as a plain Python script or via Docker
+(see below).
This script makes it as easy as possible to get a PDF on your reMarkable from
any of the following sources:
@@ -119,9 +120,11 @@ pip install --user bs4 requests PyPDF2 titlecase pdfplumber unidecode
## Docker
-You can also use our Dockerfile to avoid installing dependencies on your machine. You will need `git` and `docker` installed.
+You can also use our Dockerfile to avoid installing dependencies on your
+machine. You will need `git` and `docker` installed.
-First clone this repository with `git clone` and `cd` inside of it, then build the container:
+First clone this repository with `git clone` and `cd` inside of it, then build
+the container:
```bash
docker build -t arxiv2remarkable .
@@ -129,7 +132,8 @@ docker build -t arxiv2remarkable .
### Authorization
-If you already have a `~/.rmapi` file, you can skip this section. Otherwise we'll use `rmapi` to create it.
+If you already have a `~/.rmapi` file, you can skip this section. Otherwise
+we'll use `rmapi` to create it.
```bash
touch ${HOME}/.rmapi
@@ -145,7 +149,9 @@ rmapi version: 0.0.5
### Usage
-Use the container by replacing `python arxiv2remarkable.py` with `docker run --rm -v "${HOME}/.rmapi:/root/.rmapi:rw" arxiv2remarkable`, e.g.
+Use the container by replacing `python arxiv2remarkable.py` with `docker run
+--rm -v "${HOME}/.rmapi:/root/.rmapi:rw" arxiv2remarkable`, e.g.
+
```
# print help and exit
docker run --rm -v "${HOME}/.rmapi:/root/.rmapi:rw" arxiv2remarkable --help