takitsuba / highlight

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

highlight

Highlight specific strings of text in a PDF.

Prerequisites

In order to use highlight, please make sure you have the rye tool installed on your machine.

Installation

Follow these steps to get started with Highlight.

  1. Clone this repository:
git clone <this repository>
  1. Change into the highlight directory:
cd highlight
  1. Sync using rye:
rye sync
  1. Make a copy of the color_phrases.json file:
cp color_phrases.json.sample color_phrases.json
  1. Customize your color and phrases:

You can customize the colors and phrases according to your preference. Please refer to the scripts/color_list.pdf for color options.

Running Highlight

To start using highlight, run the following command:

rye run python src/highlight/main.py <pdf_path>

Replace <pdf_path> with the path to your PDF file.

About


Languages

Language:Python 100.0%