> For the complete documentation index, see [llms.txt](https://scaleinfinite.gitbook.io/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://scaleinfinite.gitbook.io/docs/demo-deployment/document-management/stirling-pdf-deployment.md).

# Stirling PDF Deployment

### <mark style="color:blue;">What's is stirling pdf?</mark>

<mark style="color:orange;">**PDF Magic Unleashed**</mark> <mark style="color:orange;"></mark><mark style="color:orange;">– Imagine having a digital wizard at your disposal. This web-based PDF manipulation tool is like having a spellbook for PDFs. It can split, merge, convert, and even compress PDFs, turning mundane documents into magical creations.</mark>

<mark style="color:red;">**Split and Conquer**</mark> – Ever wanted to take just a piece of a lengthy PDF? This tool lets you slice and dice PDFs into multiple files, right at the pages you choose. It's like dissecting a book without the mess.

<mark style="color:red;">**The Merging Spell**</mark> <mark style="color:red;"></mark><mark style="color:red;">–</mark> On the flip side, you can merge multiple PDFs into one seamless masterpiece. It's like combining puzzle pieces to reveal a bigger picture.

<mark style="color:yellow;">**Shape-Shifting PDFs**</mark> – With the power to convert PDFs to and from images, your documents can transform into any format you desire. It's like turning a swan into a frog, and back again (without the kissing part).

<mark style="color:yellow;">**Page Reorder Wizardry**</mark> – Reorganize PDF pages as if you're rearranging furniture in a room. It's as easy as changing your mind about the sofa's position.

**Image Enchantment** – This tool is even working on a feature to add images to PDFs, making your documents visually enchanting. Think of it as sprinkling fairy dust on your reports.

<mark style="color:orange;">**Rotation Charm**</mark> – Sometimes, a PDF needs to look at things from a different angle. You can rotate PDFs in 90-degree increments, so your documents never get a stiff neck.

<mark style="color:blue;">**Slimming Elixir**</mark> <mark style="color:blue;"></mark><mark style="color:blue;">–</mark> Need to shed some digital weight? Compress your PDFs to make them more svelte. It's like a digital gym session for your files.

<mark style="color:purple;">**The Guardian of Secrets**</mark> – Add and remove passwords, set permissions, and protect your PDFs like a guardian of ancient scrolls.

<mark style="color:purple;">**The Mark of Distinction**</mark> – Add watermarks to your PDFs for that extra touch of professionalism. It's like branding your documents with a seal of approval.

<mark style="color:red;">**Master of Metadata**</mark> – Edit metadata to give your PDFs the right identity. It's like giving your document a digital passport.

<mark style="color:yellow;">**Dark Mode Sorcery**</mark> <mark style="color:yellow;"></mark><mark style="color:yellow;">–</mark> Even wizards need some rest. Activate dark mode for a more comfortable experience, like working by candlelight in a digital library.

So, what's the secret behind this digital wizardry? It's like having a magical spellbook for PDFs, with the power to split, merge, convert, and even compress them. You can reorder pages, add images, rotate, protect with passwords, and even brand them with watermarks. It's the perfect blend of magic and technology for your documents.

### <mark style="color:blue;">**How It Works**</mark>

<mark style="color:orange;">**Unveiling the PDF Manipulation Wizardry**</mark>

<mark style="color:orange;">In a world where documents reign supreme, the PDF manipulation tool emerges as a digital wizard. Picture a versatile Swiss Army knife for your PDF files, ready to perform all sorts of enchanting feats. Now, let's uncover the magic behind it:</mark>

<mark style="color:green;">**Splitting Spells**</mark> 🧙‍♂️

* You have a lengthy PDF, but you only need a specific section. This tool lets you slice the PDF at your chosen page numbers or extract each page as a separate file. It's like dividing your document into perfectly portioned chapters.

<mark style="color:yellow;">**Merging Mysteries**</mark> 📜

* On the flip side, you can merge multiple PDFs into one harmonious creation. Imagine assembling puzzle pieces to reveal a stunning picture.

<mark style="color:red;">**Converting Conjurations**</mark> 🌟

* With the power of conversion, this tool can transform your PDFs into images and vice versa. Think of it as turning your document into a digital chameleon.

<mark style="color:purple;">**Reordering Rituals**</mark> 🔄

* Like a maestro rearranging notes in a symphony, you can reorganize PDF pages effortlessly. It's akin to giving your document a new composition.

<mark style="color:blue;">**Image Incantations**</mark> 🌄

* Want to add images to your PDFs? The tool is working on that magic too. Soon, you'll sprinkle visuals into your documents like a digital Picasso.

<mark style="color:yellow;">**Rotation Enchantment**</mark> 🌀

* Sometimes, you need to look at things from a different perspective. Rotate PDFs in 90-degree increments, and your documents will never have a stiff posture.

**C**<mark style="color:purple;">**ompression Charms**</mark> 📦

* Need to reduce file sizes? Compress your PDFs, just like vacuum-packing clothes for a trip.

<mark style="color:yellow;">**Password Protection Spells**</mark> 🔐

* Protect your PDFs with passwords and set access permissions. It's like fortifying your documents with a digital moat.

<mark style="color:purple;">**Watermark Wizardry**</mark> 🌊

* Brand your documents with watermarks, leaving an indelible mark of distinction. Think of it as adding a digital signature to your masterpiece.

<mark style="color:green;">**Metadata Magic**</mark> 📄

* Edit metadata to give your PDFs the right identity. It's like providing a passport for your document's travels.

<mark style="color:red;">**Dark Mode Sorcery**</mark> 🌒

* For those late-night digital adventures, activate dark mode. It's akin to dimming the lights in a digital study.

Now you know the secrets behind this PDF manipulation tool. It combines technology and magic to make your PDFs do extraordinary things, from splitting and merging to converting and compressing. It's the digital wizard your documents have been waiting fo

### <mark style="color:blue;">Steps And Procedure</mark>

&#x20;<mark style="background-color:purple;">**This deployment utilizes the official stirling pdf Docker image. Here's a step-by-step guide to get you started:**</mark>

1. Begin by navigating to the "Create Apps" page and use the search bar to find the  [frooodle/s-pdf](https://hub.docker.com/r/frooodle/s-pdf)  application.
2. Click on the "Install" button to initiate the installation process.
3. Fill in all the required fields with the necessary information.
4. If you prefer, you can click on the "Advanced" option to access additional settings (this step is optional).
5. After making your selections, press the "Install" button to proceed.
6. Once the installation is complete, you'll be directed to the "My Apps" page, where you'll find a list of all the applications you've deployed.
7. Copy the Hostname of the Stirling PDF application without the NodePort and paste it into your preferred browser's address bar.
8. Voilà! You're now able to access the  Stirling PDF webpage and explore its content.

By following these straightforward steps, you'll have successfully deployed the Stirling PDF application and gained access to its features through a seamless and user-friendly process.

### <mark style="color:blue;">Installation</mark>

| Docker Image                                                                                                                                 |
| -------------------------------------------------------------------------------------------------------------------------------------------- |
| S[tirling PDF](https://hub.docker.com/r/frooodle/s-pdf)   <mark style="background-color:yellow;">👈(click me,for the dockerhub image)</mark> |

| Application name                                                                     |
| ------------------------------------------------------------------------------------ |
| <mark style="background-color:yellow;">Eg: stirling pdf(you can put any name)</mark> |

| Resource Allocation                                                                                                                                                     |
| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| <mark style="background-color:yellow;">0-100%(</mark><mark style="color:orange;">10 % of your allocated resources (CPU, RAM) will be used for this application.)</mark> |

<mark style="background-color:yellow;">`PROTOCOL`</mark>

<table><thead><tr><th width="417">Protocol</th><th>Protocol Value</th></tr></thead><tbody><tr><td><mark style="background-color:yellow;">Http</mark></td><td><mark style="color:orange;">8080</mark></td></tr><tr><td><mark style="background-color:yellow;">Tcp</mark></td><td>-</td></tr></tbody></table>

| Install with Default                                                                                                                                        | Advanced                                                                                                                                                               |
| ----------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| <mark style="background-color:yellow;">(select this if you want install with default settings if don't have environment value and working directory)</mark> | <mark style="background-color:yellow;">(select this if you want to go with advanced settings, where you select you own environment value and working directory)</mark> |

If you choose Advanced option:

| ENV VARIABLE                                                            |
| ----------------------------------------------------------------------- |
| <p><code>Give env variable.</code></p><p><code>Eg:key==value</code></p> |

| WORKING DIR                                                                             |
| --------------------------------------------------------------------------------------- |
| <p><code>WORKDIR for the application.</code></p><p> <code>Eg:usr/src/yourAPP</code></p> |
| <mark style="color:red;">Here use ( use the path after   " :"  )</mark>                 |

<mark style="background-color:yellow;">`Access`</mark>

| Public                                      | Private                                      |
| ------------------------------------------- | -------------------------------------------- |
| (select this if you want to make it public) | (select this if you want to make it private) |

<mark style="color:purple;">**Step-by-Step Guide to stirling pdf  Deployment**</mark>

1. <mark style="color:blue;">**Docker Image Selection**</mark>**:**
   * <mark style="color:orange;">Docker Image Name:</mark> Stirling PDF
2. <mark style="color:orange;">**Application Details**</mark>**:**
   * Application Name: Stirling PDF
   * Resource Allocation: Set the desired resource allocation from 0-100%.
3. <mark style="color:orange;">**Protocol Configuration**</mark>**:**
   * Protocol: `HTTP`
   * Port: `8080`
4. <mark style="color:orange;">**Installation Options**</mark>**:**
   * Choose between "Default" or "Advanced" installation.
5. <mark style="color:orange;">**Advanced Installation (Optional**</mark>**):**
   * If selecting "Advanced," you can customize the environment variables and working directory:
   * **Environment Variables:**

     Environment variables are dynamic values used by a containerized application for configuration. They are defined as key-value pairs, like `API_KEY=xyz`, and provide flexibility to adjust an app's behavior without changing its code.

     * Environment Variables: Define environment variables with keys and values (e.g., `key=value`).
   * **Working Directory:**

     The working directory is the starting point inside a container where an app's files are located. It affects relative file paths and operations. For example, if set to `/usr/src/yourAPP`, an app will reference files from there, like `/usr/src/yourAPP/data.txt`.

     * Working Directory: Set the working directory for the application (e.g., `usr/src/yourAPP`).
     * <mark style="color:red;">Here use ( use the path after   " :"  )</mark>
6. <mark style="color:orange;">**Access Configuration**</mark>**:**
   * Choose between "Public" or "Private" access to the deployed application.
7. <mark style="color:orange;">**Installation**</mark>**:**
   * Click the "Install" button to initiate the deployment process.

By following these steps, you can effortlessly deploy an Stirling PDF instance with your chosen configurations. This enables you to tailor the environment to match your application's requirements and specifications. Whether opting for the default installation or delving into advanced settings, our platform ensures a seamless deployment experience while providing you the flexibility to customize according to your needs.

### <mark style="color:blue;">Visual Snapshots</mark>

<div><figure><img src="/files/uMKKD5OQiH3An8WmkQCK" alt=""><figcaption></figcaption></figure> <figure><img src="/files/qzETMDo797huuJAncNZ7" alt=""><figcaption></figcaption></figure> <figure><img src="/files/zOAXzVlMLy73Hp04C8i2" alt=""><figcaption></figcaption></figure> <figure><img src="/files/5mZw3R4KchwymPB6ut50" alt=""><figcaption></figcaption></figure></div>

### <mark style="color:orange;">Youtube Tutorial</mark>&#x20;

Check out our youtube video for more clarification.

### <mark style="color:blue;">FAQ</mark>

**About** Stirling PDF  **image we used.**

This is the official Stirling PDF image.

**Can I deploy my own** Stirling PDF **image with modified configuration ?**

Yes, you can simply deploy any version or modified image to our platform by linking your docker hub account to our platform.

**Are my data persistent ?**

For the free user there is no persistence, and for the premium user you can different type of persistence.

### Join us

Stay informed and engaged with our project's latest developments and support on [Slack](https://app.slack.com/client/T04QS32JX6E/C04QKEWE146). Join us today to connect, collaborate, and keep the momentum going!&#x20;

<details>

<summary>Category</summary>

Kubernetes, cloud computing, DevOps, cloud services, hosting platform, container orchestration, cloud infrastructure, cloud deployment, cloud management, cloud technology, cloud solutions, striling pdf

</details>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://scaleinfinite.gitbook.io/docs/demo-deployment/document-management/stirling-pdf-deployment.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
