Open-source version of a PDF managing SaaS

Overview

I, Librarian Instructions

Contents

Automated installation using installers

You can download and execute installers for Windows 8, and 10 plus a DEB package and a console installer for Ubuntu, Debian, and its derivatives. An installer for Mac OS X is not available. These installers will install and/or configure Apache and PHP for you. If you don't want that, follow the instructions below to install manually.

Windows manual installation

  • A running Apache 2.4+ and PHP 7.2+ are required. Install them using a Windows installer like WAMP.
  • Edit Apache configuration file (httpd.conf). Append this at the end using Notepad and edit as needed:
AllowOverride All # Allow access from this computer. Require local # Allow access from intranet computers. Require ip 10 Require ip 172.16 172.17 172.18 172.19 172.20 Require ip 172.21 172.22 172.23 172.24 172.25 Require ip 172.26 172.27 172.28 172.29 172.30 172.31 Require ip 192.168 # Insert Allow from directives here to allow access from the internet. # "Require all granted" opens access to everybody. ">
Alias /librarian "C:\I, Librarian\public"

   
    
    AllowOverride All
    # Allow access from this computer.
    Require local
    # Allow access from intranet computers.
    Require ip 10
    Require ip 172.16 172.17 172.18 172.19 172.20
    Require ip 172.21 172.22 172.23 172.24 172.25
    Require ip 172.26 172.27 172.28 172.29 172.30 172.31
    Require ip 192.168
    # Insert Allow from directives here to allow access from the internet.
    # "Require all granted" opens access to everybody.

   
  • You may wish to alter who has access (e.g. to allow access from more IP numbers or domain names) - see the Apache Authentication and Authorization HOWTO for details.
  • Restart the server.
  • Unzip I, Librarian distributable files into C:\I, Librarian.
  • You may change C:\I, Librarian to any directory where you want to have I, Librarian, including an external drive.
  • Now you can access your library in a browser at http://127.0.0.1/librarian
  • Optional. You can install LibreOffice and Tesseract OCR to enable importing Office files and OCR, respectively.

First use

  • Note on security: These installation instructions allow access to your library only from local computer or an internal network.
  • In order to start I, Librarian, open your web browser, and visit: http://127.0.0.1/librarian
  • Replace 127.0.0.1 with your static IP, or qualified server domain name, if you have either one.
  • Migrate your previous library, or create an account and head to Administrator > Software details to see if everything checks fine.
  • You should also check Administrator > Global settings to run I, Librarian the way you want.

Thank you for using I, Librarian!

Un-installation

  • If you used the DEB package, execute the uninstall.sh un-installer.
  • Otherwise un-install all programs that you installed solely to use I, Librarian.
  • These may include Apache, Nginx, and PHP - using package managers like Apt, Homebrew, or Macports will make this task easier. Note: You might have other programs using these. Only remove if sure.
  • Delete I, Librarian directory.
