Article · 5 min read · Getting started
kubespin: Install a ready app
The Apps page is a catalogue of apps kubespin can install for you, each set up on its own HTTPS name with its passwords generated.
The Apps page is a catalogue of apps kubespin can install for you, each set up on its own HTTPS name with its passwords generated.
In kubespin
- Go to Apps. Search, pick a category, or use Runs on to show the apps that suit your boards.
- Open an app. Its page says what it is, what it needs, which of your servers can take it, and how many copies you already run.
- Choose Install.
- Give it a Name and choose a Server. Servers that can’t run the app are greyed out, with the reason. That’s all most apps ask for.
- Install, and choose Follow the deploy to watch it.
When it’s up, the passwords, keys and tokens you sign in with are shown once, with what to do first. Copy them somewhere safe.
The app then appears on Deployments, with an Open ↗ button.
Command line
The kubespin command has no install command. Call the API below with kubespin api, or from a script with an API token:
kubespin api POST /catalogue/$APP_ID/install '{"server_id": "'"$SERVER_ID"'", "name": "nextcloud"}'
API
You need an API token that can Read and change.
Find the app and the server by name:
curl -s https://kubespin.io/api/v1/catalogue \
-H "Authorization: Bearer $KUBESPIN_TOKEN" | jq -r '.shared[] | select(.name=="Nextcloud") | .id'
curl -s https://kubespin.io/api/v1/servers \
-H "Authorization: Bearer $KUBESPIN_TOKEN" | jq -r '.[] | select(.name=="pi-garage") | .id'
Install it:
curl -s -X POST https://kubespin.io/api/v1/catalogue/$APP_ID/install \
-H "Authorization: Bearer $KUBESPIN_TOKEN" \
-H "Content-Type: application/json" \
-d '{"server_id": "'"$SERVER_ID"'", "name": "nextcloud"}'
| Field | Required | What it is |
|---|---|---|
server_id |
Yes | The server to run it on. |
name |
Yes | Letters, digits and hyphens, up to 60 characters. |
values |
No | Settings the app asks for, by name, such as {"ADMIN_EMAIL": "you@example.com"}. Your own address is used for ADMIN_EMAIL if you leave it out. |
domain |
No | Your own domain, instead of a generated name. Not allowed for private apps. |
accept_warning |
Only for apps with a warning | true once you’ve read it, for example XMRig’s. |
The reply is the new deployment, with 201 Created. For apps that generate passwords, it also has generated, the values shown once, and after, what to do first. Store them now; they’re sealed after this.
Follow the deploy with GET /api/v1/deployments/{id}.
To work in a team, add the team’s account with -H "X-Kubespin-Account: $TEAM_ID". Your role in the team decides what you can do, as below.
[!permissions] Permissions Area: Catalogue
Step Needs Default roles See the catalogue and an app’s page View Admin, Developer, Operator, Viewer Install an app Manage Admin, Developer API token: Read only to look; Read and change to install.
A team’s leader can change which roles have which level, under Settings › Teams › What each role can do. See kubespin: Set up a team.
What’s in the catalogue
- AI: an AI dev space (VS Code in the browser, ready for Claude Code and other coding agents) and Local AI (Ollama with Open WebUI). See kubespin: Local AI.
- Security and infrastructure: HashiCorp Vault, OpenBao, HashiCorp Consul, Semaphore (a UI for Ansible) and Vaultwarden.
- Monitoring: Uptime Kuma and Grafana.
- Developer tools: Gitea, code-server, IT-Tools, MinIO (Silo) and fakecloud.
- Productivity: Nextcloud, n8n, Linkding, Excalidraw, Vikunja, Planka, Memos, Joplin Server, Wiki.js, Etherpad, Paperless-ngx, Stirling-PDF, Mealie, Actual Budget, Kimai and FreshRSS.
- Websites: Ghost and Umami, plus WordPress (see kubespin: Create a WordPress site).
- Home: Pi-hole, AdGuard Home and Unbound, WireGuard, Home Assistant, Frigate, Jellyfin and more, for boards and home servers. See kubespin: Apps for home.
- Crypto: XMRig, at low CPU priority. You must tick a warning about hosting providers’ terms first. See kubespin: Crypto mining with XMRig.
Private apps
An app with no real sign-in of its own, such as fakecloud, is installed private: it gets no public address, and you reach it over an SSH tunnel. Its page shows the SSH command.
Updates to catalogue apps
When kubespin’s copy of an app changes, its catalogue entry gets a new version. Apps you’ve installed don’t change by themselves.
Your own entries
Make your own adds an entry to your catalogue, from a compose file or from a Git repository you connected through GitHub. A Git entry follows its file: changes become new versions after the same checks, checked every 6 hours, or at once with Check Git now.