From 5860aaf47268febe5d2ce47011531b70b5424733 Mon Sep 17 00:00:00 2001 From: Gertjan van den Burg Date: Mon, 2 Sep 2019 12:26:08 +0100 Subject: Reflow readme and add note on docker route at the top --- README.md | 16 +++++++++++----- 1 file 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 -- cgit v1.2.3