Skip to content

Commit

Permalink
fix: update default RMAPIREPO (#149)
Browse files Browse the repository at this point in the history
* fix: update default RMAPIREPO

The current RMAPIREPO points to an unmaintained an archived repo (https://github.com/juruen/rmapi). There is another, maintained fork by ddvk which should be preferred. (https://github.com/ddvk/rmapi)

* chore: replace juruen/rmapi references
  • Loading branch information
Barabazs authored Oct 14, 2024
1 parent 0d16fa2 commit 5cdf0b0
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ FROM golang:buster AS rmapi

ENV GOPATH /go
ENV PATH ${GOPATH}/bin:/usr/local/go/bin:$PATH
ENV RMAPIREPO github.com/juruen/rmapi
ENV RMAPIREPO github.com/ddvk/rmapi

RUN git clone https://${RMAPIREPO} && cd rmapi && go install

Expand Down
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ let me know!
4. Shrinks the pdf file to reduce the filesize
5. Generates a nice filename based on author/title/year of the paper
6. Uploads it to your reMarkable using
[rMapi](https://github.com/juruen/rmapi).
[rMapi](https://github.com/ddvk/rmapi).

Optionally, you can:

Expand Down Expand Up @@ -109,12 +109,12 @@ The script requires the following external programs to be available:
[pdftk-java](https://gitlab.com/pdftk-java/pdftk), whichever your package
manager provides.
- [GhostScript](https://www.ghostscript.com/)
- [rMAPI](https://github.com/juruen/rmapi)
- [rMAPI](https://github.com/ddvk/rmapi)

Specifically:

1. First install [rMAPI](https://github.com/juruen/rmapi), using the
instructions available here: https://github.com/juruen/rmapi#install
1. First install [rMAPI](https://github.com/ddvk/rmapi), using the
instructions available here: https://github.com/ddvk/rmapi#install

2. Then install system dependencies:
- **Arch Linux:** ``pacman -S pdftk ghostscript poppler``
Expand Down Expand Up @@ -266,7 +266,7 @@ do
done
```
[print-guide]: https://github.com/juruen/rmapi/blob/master/docs/tutorial-print-macosx.md
[print-guide]: https://github.com/ddvk/rmapi/blob/master/docs/tutorial-print-macosx.md
## Docker
Expand All @@ -283,7 +283,7 @@ docker build -t p2r .
### Authorization
``paper2remarkable`` uses [rMapi](https://github.com/juruen/rmapi) to sync
``paper2remarkable`` uses [rMapi](https://github.com/ddvk/rmapi) to sync
documents to the reMarkable. The first time you run ``paper2remarkable`` you
will have to authenticate rMapi using a one-time code provided by reMarkable.
By default, rMapi uses the ``${HOME}/.rmapi`` file as a configuration file to
Expand Down

0 comments on commit 5cdf0b0

Please sign in to comment.