本站总访问量 工具分享:Stirling-PDF,一个强大的PDF文件操作工具 - Jerry的小站

Jerry Gao

上帝就是真理,真理就是上帝

Stirling-PDF 介绍

Stirling-PDF是一个开源的PDF文件操作工具,支持数十种针对PDF文件的操作,如编辑,加密解密,文件转换,查看,文件签署等功能,还支持对PDF的OCR识别。用户的PDF文件不会保留,仅在任务执行期间驻留在内存中。

https://github.com/Stirling-Tools/Stirling-PDF

安装

安装方式比较简单,在本地安装有docker的情况下,运行

1
2
3
4
5
6
7
8
9
10
11
12
13
14
docker run -d \
-p 8080:8080 \
-v /location/of/trainingData:/usr/share/tessdata \
-v /location/of/extraConfigs:/configs \
-v /location/of/logs:/logs \
-e DOCKER_ENABLE_SECURITY=false \
-e INSTALL_BOOK_AND_ADVANCED_HTML_OPS=false \
--name stirling-pdf \
frooodle/s-pdf:latest


Can also add these for customisation but are not required

-v /location/of/customFiles:/customFiles

或者使用docker-compose

1
2
3
4
5
6
7
8
9
10
11
12
13
14
version: '3.3'
services:
stirling-pdf:
image: frooodle/s-pdf:latest
ports:
- '8080:8080'
volumes:
- /location/of/trainingData:/usr/share/tessdata #Required for extra OCR languages
- /location/of/extraConfigs:/configs
# - /location/of/customFiles:/customFiles/
# - /location/of/logs:/logs/
environment:
- DOCKER_ENABLE_SECURITY=false
- INSTALL_BOOK_AND_ADVANCED_HTML_OPS=false

评论