A Java program to generate a magazine-like PDF to read news in a offline fashion from a ebook reader or a tablet.
Here's an example of the generated output.
It uses the papertex package You can read more in this PDF
Thanks Ignacio Llopis for the package
- Java 21 or higher
- Maven 3.6 or higher
- LaTeX distribution
The project uses the following dependencies:
- LaTeX package:
papertex
-
Clone the repository:
git clone https://github.com/lucamolteni/rsstopdf.git cd rsstopdf
-
Install Java and Maven:
Make sure you have Java and Maven installed on your system. You can download them from:
-
Install LaTeX:
Install a LaTeX distribution if you don't have one. For example, you can install TeX Live on macOS using Homebrew:
brew install --cask mactex
Make sure the command
pdflatex
is available on your system as theLatex
class will runpdflatex
and it's currently not configurable.Make sure the
papertex
package is installed. You can install it using the package manager of your LaTeX distribution.
To try the project using a docker image run the following command:
./run-docker.sh <PATH_TO_OPML_FILE> <PATH_TO_OUTPUT>
examle
./run-docker.sh "~/rssfeeds.opml" "."
Alternatively to run the project without docker but using maven on the local machine, run the following command:
./run.sh <PATH_TO_OPML_FILE> <PATH_TO_OUTPUT_DIRECTORY>
If you don't provide an opml file path, ~/.rsstopdf/opml.xml
will be used as a deafult.
If you don't specify the output folder, ~/.rsstopdf/pdfs
will be used instead