GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - neuro-inc/launchpad

BranchesTags
Open more actions menu

Latest commit

 

History

560 Commits
560 Commits

Folders and files

NameName
Last commit message
Last commit date
.apolo
.apolo
 
 
.codex
.codex
 
 
.github
.github
 
 
alembic
alembic
 
 
charts/launchpad
charts/launchpad
 
 
docs
docs
 
 
frontend
frontend
 
 
hooks
hooks
 
 
kc-theme/apolo/login
kc-theme/apolo/login
 
 
keycloak-theme/apolo/login
keycloak-theme/apolo/login
 
 
launchpad
launchpad
 
 
scripts
scripts
 
 
tests
tests
 
 
.dockerignore
.dockerignore
 
 
.env.example
.env.example
 
 
.gitignore
.gitignore
 
 
.pre-commit-config.yaml
.pre-commit-config.yaml
 
 
.python-version
.python-version
 
 
AGENTS.md
AGENTS.md
 
 
CLAUDE.md
CLAUDE.md
 
 
Dockerfile
Dockerfile
 
 
Dockerfile.dockerignore
Dockerfile.dockerignore
 
 
Makefile
Makefile
 
 
README.md
README.md
 
 
alembic.ini
alembic.ini
 
 
poetry.lock
poetry.lock
 
 
pyproject.toml
pyproject.toml
 
 

Repository files navigation

Launchpad

Launchpad is a FastAPI-based application service that manages application deployments and authentication through Keycloak integration. It serves as a platform for launching and managing various applications (vLLM, Postgres, embeddings, OpenWebUI) within the Apolo platform ecosystem.

See the documentation index for architecture and operations guides.

The Python backend, Next.js frontend, App processors, and Helm chart share this repository. See the frontend guide for frontend setup and validation. Root Docker builds exclude frontend/ from their build context.

Table of Contents

  • API Usage
    • Authentication
    • Managing App Templates
    • Managing App Instances
  • Development

API Usage

Authentication

Before using the API, you need to obtain an access token. Launchpad uses OAuth2 with Keycloak for authentication.

Method 1: Using the helper script

ACCESS_TOKEN=$(./scripts/get-token.sh \
    -u "[email protected]" \
    -p "your-password" \
    -l "https://your-launchpad.example.com" | grep -A1 "Access Token:" | tail -n1)

Method 2: Direct authentication with curl

LAUNCHPAD_URL="https://your-launchpad.example.com"
LAUNCHPAD_USERNAME="[email protected]"
LAUNCHPAD_PASSWORD="your-password"
SCOPE="openid profile email offline_access"

TOKEN_RESPONSE=$(curl -s -X POST "${LAUNCHPAD_URL}/auth/token" \
    -H "Content-Type: application/json" \
    -d "{\"username\":\"$LAUNCHPAD_USERNAME\",\"password\":\"$LAUNCHPAD_PASSWORD\",\"scope\":\"$SCOPE\"}")

ACCESS_TOKEN=$(echo "$TOKEN_RESPONSE" | jq -r '.access_token')
REFRESH_TOKEN=$(echo "$TOKEN_RESPONSE" | jq -r '.refresh_token')

Managing App Templates

App templates define the configuration and metadata for applications that can be installed.

List available app templates

curl -X GET "${LAUNCHPAD_URL}/api/v1/apps" \
    -H "Authorization: Bearer $ACCESS_TOKEN" \
    -H "Content-Type: application/json" | jq '.'

Import a template from Apps API

This endpoint fetches a template from the Apolo Apps API and adds it to your Launchpad's template pool.

curl -X POST "${LAUNCHPAD_URL}/api/v1/apps/templates/import" \
    -H "Authorization: Bearer $ACCESS_TOKEN" \
    -H "Content-Type: application/json" \
    -d '{
  "template_name": "vscode",
  "template_version": "v25.8.0",
  "name": "vscode-dev",
  "verbose_name": "VS Code Development Environment",
  "description_short": "Cloud-based VS Code IDE",
  "is_internal": false,
  "is_shared": false,
  "default_inputs": {
    "preset": {
      "name": "cpu-medium"
    },
    "vscode_specific": {
      "override_code_storage_mount": null
    },
    "networking": {
      "ingress_http": {
        "auth": {
          "type": "custom_auth",
          "middleware": {
            "type": "app-instance-ref",
            "instance_id": "your-instance-id",
            "path": "$.auth_middleware"
          }
        }
      }
    }
  }
}'

Parameters:

  • template_name (required): The template name from Apps API
  • template_version (required): The template version from Apps API
  • name (optional): Custom name for the template (defaults to template_name)
  • verbose_name (optional): User-friendly display name
  • description_short (optional): Short description
  • description_long (optional): Long description
  • logo (optional): URL to the template's logo
  • documentation_urls (optional): List of documentation URLs
  • external_urls (optional): List of external URLs
  • tags (optional): Tags for categorization
  • is_internal (optional, default: false): Whether template is internal (not visible to end users)
  • is_shared (optional, default: true): Whether apps from this template can be shared by multiple users
  • default_inputs (optional): Default inputs to merge with user-provided inputs when installing

Managing App Instances

Install an app from a template

Once a template is in your pool, you can install it:

curl -X POST "${LAUNCHPAD_URL}/api/v1/apps/openwebui" \
    -H "Authorization: Bearer $ACCESS_TOKEN" \
    -H "Content-Type: application/json" | jq '.'

This endpoint is idempotent - calling it multiple times will return the existing installation if it already exists.

Install a generic app with custom configuration

For one-off installations without pre-importing a template:

curl -X POST "${LAUNCHPAD_URL}/api/v1/apps/install" \
    -H "Authorization: Bearer $ACCESS_TOKEN" \
    -H "Content-Type: application/json" \
    -d '{
  "template_name": "jupyter",
  "template_version": "1.0.0",
  "inputs": {
    "displayName": "My Jupyter Lab",
    "preset": {"name": "gpu-small"}
  },
  "name": "my-jupyter-lab",
  "verbose_name": "My Jupyter Lab",
  "description_short": "Personal Jupyter Lab instance",
  "is_shared": false
}'

Import an externally installed app

If you have an app that was installed directly through the Apps API, you can link it to Launchpad:

curl -X POST "${LAUNCHPAD_URL}/api/v1/apps/import" \
    -H "Authorization: Bearer $ACCESS_TOKEN" \
    -H "Content-Type: application/json" \
    -d '{
  "app_id": "8a5e3b46-02ef-41a8-b6c2-26f2e1a78bb9",
  "name": "custom-app",
  "verbose_name": "Custom App",
  "description_short": "An externally installed app",
  "is_internal": false
}'

Parameters:

  • app_id (required): The app ID from Apps API
  • All other parameters are optional and follow the same pattern as template import

List all installed app instances (Admin only)

curl -X GET "${LAUNCHPAD_URL}/instances" \
    -H "Authorization: Bearer $ACCESS_TOKEN" \
    -H "Content-Type: application/json" | jq '.'

Development

See local development to run the full stack with Docker Compose, Python, and Next.js.

About

No description, website, or topics provided.

Resources

Readme
Activity
Custom properties

Stars

0 stars

Watchers

0 watching

Forks

0 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.