Help

Everything Launcher does and how to use it, from your first tile to connecting your own scripts and AI assistants.

Getting started

Signing in and out

You sign in to Launcher with a login and a password. There is no sign-up: an administrator invites each person.

How to

  1. Select Sign in on the home page.
  2. Enter your login and your password, and select Sign in.
  3. You come back to where you were, signed in. To sign out, open the menu under your photo in the top right and choose Sign out.

Good to know

  • After several wrong passwords in a row, sign-in waits a few minutes before it lets you try again.
  • Forgot your password, or used to sign in with Google? Ask an administrator for a password link: it lets you choose a new password.
  • Signing out here signs this browser out of Launcher only; your other HomeLab apps stay signed in.
  • Your login and password are your HomeLab account's: the same in the phone app, the desktop app, the extension, and the HomeLab's other apps.
Open Sign in

Accepting an invite

An administrator sends you a link, or shows you its QR code. It opens Launcher's invite page, where you create your account.

How to

  1. Open the link, or scan the QR code with your phone's camera.
  2. Choose a login, unless the administrator already chose one for you: Latin letters, digits, and underscores, not starting with a digit. You can't change it later.
  3. Choose a password and type it again, then select Create account and sign in. You're signed in.

Good to know

  • A link works once, and only until the date it shows. An administrator can also take it back before then. Ask for a new one if it has stopped working.
  • A password link works the same way for an account you already have: it sets a new password, and you keep your data.
  • Keep the link to yourself: whoever opens it first gets the account.

The tour

The first time you open Launcher in a browser, a short tour shows what each part does, with sample content. Its last step brings you to this page.

Good to know

  • Close it at any time with ✕ or Escape, or with Skip on its first step. It doesn't come back on its own in that browser.
  • Take it again with the Take the tour button at the top of this page.

Using Launcher

Home: your dashboard

Home is your dashboard: the applications you use as tiles, and a Start tab with the weather, exchange rates and the news.

What you can do

  • Profiles of tiles, one for each part of your life or work, and tiles every profile shows.
  • Each tile is an application: its main address, and its admin console, API, MCP server or browser extension as chips on it.
  • Tags title the sections, colour the tiles and filter them; so do the kinds: web, API, MCP, Android app and extension.
  • It works before you sign in: this browser keeps its own copy. Once you sign in, that copy and your account stay in step, so the same dashboard follows you into every browser, the phone and the extension.

Good to know

  • A change made in another browser shows up when you come back to this one.
  • When your account can't take a change (the server is down, say), a note says so and the next change or visit tries again. Nothing is lost: this browser has it.
  • “Go home” takes you there from anywhere. See Voice commands below.
Open Home

Tiles, profiles and tags

Add and edit tiles, keep them in profiles, and sort them with tags.

How to

  1. Select Tiles at the top of Home.
  2. Add a tile with the first cell of the grid, or change one with the pencil on it. The editor's tabs hold its address, its other ways in (Links, API, MCP), and the Android app or browser extension it hands out.
  3. Pick the profile in the sidebar. Tick others to show them beside it, or All profiles.
  4. Drag a tile to move it, in the grid, with no search or filter on.
  5. The profile menu, beside the profile picker: make a new profile, import profiles from a file, export the profiles shown (tick several in the picker to export them together), or delete the one you are on.
  6. Settings, Dashboard tab: edit the whole dashboard as a form or as JSON, and the tags across every tile.

Good to know

  • An imported file adds its profiles beside yours; it never replaces one. An export holds the profiles and the tags their tiles use, never the whole dashboard.
  • The editor's AI prompt describes the format, so an AI chat can write tiles for you to paste in.
  • Grid or list, and A–Z, are next to the search box. This browser remembers them.

The Start tab

Start opens Home: the time, the search box, and widgets for the weather, exchange rates and the news, over a wallpaper.

Good to know

  • The widgets' data comes through this server once you're signed in: the weather from Open-Meteo, the rates from the National Bank of Poland, the headlines from the feeds you pick.
  • The weather shows now, the next hours, and today with the week ahead: each day with its date, its low and its high.
  • Choose what Start shows in Settings → Dashboard, under Start page: the weather's place (find a city by name, or Use my location to take it from the browser, which asks you first) and °C or °F, the currencies and the one the rates are in, and up to four news topics. Switch a widget off to take it off Start; Back to the default undoes it all. It is kept with your dashboard, on every device.
  • Typing on Start carries the search on to the tiles.

