https://github.com/zocker1999net/zsh-images2pdf
Allows combining images to a searchable pdf using local ocr.
https://github.com/zocker1999net/zsh-images2pdf
Last synced: 8 months ago
JSON representation
Allows combining images to a searchable pdf using local ocr.
- Host: GitHub
- URL: https://github.com/zocker1999net/zsh-images2pdf
- Owner: Zocker1999NET
- License: wtfpl
- Created: 2020-03-21T11:12:21.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2020-09-27T20:38:55.000Z (over 5 years ago)
- Last Synced: 2025-10-05T12:28:42.771Z (8 months ago)
- Language: Shell
- Size: 3.91 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# images2pdf Plugin for ZSH
Allows combining images to a searchable pdf using local ocr.
You can use this command if you have a bunch of images showing pages of a paper document
you want to share with others.
The resulting pdf document will show the images page per page
but also enable the user to search through recognized text parts for faster navigation.
The usage is simple, e.g. `images2pdf eng attachment.pdf *.jpg` or `images2pdf deu Rechnung.pdf page1.png page2.png`
## Repository clones
The original repository will be stored on [GitHub](https://github.com/Zocker1999NET/zsh-images2pdf).
You can use the original reopsitory if you want to use GitHub.
Also issues and pull requests will be collected there for convenience.
This repository will be cloned to my own server.
You can use the [clone](https://git.banananet.work/zsh-plugins/images2pdf) instead of this repository
if you want to avoid use GitHub.
## Installation
### Prerequisites
- `convert` (from ImageMagick)
- [`ocrmypdf`](https://github.com/jbarlow83/OCRmyPDF)
### zsh (without plugin support)
1. Clone project
2. Add following line to your `.zshrc`:
```sh
SOURCE "path/to/repo/images2pdf.plugin.zsh"
```
### oh-my-zsh
1. Clone project into `~/.oh-my-zsh/custom/plugins/images2pdf`
2. Add `images2pdf` to your plugin list
```sh
plugins=(… images2pdf …)
```
### Antigen
1. Add following line to your `.zshrc`:
```sh
antigen bundle Zocker1999NET/zsh-images2pdf # GitHub if default repository unchanged
antigen bundle https://git.banananet.work/zsh-plugins/images2pdf # Own Server
```
or
1. Add the repository to your plugin list
```sh
antigen bundles <