The project is in a healthy, maintained state
Statically linked pdftotext binary from Poppler
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
 Dependencies

Development

>= 0
 Project Readme

Ruby Gem with statically linked pdftotext binary from poppler, so you don't need to install the package in the container, dev environments, etc.

Note that poppler is GPL 2 or later.

Run make.zsh to build a new binary.

Usage

In Gemfile:

gem 'pdftotext_binary'

And get the path with:

>> Gem.bin_path('pdftotext_binary', 'pdftotext')
=> "/home/martin/.gem/ruby/4.0.0/gems/pdftotext_binary-1.0.0/bin/pdftotext"

On unsupported architectures you will get something like:

pdftotext_binary: unsupported platform FreeBSD/x86_64

You can set PDFTOTEXT_BIN for those cases, e.g.:

export PDFTOTEXT_BIN=/bin/pdftotext