Clipboard

Texts and files you keep to paste again in another browser or on the phone.

How to

  1. Select the clipboard button next to the search box on Tiles.
  2. Type or paste a text and select Add, or attach a file. You can also paste an image or a file anywhere in the panel.
  3. Copy an item back, download a file, or delete what you no longer need.
  4. To share a file with everyone signed in on this server, select its lock on Own: it turns into a globe, and the file is public. Select it again to make it private.
  5. Shared lists every public file on the server, yours too: copy or download them. Only their owner can change or delete them.
  6. On the phone, the Clipboard tab holds the same items: paste a text from the phone's clipboard, attach a file or a photo, or paste a copied image; copy a text back, save or open a file from the share sheet, and switch a file to Public.

Good to know

  • Up to 200 items. A text holds up to 100 000 characters; files are limited by this server (500 MB unless it is set otherwise).
  • Only your own sign-in reaches it: not an API key, an application, or an AI assistant.
  • Texts are never public; only files can be shared.

Android apps and extensions

The HomeLab's Android apps and browser extensions download from their tiles, or from the Apps tab.

Good to know

  • Apps, between Start and Tiles on Home and on the extension's new tab, is this server's shared application directory. Everyone sees the same published applications, including a new account with no dashboard. Changing profiles or personal tiles does not change this list. Each application opens its website; Details shows its other entry points and available downloads. A loading error offers Retry.
  • You get the apps and extensions an administrator gave you, or opened to everyone; you don't see the others, and a newly published one waits until an administrator gives it out. When one is given to you or taken back, it shows in your Activity.
  • An app or extension tile shows the newest version. Selecting it opens its info: the version, its release number, what's new and the versions before it. From there, download it (signed in), open it on the web, or delete the tile from the dashboard.
  • Launcher's phone app installs and updates the Android apps itself; tap an app for its info, or to delete it from the phone. An app taken back from you stays on the phone, but Launcher no longer offers or updates it.
  • The HomeLab's agent publishes the builds (`pnpm catalog:push`). Each is checked byte for byte before anyone can download it. Each release gets the next number, and notes on what changed, from git.

Voice commands

Tell Launcher what to do, out loud or in writing: open a page or a tile, show a profile, change the look, or sign out.

How to

  1. Select the microphone in the header. Launcher starts listening.
  2. Say one command, such as “Open settings” or “Switch to dark mode”. When you stop speaking, Launcher does it and says what it did.
  3. Or type the command in the box and press Enter. Select an example under the box to start from it.
  4. Signing out asks you first.

Good to know

  • Launcher knows these without AI: “Go home”, “Open …” or “Go to …” followed by Home, Activity, Account, Settings, or Help, “Switch to dark mode” (light, or system), “Use the Signal design” (or Soft), “Make it blue” (any of the five accents), “Mark all notifications read”, “Sign out”, “Open …” with a tile's name (“Open Grafana”), and “Show the … profile”.
  • With AI set up on this server, other wording works too.
  • Your browser asks for microphone access the first time. A browser without built-in speech recognition can't listen: type the command there.
  • Browsers listen only on a secure (https) address, or when Launcher runs on your own computer. Elsewhere, type the command instead.
  • Commands are in English, one action at a time, even when Launcher is in another language. The panel listens in English and answers in Launcher's language.
  • “Use the Signal design” (or Soft) also turns off Typewriter, Modern, 1904, or Cyberpunk 2226 if one is on.

Activity

Everything you've done, newest first and grouped by day.

How to

  1. Open Activity from the sidebar.
  2. Choose All, Business, or Technical to filter the list.
  3. Select the key under an entry to go to it, while it still exists.

Good to know

  • Business is what you keep in Launcher. Technical is signing in and out, appearance and photo changes, API keys, commands understood with AI, and anything an administrator did to your account.
  • What you do counts wherever you do it: the mobile and desktop apps, your scripts, and AI assistants too.
Open Activity

Notifications

The bell in the header shows what Launcher tells you. The number on it is how many you haven't read.

How to

  1. Select the bell to see your latest notifications, newest first.
  2. Select one to mark it read and open what it is about.
  3. Select Mark all read to clear the number.
  4. Select Load more at the bottom of the list for older ones.

