Open source AI-generated PDF tool that can meet all your PDF needs!

Insert image description here

A powerful locally hosted web-based PDF manipulation tool using Docker that allows you to perform various operations on PDF files, such as splitting, merging, converting, reorganizing, adding pictures, rotating, compressing, etc. This locally hosted web app started out as an app 100% made with ChatGPT and has grown to include a range of features to suit all your PDF needs.
Stirling PDF does not make any external calls for logging or tracing.
All files and PDFs either exist completely on the client, only exist in server memory during the execution of the task, or exist temporarily in a file only for the execution of the task. Any files downloaded by the user have been deleted from the server at that time.

docker installation steps

Stirling PDF provides three different versions: full version, Lite version and ultra-Lite version. Depending on the type of functionality you use, you may need a smaller image to save space. If you don't mind space optimization and just use the latest tags to
run Stirling PDF in Docker, you can use the following command:

docker run -d \
  -p 8080:8080 \
  -v /location/of/trainingData:/usr/share/tesseract-ocr/5/tessdata \
  -v /location/of/extraConfigs:/configs \
  -v /location/of/logs:/logs \
  -e DOCKER_ENABLE_SECURITY=false \
  --name stirling-pdf \
  frooodle/s-pdf:latest

This command will run a new container in the background and name it "stirling-pdf". It maps port 8080 to the host's port 8080 and mounts the specified directory to the corresponding location in the container. The environment variable DOCKER_ENABLE_SECURITY is set to false.
If you want to customize it, you can add the following command:

-v /location/of/customFiles:/customFiles \

If you prefer to use Docker Compose, you can use the following docker-compose.yml file:

version: '3.3'
services:
  stirling-pdf:
    image: frooodle/s-pdf:latest
    ports:
      - '8080:8080'
    volumes:
      - /location/of/trainingData:/usr/share/tesseract-ocr/5/tessdata #Required for extra OCR languages
      - /location/of/extraConfigs:/configs
    environment:
      - DOCKER_ENABLE_SECURITY=false

This configuration file will create a service called "stirling-pdf", use the latest frooodle/s-pdf image, and map port 8080 to the host's port 8080. It also mounts the specified directory to the corresponding location in the container and sets the environment variable DOCKER_ENABLE_SECURITY to false
. Note that Podman is compatible with Docker on the command line interface, so simply replace "docker" with "podman" will do.

Open source address: https://github.com/Stirling-Tools/Stirling-PDF

Guess you like

Origin blog.csdn.net/ws327443752/article/details/135449833
pdf