Welcome to vibora :)

A PDF tool that lets you convert a PDF to PNG, PDF to text, plus some more awesome things. See below!



Remember that you can can also use all commands in DEBUG mode! To do so, you just need to write a -d or --debug

For example: python main.py compress -d exampleFile.pdf

You can list all available commands with: python main.py help

How to use vibora?

PDF TO PNG:

To convert a .PDF to .PNG, use: main.py pdf2png [file].pdf
Remember to provide the full path to the file, and do not forget to add the .pdf at the end ;)

PDF TO TEXT:

To convert a .PDF to .TXT, use: main.py pdf2text [file].pdf
Remember to provide the full path to the file, and do not forget to add the .pdf at the end ;)

EXTRACT IMAGES FROM PDF:

To extract images from a .PDF file, use: main.py extractimg [file].pdf
You will be prompted with the amount of images found, and if you want to proceed or not.

COMPRESS PDF:

To compress a .PDF file, use: main.py compress [file].pdf
It will try to compress your file without losing quality or removing content.

TXT TO PDF:

To convert a .TXT file to .PDF, use: main.py txt2pdf [file].txt
It will convert a .txt file into .pdf.

MERGE PDFs:

To merge .PDF files into one .PDF, use: main.py merge [file1].pdf [file2].pdf [file3].pdf
It will merge the files provided, without losing quality or cutting content. It can take as many files as you want.

MERGE ALL PDF FILES INSIDE DIRECTORY:

To merge all .PDF files inside a directory, use: main.py mergeall [directory]'
It will ignore non .PDF files and merge all .PDF files inside that folder. Files are merged by alphabetical order.

RENAME FILES:

To rename files using vibora, you can use: main.py rename [file].pdf [newname].pdf
It will change the name of the file you provided, with the name you typed after it, without affecting the file.

ROTATE PDF:

To rotate a .PDF file, you can you can use: main.py rotate [file].pdf
It will rotate you file by 90ยบ. Depending on your file, you may want to rotate it multiple times.

IMAGE TO PDF:

To convert an image to a .PDF file, you can you can use: main.py img2pdf [file].[extension]
It can convert multiple image formats into a .PDF file.

SPLIT PDF:

To split a .PDF file into separated pages, you can you can use: main.py split [file].pdf
It will split the .PDF file into separated pages. Each page from the .PDF will be a single .PDF file.

WATERMARK PDF:

To add watermark to a a .PDF file, you can you can use: main.py watermark [file].pdf [watermarkfile].pdf
It will add a watermark to the bottom left of the .PDF file. Remember that the watermark must also be a .PDF file.

ENCRYPT PDF:

To encrypt a .PDF file, you can you can use: main.py encrypt [file].pdf [password]
It will encrypt a .pdf file by adding a password to be able to read its content.

DECRYPT PDF:

To decrypt a .PDF file, you can you can use: main.py decrypt [file].pdf [password]
It will remove the password of a pdf file. Note that it doesn't crack the .pdf file, it works only if you have the password.

READ PDF FOR ME:

To make vibora read (yes, audio related) a .PDF file, you can use: main.py pdf2audio [file].pdf
It will start reading the text of a pdf file for you. You can stop it by pressing CTRL + C.

REDACT SENSITIVE INFORMATION:

To redact sensitive information in a .PDF file, you can use: main.py redact [file].pdf
It will hide sensitive information behind a black rectangle.

COMPARE FILES:

To compare files at a low level, you can use: main.py compare [file1.pdf] [file2.pdf]
It will compare these files at a low level (length, metadata, etc) to see if they match.

SEARCH FOR PDF IN THE WEB:

To search for pdf files in the web, you can use: main.py pdfsearch [INSERT ANYTHING HERE]
It will search in the internet for pdf files matching the search term you used. Note that this is the only vibora functionality until now that requires internet. And it DOES NOT interfe with any other functionality in this tool if you don't have internet to use vibora :)