Compare commits
16 Commits
add-nginx-
...
4409454cfe
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
4409454cfe | ||
|
|
c05d939671 | ||
|
|
9e5fd50acd | ||
|
|
9029f29c5d | ||
|
|
0e1924f650 | ||
|
|
2b8e2dd6b6 | ||
|
|
ccc939cd99 | ||
|
|
75d9286195 | ||
|
|
52c56bbbc2 | ||
|
|
ede8917edb | ||
|
|
e8be7f544a | ||
|
|
a27233f8af | ||
|
|
df26e4e6df | ||
|
|
232f2ae909 | ||
|
|
108f5bb3fa | ||
|
|
d9804fe227 |
18
.github/workflows/renovate.yml
vendored
18
.github/workflows/renovate.yml
vendored
@@ -22,14 +22,24 @@ jobs:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Install node
|
||||
uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: "22"
|
||||
|
||||
- name: Install bun
|
||||
uses: oven-sh/setup-bun@v2
|
||||
|
||||
- name: Install Renovate
|
||||
run: bun install -g renovate re2
|
||||
- name: Cache Bun global packages
|
||||
uses: actions/cache@v4
|
||||
with:
|
||||
path: ~/.bun/install/global
|
||||
key: ${{ runner.os }}-bun-global-renovate-40
|
||||
restore-keys: |
|
||||
${{ runner.os }}-bun-global-
|
||||
|
||||
- name: Echo repository
|
||||
run: echo ${{ github.repository }}
|
||||
- name: Install Renovate
|
||||
run: bun install -g renovate@40
|
||||
|
||||
- name: Run renovate
|
||||
run: LOG_LEVEL=${{ github.event.inputs.log_level || 'INFO' }} renovate --token ${{ secrets.GITHUB_TOKEN }} ${{ github.repository }}
|
||||
|
||||
13
LICENSE
Normal file
13
LICENSE
Normal file
@@ -0,0 +1,13 @@
|
||||
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
|
||||
Version 2, December 2004
|
||||
|
||||
Copyright (C) 2004 Sam Hocevar <sam@hocevar.net>
|
||||
|
||||
Everyone is permitted to copy and distribute verbatim or modified
|
||||
copies of this license document, and changing it is allowed as long
|
||||
as the name is changed.
|
||||
|
||||
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
|
||||
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
|
||||
|
||||
0. You just DO WHAT THE FUCK YOU WANT TO.
|
||||
32
README.md
32
README.md
@@ -1 +1,31 @@
|
||||
# example-appstore
|
||||
# Example App Store Template
|
||||
|
||||
This repository serves as a template for creating your own custom app store for the Runtipi platform. Use this as a starting point to create and share your own collection of applications.
|
||||
|
||||
## Repository Structure
|
||||
|
||||
- **apps/**: Contains individual app directories
|
||||
|
||||
- Each app has its own folder (e.g., `whoami/`) with the following structure:
|
||||
- `config.json`: App configuration file
|
||||
- `docker-compose.json`: Docker setup for the app
|
||||
- `metadata/`: Contains app visuals and descriptions
|
||||
- `description.md`: Markdown description of the app
|
||||
- `logo.jpg`: App logo image
|
||||
|
||||
- **tests/**: Contains test files for the app store
|
||||
|
||||
- `apps.test.ts`: Test suite for validating apps
|
||||
|
||||
## Getting Started
|
||||
|
||||
This repository is intended to serve as a template for creating your own app store. Follow these steps to get started:
|
||||
|
||||
1. Click the "Use this template" button to create a new repository based on this template
|
||||
2. Customize the apps or add your own app folders in the `apps/` directory
|
||||
3. Test your app store by using it with Runtipi
|
||||
|
||||
## Documentation
|
||||
|
||||
For detailed instructions on creating your own app store, please refer to the official guide:
|
||||
[Create Your Own App Store Guide](https://runtipi.io/docs/guides/create-your-own-app-store)
|
||||
|
||||
@@ -6,7 +6,13 @@ import path from 'node:path'
|
||||
|
||||
const getApps = async () => {
|
||||
const appsDir = await fs.promises.readdir(path.join(process.cwd(), 'apps'))
|
||||
return appsDir
|
||||
|
||||
const appDirs = appsDir.filter((app) => {
|
||||
const stat = fs.statSync(path.join(process.cwd(), 'apps', app))
|
||||
return stat.isDirectory()
|
||||
})
|
||||
|
||||
return appDirs
|
||||
};
|
||||
|
||||
const getFile = async (app: string, file: string) => {
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
"utilities"
|
||||
],
|
||||
"description": "Tiny Go webserver that prints OS information and HTTP request to output.",
|
||||
"tipi_version": 1,
|
||||
"tipi_version": 2,
|
||||
"version": "v1.11.0",
|
||||
"source": "https://github.com/traefik/whoami",
|
||||
"exposable": true,
|
||||
@@ -18,7 +18,7 @@
|
||||
"amd64"
|
||||
],
|
||||
"created_at": 1745082405284,
|
||||
"updated_at": 1745082405284,
|
||||
"updated_at": 1745674974072,
|
||||
"dynamic_config": true,
|
||||
"form_fields": []
|
||||
}
|
||||
3
config.js
Normal file
3
config.js
Normal file
@@ -0,0 +1,3 @@
|
||||
export default {
|
||||
allowedCommands: ["bun ./scripts/update-config.ts", "bun install && bun run test"],
|
||||
};
|
||||
@@ -11,12 +11,15 @@
|
||||
"author": "",
|
||||
"license": "ISC",
|
||||
"devDependencies": {
|
||||
"@types/bun": "^1.2.10",
|
||||
"@types/bun": "latest",
|
||||
"@types/node": "^22.14.1"
|
||||
},
|
||||
"dependencies": {
|
||||
"@runtipi/common": "^0.8.0",
|
||||
"bun": "^1.2.10",
|
||||
"zod-validation-error": "^3.4.0"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"typescript": "^5.0.0"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,13 +1,14 @@
|
||||
{
|
||||
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
|
||||
"automerge": false,
|
||||
"extends": [
|
||||
"config:recommended"
|
||||
],
|
||||
"addLabels": [
|
||||
"renovate"
|
||||
],
|
||||
"enabledManagers": ["regex"],
|
||||
"automergeStrategy": "rebase",
|
||||
"ignoreTests": true,
|
||||
"customManagers": [
|
||||
{
|
||||
"customType": "regex",
|
||||
@@ -24,17 +25,18 @@
|
||||
{
|
||||
"matchUpdateTypes": [
|
||||
"minor",
|
||||
"major",
|
||||
"patch",
|
||||
"pin",
|
||||
"digest"
|
||||
],
|
||||
"automerge": true
|
||||
"automerge": false
|
||||
},
|
||||
{
|
||||
"matchDepTypes": [
|
||||
"devDependencies"
|
||||
],
|
||||
"automerge": true
|
||||
"automerge": false
|
||||
},
|
||||
{
|
||||
"matchPackageNames": [
|
||||
@@ -49,7 +51,8 @@
|
||||
],
|
||||
"postUpgradeTasks": {
|
||||
"commands": [
|
||||
"bun ./scripts/update-config.ts {{packageFile}} {{newVersion}}"
|
||||
"bun ./scripts/update-config.ts {{packageFile}} {{newVersion}}",
|
||||
"bun install && bun run test"
|
||||
],
|
||||
"fileFilters": [
|
||||
"**/*"
|
||||
|
||||
Reference in New Issue
Block a user