Skip to content

Commit

Permalink
feat(market): added Stirling-PDF (#45)
Browse files Browse the repository at this point in the history
Co-authored-by: Max Ebert <[email protected]>
  • Loading branch information
Serph91P and Max Ebert authored Oct 13, 2023
1 parent 84bf0dd commit 7971781
Show file tree
Hide file tree
Showing 4 changed files with 83 additions and 0 deletions.
74 changes: 74 additions & 0 deletions servapps/Stirling-PDF/cosmos-compose.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,74 @@
{
"cosmos-installer": {
"form": [
{
"name": "adminOnly",
"label": "Do you want to make this service admin only?",
"initialValue": false,
"type": "checkbox"
},
{
"name": "NavbarName",
"label": "What would you like to be shown on the navbar?",
"initialValue": "Stirling PDF",
"type": "text"
},
{
"name": "HomeDescritption",
"label": "You can also edit the description if you want.",
"initialValue": "Your locally hosted one-stop-shop for all your PDF needs.",
"type": "text"
}
]
},
"minVersion": "0.9.16",
"services": {
"{ServiceName}": {
"image": "frooodle/s-pdf",
"container_name": "{ServiceName}",
"restart": "unless-stopped",
"environment": [
"APP_HOME_DESCRIPTION={Context.HomeDescritption}",
"APP_NAVBAR_NAME={Context.NavbarName}",
"APP_ROOT_PATH=/",
"ALLOW_GOOGLE_VISIBILITY=false"
],
"volumes": [
{
"source": "{ServiceName}-config",
"target": "/configs",
"type": "volume"
},
{
"source": "{ServiceName}-ocr",
"target": "/usr/share/tesseract-ocr/4.00/tessdata",
"type": "volume"
}
],
"labels": {
"cosmos-force-network-secured": "true",
"cosmos-auto-update": "true",
"cosmos-icon": "https://azukaar.github.io/cosmos-servapps-official/servapps/Stirling-PDF/icon.png"
},
"routes": [
{
"name": "{ServiceName}",
"description": "Expose {ServiceName} to the web",
"useHost": true,
"target": "http://{ServiceName}:8080",
"mode": "SERVAPP",
"Timeout": 14400000,
"ThrottlePerMinute": 12000,
"BlockCommonBots": true,
"SmartShield": {
"Enabled": true
},
"AuthEnabled": true
{if Context.adminOnly}
, "AuthAdmin": true
{/if}
}
]
}
}
}
9 changes: 9 additions & 0 deletions servapps/Stirling-PDF/description.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"name": "Stirling-PDF",
"longDescription": "<p>This is a locally hosted web application that allows you to perform various operations on PDF files, such as splitting and adding images.</p>",
"description": "This is a locally hosted web application that allows you to perform various operations on PDF files, such as splitting and adding images.",
"tags": ["document", "management", "organization", "archive", "collection", "web interface", "paper", "docker"],
"repository": "https://github.com/Frooodle/Stirling-PDF",
"image": "https://hub.docker.com/r/frooodle/s-pdf",
"supported_architectures": ["amd64", "arm64"]
}
Binary file added servapps/Stirling-PDF/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added servapps/Stirling-PDF/screenshots/1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 7971781

Please sign in to comment.