Skip to content

Commit

Permalink
json format
Browse files Browse the repository at this point in the history
  • Loading branch information
jozefbaranec committed Jan 27, 2025
1 parent 1986adf commit 6a62082
Showing 1 changed file with 51 additions and 51 deletions.
102 changes: 51 additions & 51 deletions config.json
Original file line number Diff line number Diff line change
@@ -1,56 +1,56 @@
{
"actions": [
{
"name": "Detect and Set PDF Language",
"desc": "Automatically detect a PDF's language and update the document metadata",
"version": "1.0.0",
"icon": "language",
"category": "Metadata",
"program": "docker run --platform linux/amd64 -v ${working_directory}:/data -w /data --rm pdfix/detect-language:latest --name \"${license_name}\" --key \"${license_key}\" lang-detect -i \"/data/${input_pdf}\" -o \"/data/${output_pdf}\"",
"args": [
"actions": [
{
"name": "input_pdf",
"desc": "Input PDF file",
"flags": 2,
"type": "file_path",
"ext": "pdf",
"value": ""
"name": "Detect and Set PDF Language",
"desc": "Automatically detect a PDF's language and update the document metadata",
"version": "1.0.0",
"icon": "language",
"category": "Metadata",
"program": "docker run --platform linux/amd64 -v ${working_directory}:/data -w /data --rm pdfix/detect-language:latest --name \"${license_name}\" --key \"${license_key}\" lang-detect -i \"/data/${input_pdf}\" -o \"/data/${output_pdf}\"",
"args": [
{
"name": "input_pdf",
"desc": "Input PDF file",
"flags": 2,
"type": "file_path",
"ext": "pdf",
"value": ""
},
{
"name": "output_pdf",
"desc": "Output PDF file",
"flags": 4,
"type": "file_path",
"ext": "pdf",
"value": ""
}
]
},
{
"name": "output_pdf",
"desc": "Output PDF file",
"flags": 4,
"type": "file_path",
"ext": "pdf",
"value": ""
"name": "Detect PDF Language and Save to TXT",
"desc": "Automatically detect the language of a PDF document and saves the detected language code into a TXT file",
"version": "1.0.0",
"icon": "language",
"category": "Metadata",
"program": "docker run --platform linux/amd64 -v ${working_directory}:/data -w /data --rm pdfix/detect-language:latest --name \"${license_name}\" --key \"${license_key}\" lang-detect -i \"/data/${input_pdf}\" -o \"/data/${output_txt}\"",
"args": [
{
"name": "input_pdf",
"desc": "Input PDF file",
"flags": 2,
"type": "file_path",
"ext": "pdf",
"value": ""
},
{
"name": "output_txt",
"desc": "Output text file with the result of detection",
"flags": 4,
"type": "file_path",
"ext": "txt",
"value": ""
}
]
}
]
},
{
"name": "Detect PDF Language and Save to TXT",
"desc": "Automatically detect the language of a PDF document and saves the detected language code into a TXT file",
"version": "1.0.0",
"icon": "language",
"category": "Metadata",
"program": "docker run --platform linux/amd64 -v ${working_directory}:/data -w /data --rm pdfix/detect-language:latest --name \"${license_name}\" --key \"${license_key}\" lang-detect -i \"/data/${input_pdf}\" -o \"/data/${output_txt}\"",
"args": [
{
"name": "input_pdf",
"desc": "Input PDF file",
"flags": 2,
"type": "file_path",
"ext": "pdf",
"value": ""
},
{
"name": "output_txt",
"desc": "Output text file with the result of detection",
"flags": 4,
"type": "file_path",
"ext": "txt",
"value": ""
}
]
}
]
}
]
}

0 comments on commit 6a62082

Please sign in to comment.