1
0
mirror of https://github.com/jdiaz97/pdfx.git synced 2025-10-06 05:37:02 +02:00

tiny change

This commit is contained in:
José Díaz
2025-06-29 23:24:16 +02:00
parent 24c47191cd
commit ad334c1538
3 changed files with 4 additions and 28 deletions

23
Cargo.lock generated
View File

@@ -898,7 +898,6 @@ dependencies = [
"reqwest", "reqwest",
"serde_json", "serde_json",
"tokio", "tokio",
"winapi",
] ]
[[package]] [[package]]
@@ -1579,28 +1578,6 @@ version = "0.1.10"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a751b3277700db47d3e574514de2eced5e54dc8a5436a3bf7a0b248b2cee16f3" checksum = "a751b3277700db47d3e574514de2eced5e54dc8a5436a3bf7a0b248b2cee16f3"
[[package]]
name = "winapi"
version = "0.3.9"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "5c839a674fcd7a98952e593242ea400abe93992746761e38641405d28b00f419"
dependencies = [
"winapi-i686-pc-windows-gnu",
"winapi-x86_64-pc-windows-gnu",
]
[[package]]
name = "winapi-i686-pc-windows-gnu"
version = "0.4.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6"
[[package]]
name = "winapi-x86_64-pc-windows-gnu"
version = "0.4.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f"
[[package]] [[package]]
name = "windows-sys" name = "windows-sys"
version = "0.48.0" version = "0.48.0"

View File

@@ -10,4 +10,3 @@ reqwest = { version = "0.11", features = ["json"] }
tokio = { version = "1.0", features = ["full"] } tokio = { version = "1.0", features = ["full"] }
pdf-extract = "0.7" pdf-extract = "0.7"
clap = "4.5.39" clap = "4.5.39"
winapi = { version = "0.3", features = ["winuser", "wincon"] }

View File

@@ -8,7 +8,7 @@ AI-powered CLI tool to extract information from PDFs using a custom prompt.
## Usage ## Usage
First You need this environment variable
``` ```
GROQ_API_KEY=your_api_key GROQ_API_KEY=your_api_key
@@ -17,13 +17,13 @@ GROQ_API_KEY=your_api_key
And then And then
``` ```
pdfy <pdf-file> "<your prompt>" pdfx <pdf-file> "<your prompt>"
``` ```
Example: Example:
``` ```
pdfy example.pdf "Make a summary of this paper, also get me all contact information." pdfx example.pdf "Make a summary of this paper, also get me all contact information."
``` ```
## How to compile ## How to compile