Good to know

  • While Launcher is open, a new notification appears at once, with a short message at the edge of the window. Nothing pops up outside the browser, or when no Launcher tab is open.
  • Notifications are only about your own account. The mobile and desktop apps and the extension don't show them; the web app shows the ones they cause.
  • Marking notifications read doesn't appear in your Activity.
  • You hear of a new build of an app or extension that is on your dashboard and given to you, within ten minutes of its publishing; of an application changing your dashboard (once an hour) or an administrator replacing it; and of an application being linked to your dashboard, or unlinked.

Your account

Account and photo

Your profile, your profile photo, your API keys, and how to connect your own scripts, AI assistants, and services.

How to

  1. Open Account from the menu under your photo.
  2. Select Change photo, or the camera on your picture, and choose an image.
  3. Select Remove to go back to the picture from your sign-in provider.

Good to know

  • Launcher crops the image to a square and shrinks it before uploading, so a PNG, JPEG, WebP, or GIF of any size works.
  • A photo uploaded here replaces your sign-in provider's picture in every Launcher app.
  • Your name, email, password, and connected accounts belong to the sign-in service, not to this page.
  • Below your profile are API keys, then API, AI assistants (MCP), and Events (NATS): the first request to try, the command that connects an assistant, and the events other services can react to, with this site's address filled in. See Scripts and AI assistants below.
Open Account

Appearance, size, and language

Choose how Launcher looks and reads: a theme, an accent color, light, dark, or system mode, the interface size, and the language — for all your apps at once, or for Launcher alone.

How to

  1. Open Settings from the menu under your photo; these are on its Appearance tab.
  2. At the top, choose Global to change your global settings, which every HomeLab app built on the Starter template follows, or This app only to give Launcher its own here.
  3. Pick a theme: Soft or Signal, or one of the looks Typewriter, Modern, 1904, and Cyberpunk 2226. Each card previews itself.
  4. Pick a mode (Light, Dark, or System) and one of five accents.
  5. Under Interface size, select Smaller or Larger to make text, buttons, and spacing smaller or larger, from 60% to 150%. Reset to 100% puts it back.
  6. Under Language, choose System, English, or Русский.
  7. Select Reset appearance to put the theme, mode, and accent back.

Good to know

  • Changes apply at once. Global settings are saved to your account: your other apps built on the Starter template follow them — in this browser when you next open their tab, and in the mobile app, the desktop app, and the extension within half a minute of coming back to them — and a new browser picks them up when you sign in there.
  • This app only keeps Launcher's settings in this browser; the first time, they start from what you see. Your other apps keep your global settings, and switching back to Global shows them here again.
  • Older HomeLab apps know only Soft and Signal: under a look they show the design system underneath, and they still follow the mode and the accent.
  • Modern keeps its red, 1904 its ink, and Cyberpunk 2226 its neon, whatever the accent. Typewriter takes the accent, like Soft and Signal.
  • Smaller and Larger are also in the menu under your photo, so you can change the size from any page.
  • System follows your browser's language when it is English or Russian, and English otherwise. Messages from the server, the API reference, the component gallery, and voice commands stay in English.
Open Settings

Devices

Every place you're signed in to Starter: browsers, the phone and desktop apps, the browser extension, and AI assistants.

How to

  1. Open Devices from the menu under your photo.
  2. Find a device by its name, kind, and when it was last seen. This device is marked.
  3. Select Rename to give a device a name you'll recognize.
  4. Select Sign out to sign a device out from here.
  5. Select Control on a browser or the desktop app while it's open (Online) to move it from here: open a page or a note, step to the next or previous note, scroll, or go back.

Good to know

  • A browser is signed out at its next request; the phone and desktop apps and the extension show their sign-in screen. Signing in on one again brings it back as a new device.
  • An AI assistant you sign out stays out until you select Allow again.
  • Select Forget to take a device you signed out off the list.
  • Scripts and assistants can see the list too: GET /api/devices, or the MCP tool list_devices. Renaming, signing out (POST /api/devices/sign-out) and forgetting a device need you signed in, not an API key.
  • Signing a browser out here doesn't end its sign-in at Logto: for a browser you've lost, change your password too.
  • An open browser or desktop app listens for commands on GET /api/devices/stream; POST /api/devices/command?id= sends one, and the MCP tool control_device does the same. The device says who moved it.
Open Devices

Servers

Launcher runs on more than one HomeLab server, such as warsaw and minsk, each with its own accounts and data. Your list of servers is kept in your account, and the web app, the mobile app, and the extension switch between them.

