Skip to content

A Java program to generate a magazine-like PDF to read news in a offline fashion from a ebook reader or an iPad

License

Notifications You must be signed in to change notification settings

lucamolteni/rsstopdf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RSS to PDF Converter

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

Prerequisites

  • Java 21 or higher
  • Maven 3.6 or higher
  • LaTeX distribution

Dependencies

The project uses the following dependencies:

  • LaTeX package: papertex

Installation

  1. Clone the repository:

    git clone https://github.com/lucamolteni/rsstopdf.git
    cd rsstopdf
  2. Install Java and Maven:

    Make sure you have Java and Maven installed on your system. You can download them from:

  3. 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 the Latex class will run pdflatex 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.

Building the Project

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

About

A Java program to generate a magazine-like PDF to read news in a offline fashion from a ebook reader or an iPad

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages