Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

IndexifyPDF

A CLI tool to manipulate a PDF file's index.

Warning

This is work in progress

IndexifyPDF is a CLI tool written in Python meant to streamline the manipulation of a PDF file's index, sometimes known as bookmarks. It uses PDFtk server to extract a PDF file's index data, adds index entries specified by the user, and again uses PDFtk to write the data back to a (new) PDF file.

Note

PDFtk server must be installed!

Status

Implemented

  • Read info from PDF
  • Write info to PDF
  • Parse raw info
  • Add single entry

To implement soon

  • UI for adding a single entry
  • Clean temporary files
  • Add checks for data, raise errors, etc.
  • Make executable (?)

Planned features

  • Review index before writing to PDF
  • Fine tune index (e.g. in case of adding an entry to a page that already contains an entry - currently the new entry is inserted after existing ones)
  • Edit entries
  • Add full index from text file

Imagined features

  • Generate index based on table of contents (using OCR)
  • Generate index based on headings in the pdf (using machine learning)

About

A CLI tool to manipulate a PDF file's index

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages