1
0
mirror of https://github.com/jdiaz97/pdfx.git synced 2026-06-19 20:06:35 +02:00
This commit is contained in:
José Díaz
2025-06-27 06:13:58 +02:00
parent 23a7d165db
commit 58a662d75f
2 changed files with 20 additions and 1 deletions
+19
View File
@@ -0,0 +1,19 @@
pdfjson
AI-powered CLI tool to extract information from PDFs using a custom prompt.
## Usage
MAke sure to: GROQ_API_KEY=your_api_key
And then
```
pdfy <pdf-file> "<your prompt>"
```
Example:
```
pdfy example.pdf "Make a summary of this paper, also get me all contact information."
```
+1 -1
View File
@@ -4,7 +4,7 @@ use std::env;
use crate::extractor::extract_contact_info;
pub async fn run_cli() -> Result<(), Box<dyn std::error::Error>> {
let matches = Command::new("pdfy")
let matches = Command::new("pdfjson")
.version("0.1.0")
.author("José Díaz <jose@boquila.org>")
.about("Extract information from PDF files using AI")