Comments
  • 500 Internal Server Error - Librarian\Security

    500 Internal Server Error - Librarian\Security

    Hello, I build the l-Librarian docker image on raspberry pi - 4. Based on Dockerfile : https://github.com/Stybyk/docker_i-librarian/blob/master/Dockerfile

    The originally prebuilt image is running on my laptop testing VM, with no problem.

    Raspberry pi - image build log (https://github.com/Stybyk/docker_i-librarian/blob/master/install.log) looks good from my own analysis. The server´s app also looks running well, I am able to make users and upload the .pdf files, changing setup etc. But when I try to open some pdf, it get me in error: servereror

    Why it is happening only on that armhf build. ? Do I miss some Dependencies ? Or is it just one platform bug?
    Please can someone propose me a solution? What can be wrong?

    enhancement 
    opened by Stybyk 13
  • PDF preview not shown when

    PDF preview not shown when "display items as icons" is selected

    Hello,

    Many thanks for this update to I-Librarian.

    I installed 5.1.0 and migrated my 4.10 library of 1000+ articles.

    When I go to Library and select "display items as icons" only the text "PDF preview" appears in the items instead of a real preview of the pdf. I attach a screenshot:

    Screenshot from 2020-04-27 14-47-50

    wontfix 
    opened by gapost 11
  • PDFs not displaying

    PDFs not displaying

    I have recently inherited an old i-librarian server that was running v2, i have since then migrated it to a ubuntu 20.04 box and upgraded it to 4.10 and its happy. When i try to upgrade to 5.5 however i run into issues.

    The database appears to migrate successfully and I ran the PDF extraction, which seems to also work (other than lots of Syntax Warning in the apache error log). I can view the various items in the library, however the PDF and Download buttons are greyed out. If i go into an item and select PDF->Open it fails horribly, i get the PDF app window, but then lots of 500 errors start appearing in the browser console log (see attached pic)

    Screen Shot 2020-10-03 at 11 11 21 PM

    Not sure what to do at this point or where this issue is coming from.

    bug 
    opened by oraclesod 9
  • Error 500 - PASSWORD_ARGON2I not defined

    Error 500 - PASSWORD_ARGON2I not defined

    Hi,

    I decided to upgrade to version 5.1 - am using a Mac with nginx and php74-fpm (I could write up the process if you want), but then ran into another issue.

    According to the PHP documentation, PASSWORD_ARGON2I is only defined if PHP has been compiled with Argon2 support, which doesn't seem to be standard especially when one uses pre-built binaries (I am using macports). I didn't want to change the code and certainly not compile a custom version of PHP (which didn't seem right) so ... I finally tracked down a solution.

    Sodium defines this constant and has support for Argon2. So I installed the php74-sodium extension and things work. So it ought to be in the list of mentioned extensions to install or enable

    enhancement 
    opened by drfraser 9
  • Custom autogenerated bibtex id preserves commas (for example from title)

    Custom autogenerated bibtex id preserves commas (for example from title)

    The bibtex id default custom format includes the title (which is nice for referencing the right document later), but unfortunately, I had a title with a comma within the beginning, for example see the following random title Bla, this is a great title.

    Spaces are removed, but not the comma, see
    https://github.com/mkucej/i-librarian-free/blob/master/classes/media/scalarutils.php#L370

    The resulting bibtex then has something similar to @article{Author-2020-Bla,thisisagreattitle, So the comma from the title is end-of-line symbol in bibtex format and clashes with the comma at the end of the line. Somehow I could refer to it with Author-2020-Bla but this is misleading because the rest is missing in the cite reference.

    Maybe other symbols should not be present within the bibtex citation key, too? I did not find a clear solution on this unfortunately.

    bug 
    opened by addy90 6
  • Annotations in PDFs

    Annotations in PDFs

    Just testing the new I, Librarian 5 and I imported a PDF with annotations and notes made in other software (Xodo PDF). I usually have good experience with these annotations across multiple software, however, in I, Librarian 5 the highlights render the colours as full fill, and not transparent. This means that whatever is highlighted in the PDF by other software, in I, Librarian the colours cover the text making them unreadable.

    image

    wontfix 
    opened by DOFfactory 6
  • Errors with PHP 8.1

    Errors with PHP 8.1

    Hi,

    I'm on Arch Linux, and after upgrading php from 8.0.14 to 8.1.2, this error pops up all the time:

    500 Internal Server Error E_DEPRECATED: htmlspecialchars(): Passing null to parameter #1 ($string) of type string is deprecated.

    bug 
    opened by luis-j 5
  • PDF viewer and PHP8

    PDF viewer and PHP8

    Hi, when using I, Librarian internal PDF viewer, I can't select text, and if I try to make annotations, the following error appears:

    500 Internal Server Error E_DEPRECATED: Function libxml_disable_entity_loader() is deprecated.

    I have no idea of the internals of I, Librarian, but searching for the error, I found this:

    Warning: This function has been DEPRECATED as of PHP 8.0.0. Relying on this function is highly discouraged.

    (https://www.php.net/manual/en/function.libxml-disable-entity-loader.php)

    bug 
    opened by luis-j 5
  • Can upload pdf files but can't read or download

    Can upload pdf files but can't read or download

    I did a clean install of i-Librarian free on a Ubuntu bionic system running php8.0 and Apache. I can access the web interface and upload pdf files but any further actions (read or download) gives a pop-up message "Info Provided number is out of valid range."

    I enabled error logging for php and apache but I don't get anything useful there. Perhaps this is an sqlite3 error? Any ideas on how to troubleshoot?

    From info.php:

    Apache Version | Apache/2.4.29 (Ubuntu) Apache API Version | 20120211 Server Administrator | webmaster@localhost Hostname:Port | ::1:80 User/Group | www-data(33)/33 Max Requests | Per Child: 0 - Keep Alive: on - Max Per Connection: 100 Timeouts | Connection: 300 - Keep-Alive: 5 Virtual Server | Yes Server Root | /etc/apache2 Loaded Modules | core mod_so mod_watchdog http_core mod_log_config mod_logio mod_version mod_unixd mod_access_compat mod_alias mod_auth_basic mod_authn_core mod_authn_file mod_authz_core mod_authz_host mod_authz_user mod_autoindex mod_deflate mod_dir mod_env mod_filter mod_mime prefork mod_negotiation mod_php mod_reqtimeout mod_setenvif mod_status

    SQLite3 support | enabled SQLite Library | 3.22.0 Directive | Local Value | Master Value sqlite3.extension_dir | no value | no value

    bug 
    opened by souptonuts 5
  • installation problem

    installation problem

    Hi, when I install the .deb with dpkg -i then it will tells me that there are some packets missing (e.g. apache2). I installed them with apt-get -f install. But when I try to access the web GUI I get this error: "Can't locate required I, Librarian files. Please edit the paths.php file." But for me everything looks correct in the paths.php file. What's wrong?

    bug 
    opened by Niemand112233 5
  • Text is blurry in i-librarian pdf viewer when document is opened with chromium-based browser

    Text is blurry in i-librarian pdf viewer when document is opened with chromium-based browser

    Hello all,

    This application seems to suffer from a chromium related issue which makes the text blurry and uncomfortable to read. It works great on Firefox. Workaround on stackoverflow: https://stackoverflow.com/questions/37906602/blurry-downscaled-images-in-chrome

    opened by antibunching 4
  • In bibtex export, add an option to include i-librarian tags in the bibtex

    In bibtex export, add an option to include i-librarian tags in the bibtex "keywords" field

    This would be helpful in order to use the bibliographic database in other programs.

    In my case, i frequently export the whole database as a bibtex file and import it in Zotero, in order to easily use its "connectors" to Word/LibreOffice (in the rare cases i use these programs). Then I miss my tags there, to help organize the entries.

    It may seem that this feature would facilitate someone to go towards the "competition", however i believe that open source programs should foster interoperability and not pose barriers to the users. It will ultimately be a plus for I-Librarian.

    enhancement 
    opened by gapost 2
  • Add automatic email sending

    Add automatic email sending

    A possibility for automatically sending invitation emails, password reset emails, or notifications would be great! This could be implemented with the PHP mailer or by automatically handing the mails over to an SMTP mail server.

    enhancement 
    opened by Babalion 0
  • Is there a documentation?

    Is there a documentation?

    Is there documentation where the features and workflows are explained? This would increase usability a lot. For example a guide for installation, one for new users, and one for administrators and even developers who want to contribute to this project.

    enhancement 
    opened by Babalion 2
  • Add API with Token for queries

    Add API with Token for queries

    Goal

    I would like to add all of my personal references to my webpage automatically.

    At the moment I do it like this:

    1. Perform a search of papers which belong to me in I Librarian
    2. export the result to a .bib file
    3. Copy the file to my webserver

    What I have tried

    The search can be performed with the same URL again, if one is logged in.

    If I try to pull the url via wget from my webserver, the problem is i can't use a simple POST request with cookie to log in due to the needed CSRF Token...

    Feature request

    Could you please add an authentication token which one could append to the query URL, so it would be easy to pull a .bib file via wget.

    This is the easiest way to create an API.

    enhancement 
    opened by Babalion 0
  • Integration with GROBID

    Integration with GROBID

    I recently came across GROBID [0] and it looks quite useful for what I want to do. I have not set it up yet, though, so no good idea how it and iLibrarian might be integrated. My rough idea right now is some sort of bridge using their client software/APIs. When I get a better sense of how they might be used together (or not), I will prototype the integration and update this enhancement issue.

    [0] GROBID Docs

    enhancement 
    opened by drfraser 0
Releases(5.10.1)
Magento 2 Invoice PDF Generator - helps you to customize the pdf templates for Magento 2

Magento 2 Invoice PDF Generator - helps you to customize the pdf templates for Magento 2. If you have an enabled template and a default template for the store you need your template the system will print the pdf template.

EAdesign 64 Oct 18, 2021
Convert HTML to PDF using Webkit (QtWebKit)

wkhtmltopdf and wkhtmltoimage wkhtmltopdf and wkhtmltoimage are command line tools to render HTML into PDF and various image formats using the QT Webk

wkhtmltopdf 13k Jan 4, 2023
HTML to PDF converter for PHP

Dompdf Dompdf is an HTML to PDF converter At its heart, dompdf is (mostly) a CSS 2.1 compliant HTML layout and rendering engine written in PHP. It is

null 9.3k Jan 1, 2023
PHP library generating PDF files from UTF-8 encoded HTML

mPDF is a PHP library which generates PDF files from UTF-8 encoded HTML. It is based on FPDF and HTML2FPDF (see CREDITS), with a number of enhancement

null 3.8k Jan 2, 2023
PHP library allowing thumbnail, snapshot or PDF generation from a url or a html page. Wrapper for wkhtmltopdf/wkhtmltoimage

Snappy Snappy is a PHP library allowing thumbnail, snapshot or PDF generation from a url or a html page. It uses the excellent webkit-based wkhtmltopd

KNP Labs 4.1k Dec 30, 2022
Official clone of PHP library to generate PDF documents and barcodes

TCPDF PHP PDF Library Please consider supporting this project by making a donation via PayPal category Library author Nicola Asuni [email protected] co

Tecnick.com LTD 3.6k Jan 6, 2023
TCPDF - PHP PDF Library - https://tcpdf.org

tc-lib-pdf PHP PDF Library UNDER DEVELOPMENT (NOT READY) UPDATE: CURRENTLY ALL THE DEPENDENCY LIBRARIES ARE ALMOST COMPLETE BUT THE CORE LIBRARY STILL

Tecnick.com LTD 1.3k Dec 30, 2022
Pdf and graphic files generator library written in php

Information Examples Sample documents are in the "examples" directory. "index.php" file is the web interface to browse examples, "cli.php" is a consol

Piotr Śliwa 335 Nov 26, 2022
PdfParser, a standalone PHP library, provides various tools to extract data from a PDF file.

PdfParser Pdf Parser, a standalone PHP library, provides various tools to extract data from a PDF file. Website : https://www.pdfparser.org Test the A

Sebastien MALOT 1.9k Jan 2, 2023
Convert html to an image, pdf or string

Convert a webpage to an image or pdf using headless Chrome The package can convert a webpage to an image or pdf. The conversion is done behind the sce

Spatie 4.1k Jan 1, 2023
A PHP tool that helps you write eBooks in markdown and convert to PDF.

Artwork by Eric L. Barnes and Caneco from Laravel News ❤️ . This PHP tool helps you write eBooks in markdown. Run ibis build and an eBook will be gene

Mohamed Said 1.6k Jan 2, 2023
Laravel Snappy PDF

Snappy PDF/Image Wrapper for Laravel 5 and Lumen 5.1 This package is a ServiceProvider for Snappy: https://github.com/KnpLabs/snappy. Wkhtmltopdf Inst

Barry vd. Heuvel 2.3k Jan 2, 2023
Sign PDF files with valid x509 certificate

Sign PDF files with valid x509 certificate Require this package in your composer.json and update composer. This will download the package and the depe

Lucas Nepomuceno 175 Jan 2, 2023
Generate simple PDF invoices with PHP

InvoiScript Generate simple PDF invoices with PHP. Installation Run: composer require mzur/invoiscript Usage Example use Mzur\InvoiScript\Invoice; re

Martin Zurowietz 16 Aug 24, 2022
Convert a pdf to an image

Convert a pdf to an image This package provides an easy to work with class to convert PDF's to images. Spatie is a webdesign agency in Antwerp, Belgiu

Spatie 1.1k Dec 29, 2022
PHP library allowing PDF generation or snapshot from an URL or an HTML page. Wrapper for Kozea/WeasyPrint

PhpWeasyPrint PhpWeasyPrint is a PHP library allowing PDF generation from an URL or an HTML page. It's a wrapper for WeasyPrint, a smart solution help

Pontedilana 23 Oct 28, 2022
Generate pdf file with printable labels

printable_labels_pdf Generate pdf file with printable labels with PHP code. CREATE A PDF FILE WITH LABELS EASELY: You can get a pdf file with labels f

Rafael Martin Soto 5 Sep 22, 2022
A Laravel package for creating PDF files using LaTeX

LaraTeX A laravel package to generate PDFs using LaTeX · Report Bug · Request Feature For better visualization you can find a small Demo and the HTML

Ismael Wismann 67 Dec 28, 2022
Generate PDF invoices for your customers in laravel

What is Invoices? Invoices is a Laravel library that generates a PDF invoice for your customers. The PDF can be either downloaded or streamed in the b

Erik C. Forés 399 Jan 2, 2023