How to

  1. Open Settings from the menu under your photo, then Servers. The one you're on is marked This server; the menu under your photo shows it too.
  2. To add one, type a Name and its Address, then select Add server. An IP such as 192.168.1.50 is enough: it becomes Launcher's address on that server.
  3. Select the pencil to rename a server or change its address, and the bin to remove it from your list.
  4. Select Switch to open another server and sign in there. Launcher then asks whether to add the servers you brought that aren't in your list there yet.

Good to know

  • Each server keeps its own copy of your list, in your account there. Switching merges your list into it: nothing is removed, and the names it already has stay.
  • Switching moves nothing else: each server keeps its own data.
  • This server is always in the list, and only its name can change.
  • A list holds up to 20 servers.
  • In the mobile app the list is in Settings, under Servers; in the extension, in its popup. There, switching signs you in on the other server. They can sign in only on a server set up for them.
Open Settings

Other apps

Mobile app

Launcher on your phone: the one app you install by hand, which installs and updates the HomeLab's other Android apps.

What you can do

  • Start: the time, a search, and the weather, rates and news, as on the web.
  • Apps: the app tiles of your profile, with Install, Update, or Open; Update all; the number of updates on the tab. Launcher updates itself the same way.
  • Links: the profile's other tiles and their links, by section, with search and tags; a tap opens your browser.
  • Clipboard: your texts and files and the server's shared files, as on the web: paste in, attach a file or photo, copy back, save or open a file, make a file public.
  • Account: which dashboard profile the phone shows (or all of them), and whether Android lets Launcher install apps.
  • Your account and profile photo.
  • Settings (Account, then the gear): Global or This app only, the six themes, mode, accent, interface size, and language. The app speaks English and Russian, or follows your phone's language.
  • Servers: in Settings, your server list, and switching to another server, which signs you in there.

Desktop app

A HomeLab browser for Linux: sign in once, and open every HomeLab application inside it, already signed in.

What you can do

  • Apps: your dashboard's applications (the tiles tagged apps), each in a tab of its own with back, forward and reload. An application's admin console opens the same way.
  • Links: every other tile, by section; it opens in your browser.
  • Account: who is signed in, the server, and which profile Apps and Links show.
  • Settings: Global or This app only, the six themes, mode, accent, interface size, and language (English or Russian).
  • Signing out signs you out of every application opened in the app.

Good to know

  • Sign in with your login and password, on the HomeLab network.
  • An application that has its own sign-in form asks once, in its tab.

Browser extension

Your dashboard on every new tab, in Chrome, Edge, Brave or Firefox, and a toolbar button that files pages.

What you can do

  • The new tab is the dashboard, Start, Apps and the tiles, the same as the web's home page. It works before you sign in, from this browser's copy; signed in, it stays in step with your account.
  • A search that matches no tile goes to your browser's own search engine. A tile switches to the tab already showing it.
  • Settings is a page of its own, opened from the gear in the toolbar popup or the browser's Options for the extension: the appearance and the language, the dashboard's config and tags, your recent history (the browser asks the first time) and whether a new tab starts in the search box or the address bar, the search engines and AI chats, your account, and API keys. The new tab keeps only the profile menu, as on the web.
  • The toolbar button saves the page you are on into the profile you are on, tagged Saved. Unsave undoes it; the profile picker moves it.
  • Sessions: save the tabs you have open, start a new session with a clean window, switch back, rename or forget one, export the tabs as CSV, or make a session's tabs into tiles.

Good to know

  • The popup also has your account and your server list: add or remove a server, or switch to one, which signs you in there. The browser asks once for access to a server you add.
  • Install it from its tile: download the zip, then load its chrome or firefox folder as the INSTALL.txt inside says.

Scripts and AI assistants

API keys

A key lets your own scripts and AI assistants use Launcher. It acts as you.

How to

  1. Open Account, then API keys.
  2. Name the key after where it will live, and choose when it expires: 30 days, 90 days, 1 year, or never.
  3. Copy the key when it appears. It starts with lp_ and is shown only once.

Good to know

  • You can have up to 10 keys. The list shows when each was last used and when it expires.
  • Keys are created and revoked on the web only.

The API

Every Launcher app uses one JSON API, and your key opens it to your scripts. Everything acts on your own data only.

The API lives at https://<this site>/api. Send your key as a Bearer token. Requests and answers are JSON, and an error is { "error": "…" }. Lists come a page at a time: pass the answer's nextCursor back as ?cursor=.

export LAUNCHPAD_KEY=lp_…

# Who you are
curl -H "Authorization: Bearer $LAUNCHPAD_KEY" https://<this site>/api/auth/session

# What you did, newest first
curl -H "Authorization: Bearer $LAUNCHPAD_KEY" https://<this site>/api/activity

Every endpoint, with what it takes and answers: the API reference

WhatEndpoints
Server applicationsGET /api/applications (the shared public directory)
DashboardGET, PUT /api/dashboard (the revision in ETag, If-Match) · POST /api/dashboard/sync (merge a browser's copy)
ProfilesGET, POST /api/profiles · PATCH, DELETE /api/profiles/$id
TilesGET /api/tiles (?profile, tag, access, q) · POST /api/tiles/$profile · GET, PATCH, DELETE /api/tiles/$profile/$id
TagsGET, PATCH /api/tags
ClipboardGET /api/clipboard · POST /api/clipboard/text · POST /api/clipboard/files → PUT the bytes (to the bucket, or GET, PUT /api/clipboard/$id/content on this server) → POST /api/clipboard/$id/complete · GET /api/clipboard/$id/url · PATCH, DELETE /api/clipboard/$id · GET /api/clipboard/shared (signed-in sessions only, not API keys)
Android appsGET /api/apps · GET /api/apps/$package · GET /api/apps/$package/apk (?release) · POST /api/apps/releases → PUT the APK → POST /api/apps/releases/$id/complete · DELETE /api/apps/releases/$id (publishing needs publish:apps)
Browser extensionsGET /api/extensions · GET /api/extensions/$id · GET /api/extensions/$id/zip · POST /api/extensions/releases → PUT the zip → POST /api/extensions/releases/$id/complete · DELETE /api/extensions/releases/$id
LogosGET /api/icons · GET /api/icons/$file (both public) · PUT, DELETE /api/icons/$file (the file is the body)
Start pageGET, PUT /api/start · GET /api/start/weather (?latitude, longitude, units) · GET /api/start/rates (?base, codes) · POST /api/start/news ({ feeds }) · GET /api/start/places (?name, language)
Who you areGET /api/auth/session
InvitesPOST /api/invites/inspect ({ token } → what the link is for) · POST /api/invites/accept ({ token, username?, password }, the invite page) · POST /api/invites/admit ({ userId }, automation with a Logto Management API token)
Profile photoPOST (the image bytes), DELETE /api/account/avatar
ServersGET, PUT /api/account/servers · POST /api/account/servers/sync (merge a list from another server)
ActivityGET /api/activity (?category=business or technical)
NotificationsGET /api/notifications · PATCH /api/notifications?id= · POST /api/notifications/read-all · GET /api/notifications/stream (server-sent events)
CommandsPOST /api/commands ({ text } → the action it asks for, which you then call; it changes nothing)
API referenceGET /api/docs/openapi (OpenAPI 3.1) · GET /api/docs/mcp (MCP tools) · GET /api/docs/asyncapi (AsyncAPI 3.0), no key needed
AI assistantsPOST /api/mcp (Streamable HTTP)

400 means bad input; 401 a missing, expired, or revoked key; 404 something that doesn't exist or isn't yours; 503 a feature this server hasn't set up (storage or AI).

Good to know

  • The API reference lists every endpoint with what it takes and answers, and lets you try them in the browser. It has tabs for the MCP tools and the events too, and each one's document for your own tools: OpenAPI, MCP, and AsyncAPI. It's built from Launcher's code, so it always matches this server.
Open API reference

AI assistants (MCP)

Connect an AI assistant, such as Claude Code, Cursor, or VS Code, and it can do what you can: see your account, change your profile photo, and read your activity and notifications. Appearance stays in the apps.

Launcher is an MCP server at https://<this site>/api/mcp (Streamable HTTP). Connect with an API key.

Claude Code

claude mcp add --transport http launchpad https://<this site>/api/mcp \
  --header "Authorization: Bearer lp_…"

Claude Code and other Node-based assistants don't read the system's certificates. When this server's certificate comes from a private CA, as the homelab's does, start them with NODE_EXTRA_CA_CERTS set to that CA's file.

Other assistants (Cursor, VS Code, …)

Give them the URL and an Authorization header. The field names differ a little between apps; most look like this:

{
  "mcpServers": {
    "launchpad": {
      "url": "https://<this site>/api/mcp",
      "headers": { "Authorization": "Bearer lp_…" }
    }
  }
}

Every tool, with its parameters: the MCP reference

ToolsNames
Server applicationslist_applications
Dashboardget_config
Profileslist_profiles, add_profile, update_profile, remove_profile
Tilessearch_tiles, add_tile, add_tiles, update_tile, remove_tile
Tagslist_tags, update_tags
Logoslist_icons
Deviceslist_devices, control_device
Android appslist_apps, list_app_releases, create_app_release, complete_app_release, remove_app_release
Browser extensionslist_extensions, create_extension_release, complete_extension_release, remove_extension_release
Start pageget_start_page, set_start_page
Accountget_account, set_profile_photo, remove_profile_photo
Serverslist_servers, set_servers, merge_servers
Activitylist_activity
Notificationslist_notifications, mark_notification_read, mark_all_notifications_read

Assistants that sign in with OAuth can connect without a key, using your own sign-in; they need this server's MCP client ID from its administrator.

Events (NATS)

Launcher announces everything people do, such as a sign-in or a new API key, on the homelab's NATS message queue. Every app built from this template shares that queue, so other apps and services there can react to it.

Every app on the homelab's message queue publishes under its own name. Launcher's events go to the NATS JetStream stream EVENTS_LAUNCHPAD on the subject events.launchpad.<category>.<type>, as JSON. Business events are changes to people's dashboards, technical events are everything else, so events.launchpad.business.> takes Launcher's dashboard changes, and events.*.business.> every app's.

{
  "id": "<event id>",
  "app": "launchpad",
  "category": "technical",
  "type": "api_key.created",
  "occurredAt": "2026-10-09T08:30:00.000Z",
  "data": { "userId": "<user id>", "apiKeyId": "<key id>" }
}

Events carry ids, never content: read the details through the API. The stream keeps them for 7 days. Delivery is at least once and not always in order, so make handling an event twice harmless (its id is unique) and read current state.

Connecting takes a login on the message queue from the person who runs this server. Every app shares one account there, which is how apps integrate. An API key doesn't open it, and anything connected sees every account's events.

Every event's envelope, field by field: the events reference (AsyncAPI)

What Launcher publishes

  • events.launchpad.business.dashboard.changed

    Someone's dashboard changed: a save, a sync, or a profile, tile or tag edit · userId, dashboardId, revision, change, clientId, adminId

  • events.launchpad.technical.dashboard.member_added

    An administrator let an application act on someone's dashboard · userId, adminId, subject, dashboardId

  • events.launchpad.business.clipboard.item_added

    Someone kept a text or a file on their clipboard (never its content) · userId, itemId, kind

  • events.launchpad.business.clipboard.item_removed

    Someone removed an item from their clipboard · userId, itemId, kind

  • events.launchpad.business.clipboard.item_shared

    Someone made a clipboard file public to everyone on the server · userId, itemId, kind

  • events.launchpad.business.clipboard.item_unshared

    Someone made a public clipboard file private · userId, itemId, kind

  • events.launchpad.technical.dashboard.member_removed

    An administrator stopped an application acting on someone's dashboard · userId, adminId, subject, dashboardId

  • events.launchpad.technical.user.signed_in

    Someone signed in to the web or admin app · userId, client

  • events.launchpad.technical.user.signed_out

    Someone signed out of the web or admin app · userId, client

  • events.launchpad.technical.appearance.updated

    Someone changed the appearance · userId, client

  • events.launchpad.technical.servers.updated

    Someone changed their server list · userId

  • events.launchpad.technical.avatar.updated

    Someone set a profile photo · userId

  • events.launchpad.technical.avatar.removed

    Someone removed their profile photo · userId

  • events.launchpad.technical.api_key.created

    An API key was created · userId, apiKeyId

  • events.launchpad.technical.api_key.deleted

    An API key was revoked · userId, apiKeyId

  • events.launchpad.technical.device.renamed

    A device was renamed · userId, deviceId

  • events.launchpad.technical.device.signed_out

    A device was signed out from another one · userId, deviceId

  • events.launchpad.technical.ai.command_interpreted

    A spoken or typed command was understood with AI (built-in phrases aren't announced) · userId

  • events.launchpad.technical.user.suspended

    An administrator suspended an account · userId, adminId

  • events.launchpad.technical.user.restored

    An administrator restored an account · userId, adminId

  • events.launchpad.technical.user.data_deleted

    An administrator deleted an account's data · userId, adminId

  • events.launchpad.technical.catalog.access_granted

    An administrator gave someone an Android app or a browser extension of the catalog · userId, adminId, kind, package

  • events.launchpad.technical.catalog.access_revoked

    An administrator took an Android app or a browser extension of the catalog back from someone · userId, adminId, kind, package

  • events.launchpad.technical.catalog.access_blocked

    An administrator blocked someone from an app of the catalog, or from every app of it · userId, adminId, kind, package

  • events.launchpad.technical.catalog.access_unblocked

    An administrator lifted a block on an app of the catalog, or on every app of it · userId, adminId, kind, package

  • events.launchpad.technical.invite.created

    An administrator issued an invite to Launcher, or a password link for an account · userId, inviteId, kind, adminId

  • events.launchpad.technical.invite.revoked

    An administrator revoked an invite or a password link before it was used · userId, inviteId, kind, adminId

  • events.launchpad.technical.invite.accepted

    Someone joined Launcher with an invite, or set a new password with a password link · userId, inviteId, kind, adminId

What Launcher consumes

Launcher's worker reacts to its own events, one durable consumer per processor:

  • dashboard-change-notices ← events.launchpad.business.dashboard.changed

    Tells the person when an application changed their dashboard (once an hour per application) or an administrator replaced it

  • dashboard-link-notices ← events.launchpad.technical.dashboard.member_added

    Tells the person an application can now change their dashboard

  • dashboard-unlink-notices ← events.launchpad.technical.dashboard.member_removed

    Tells the person an application can no longer change their dashboard

A consumer to start from

A Node script to copy into your service or another app. It reads any app's events (EVENTS_APP), creates a durable consumer, retries a failed event, and stops cleanly; put your logic in handle().

#!/usr/bin/env node
/**
 * A starter consumer for the events of any app built from the Starter
 * template: the smallest service, or the first half of an integration between
 * two apps, that reacts to them. Copy this file into your own service, install
 * its two packages, and put your logic in handle().
 *
 *   npm install @nats-io/transport-node @nats-io/jetstream
 *   NATS_URL=nats://<broker>:4222 NATS_USER=<user> NATS_PASSWORD=<password> \
 *     node events-consumer.mjs
 *
 * In this repo: pnpm events:consume (NATS_* from apps/api/.env).
 *
 * Every app publishes on the homelab's shared NATS account under its own
 * name, events.<app>.<category>.<type>, into its own stream, EVENTS_<APP>.
 *
 *   EVENTS_APP       whose events to read; default launchpad. Its stream is
 *                    EVENTS_<APP>: upper case, with - as _
 *   EVENTS_FILTER    the subjects to take; default events.<app>.> (all of
 *                    them), events.<app>.business.> for business events
 *                    only, or one type such as
 *                    events.launchpad.technical.user.signed_in
 *   EVENTS_CONSUMER  the durable consumer's name; default events-consumer.
 *                    Every app reading a stream shares its consumer names,
 *                    so name it after your app and its job
 *                    (homepage-key-auditor). It remembers its place, so a
 *                    restart resumes where it stopped. A new name starts at
 *                    the oldest event the stream holds, up to 7 days back.
 *                    Remove one you no longer need with:
 *                    nats consumer rm EVENTS_<APP> <name>
 *
 * Delivery is at least once and not always in order: handling one event
 * twice must be harmless (its id is unique). Events carry ids, never content:
 * read what you need through the publishing app's API, never its database.
 */

import {
    AckPolicy,
    DeliverPolicy,
    JetStreamApiCodes,
    JetStreamApiError,
    jetstream,
    jetstreamManager
} from "@nats-io/jetstream"
import { connect, nanos } from "@nats-io/transport-node"

const APP = process.env.EVENTS_APP || "launchpad"
const STREAM = `EVENTS_${APP.toUpperCase().replaceAll("-", "_")}`
const FILTER = process.env.EVENTS_FILTER || `events.${APP}.>`
const CONSUMER = process.env.EVENTS_CONSUMER || "events-consumer"
const MAX_DELIVER = 5
const RETRY_DELAY_MS = 10_000

/**
 * Your logic. Throw to have the event delivered again 10 s later, up to 5
 * deliveries in all.
 */
async function handle(event) {
    console.log(`${event.occurredAt} ${event.type}`, JSON.stringify(event.data))
}

/** The event in a message, or null when it isn't one of APP's. */
function readEvent(message) {
    try {
        const event = JSON.parse(message.string())
        return event?.app === APP && typeof event.type === "string"
            ? event
            : null
    } catch {
        return null
    }
}

function isApiError(error, code) {
    return error instanceof JetStreamApiError && error.code === code
}

if (!process.env.NATS_URL) {
    console.error(
        "Set NATS_URL, and NATS_USER and NATS_PASSWORD when the broker asks for a login"
    )
    process.exit(1)
}

// Once connected, it reconnects forever, so a broker restart needs no restart
// here.
const nc = await connect({
    servers: process.env.NATS_URL,
    user: process.env.NATS_USER || undefined,
    pass: process.env.NATS_PASSWORD || undefined,
    name: CONSUMER,
    maxReconnectAttempts: -1
}).catch((error) => {
    console.error(
        `Can't reach NATS at ${process.env.NATS_URL}: ${error.message}`
    )
    process.exit(1)
})

// Create the durable consumer, or point an existing one at FILTER; it keeps
// its place either way.
const jsm = await jetstreamManager(nc)
const settings = {
    filter_subject: FILTER,
    ack_wait: nanos(60_000),
    max_deliver: MAX_DELIVER
}
try {
    await jsm.consumers.info(STREAM, CONSUMER)
    await jsm.consumers.update(STREAM, CONSUMER, settings)
} catch (error) {
    if (isApiError(error, JetStreamApiCodes.StreamNotFound)) {
        console.error(
            `No ${STREAM} stream: ${APP} hasn't published to this broker yet, or this login is for another account`
        )
        await nc.close()
        process.exit(1)
    }
    if (!isApiError(error, JetStreamApiCodes.ConsumerNotFound)) throw error
    await jsm.consumers.add(STREAM, {
        durable_name: CONSUMER,
        ack_policy: AckPolicy.Explicit,
        deliver_policy: DeliverPolicy.All,
        ...settings
    })
}

const consumer = await jetstream(nc).consumers.get(STREAM, CONSUMER)
const messages = await consumer.consume()
for (const signal of ["SIGINT", "SIGTERM"]) {
    process.once(signal, () => messages.close())
}
console.log(`[${CONSUMER}] consuming ${FILTER}; Ctrl+C stops`)

for await (const message of messages) {
    const event = readEvent(message)
    if (!event) {
        console.error(
            `skipped a message on ${message.subject}: not a ${APP} event`
        )
        message.term(`not a ${APP} event`)
        continue
    }

    try {
        await handle(event)
        message.ack()
    } catch (error) {
        const attempt = message.info.deliveryCount
        console.error(
            `${event.id}: attempt ${attempt}/${MAX_DELIVER} failed`,
            error
        )
        if (attempt >= MAX_DELIVER) message.term(`failed ${attempt} times`)
        else message.nak(RETRY_DELAY_MS)
    }
}

await nc.drain()

Keeping keys safe

A key is as powerful as you are on your own data.

Good to know

  • Anyone who has a key can do anything you can on your own data.
  • Keep it in a password manager or your assistant's secret settings, never in shared code.
  • If a key leaks, revoke it on the Account page. It stops working at once.
  • A key can't create or revoke keys, and never reaches the admin app.
  • If your account is suspended, your keys stop working too.

Privacy and limits

Who can see your data

What you keep in Launcher is private from every other account. Administrators can see your account.

Good to know

  • People with the Admin role use a separate admin app. They see every account, but they don't change what you keep, with one exception: they can replace your whole dashboard with a file, and can let an application use it.
  • An administrator can suspend your account. You're locked out of every app, and your keys stop working, until they restore it.
  • An administrator can also delete your data and photo. Your account stays suspended afterwards.
  • An administrator decides which Android apps and browser extensions you get, and can block you from one or all of them; you can still sign in.
  • An administrator can remove you from the system: your data and your sign-in are deleted, for every HomeLab app.
  • Only an administrator can invite someone to Launcher, or give you a link that sets a new password.
  • Anything an administrator does to your account shows up in your Activity.
  • Other apps and services on the homelab's shared message queue see what every account does and when, by id. Events never carry what you keep.

Limits and unavailable features

What this server does and doesn't do.

Good to know

  • Voice commands in your own words work only when the server has an AI provider. Without one, the voice commands Launcher knows by heart still work.
  • Profile photos need file storage. Without it, changing the photo fails with a message.
  • Password reset by email isn't available. Ask the person who runs this server.
  • Launcher has no sharing between accounts, and no notifications outside the web app.