Custom Elgato Stream Deck profiles with generated icon sets. Each profile lives in its own folder under profiles/, and contains:
- a ready-to-import
.streamDeckProfile - the icons (PNG) and their SVG sources
- the scripts that rebuild both
- an interactive mockup (
index.html): click a key to see what it sends
| Profile | Device | Keys | Mockup | Preview |
|---|---|---|---|---|
| Main (launcher) | Stream Deck XL | 13 | live · local | ![]() |
| Ghostty | Stream Deck XL | 32 | live · local | ![]() |
| Claude | Stream Deck XL | 32 | live · local | ![]() |
| Safari | Stream Deck XL | 32 | live · local | ![]() |
| Microsoft Teams | Stream Deck XL | 32 | live · local | ![]() |
| VS Code | Stream Deck XL | 32 | live · local | ![]() |
| Slack | Stream Deck XL | 32 | live · local | ![]() |
| Microsoft Outlook | Stream Deck XL | 32 | live · local | ![]() |
| Discord | Stream Deck XL | 32 | live · local | ![]() |
| Microsoft Word | Stream Deck XL | 32 | live · local | ![]() |
| Microsoft Excel | Stream Deck XL | 32 | live · local | ![]() |
| Stream Deck XL | 32 | live · local | ![]() |
|
| Microsoft PowerPoint | Stream Deck XL | 32 | live · local | ![]() |
| Finder | Stream Deck XL | 32 | live · local | ![]() |
The live mockups are private Claude artifacts, so only you can open them unless you share them. The local index.html files work offline from a clone.
Main is the home screen: one key per deck. Each key switches to that app's deck and brings the app to the front. On every app deck, the top-left key goes back to Main.
npm install
npm run backupThis writes build/streamdeck-profiles.streamDeckProfilesBackup. It holds all the profiles: Main is linked to other applications, each deck is linked to its app, and the Main keys and each deck's top-left key already point at each other. In the Stream Deck app, restore it from Preferences → Profiles → Restore from Backup.
- Restoring replaces every profile on every device, and the Stream Deck app can't undo it. The app keeps its own daily backups in
~/Library/Application Support/com.elgato.StreamDeck/BackupV3. - Why a backup, not imports. Importing a
.streamDeckProfilegives it a new profile id, so keys that point at other profiles can't be set in advance. A restore keeps the ids it's given.tools/backup.mjsderives stable ids from each profile's folder name. - The backup contains your Stream Deck's serial number, which every profile in a backup must carry.
tools/backup.mjsreads it from your installed profiles, so at least one XL profile must already be installed. That's also why the output goes to the git-ignoredbuild/folder.
Double-click the .streamDeckProfile file in a profile's folder, or run:
open -a "Elgato Stream Deck" profiles/ghostty/Ghostty.streamDeckProfileThen go to Preferences → Profiles and link the profile to its app, so it switches in automatically. A deck imported on its own has a top-left key with no target: select it and pick your Main profile. Main.streamDeckProfile's keys need their deck picked the same way.
Requirements: Node 18+, and for the Ghostty icons, the JetBrains Mono Nerd Font installed in ~/Library/Fonts.
npm install
npm run ghosttynpm run ghostty regenerates the icons (gen.mjs) and then the profile (profile.mjs). npm run main rebuilds the launcher, and npm run backup rebuilds the full backup from whatever is currently built.
After any change, run the deck's script, then npm run main if its top-left tile changed, then npm run backup, and restore the backup. Re-importing a single .streamDeckProfile instead adds a fresh copy with a new id, which breaks the keys that point at it.
AI agents: read AGENTS.md first. It's the full playbook: how the user likes to work, where to find an app's real shortcuts, the icon system, how to build and check the files, how to deploy through the backup, and the traps to avoid. CLAUDE.md loads it automatically for Claude Code. The short version:
- Mockup:
- Create
profiles/<name>/with agen.mjsthat writesicons/,svg/,keymap.jsonandsheet.png. - Each key shows its glyph and name, sized by
tools/tile.mjs. The shortcut isn't printed on the key. - The top-left key shows only the app's mark, filling the key. The launcher reuses that tile as is.
- Add an
index.htmlmockup and a README. Wait for approval.
- Create
- Build:
- Copy the closest deck's
profile.mjs, then updateKEY/SEND, the profileNameand the top-left key's id. - Add
<name>:icons,<name>:profileand<name>topackage.json, and a row to the table above.
- Copy the closest deck's
- Launcher: add the deck to
APPSinprofiles/main/gen.mjsand toDECKSintools/backup.mjs, then runnpm run main. - Deploy: run
npm run backup, check it, and restore it in the Stream Deck app. - Commit: scan the staged diff for personal paths and serials, then commit and push.
Figured out from real ProfilesV3 data and confirmed with a successful import on 7.5.1:
- Container. A
.streamDeckProfileis a zip:package.json Profiles/<UUID>.sdProfile/ manifest.json Profiles/<PAGE-UUID>/ manifest.json Images/ Resources/manifest.json package.jsonholdsAppVersion,DeviceModel,DeviceSettings,FormatVersion(1),OSType,OSVersionandRequiredPlugins.- Device models. Stream Deck XL is
20GAT9901. - Actions. Keys are addressed as
"col,row". Hotkey actions use the plugincom.elgato.streamdeck.system.hotkey, with fourHotkeysslots (unused slots:NativeCode: -1,QTKeyCode: 33554431). - Modifiers.
KeyModifiersis a bitmask: shift = 1, ctrl = 2, option = 4, cmd = 8. - Key codes.
NativeCode=VKeyCode= the macOS virtual keycode.QTKeyCodeis the Qt key value (the unshifted character). - Switch Profile (
com.elgato.streamdeck.profile.rotate):{"DeviceUUID": "", "PageIndex": 1, "ProfileUUID": "<target profile id, lowercase>"}. - Multi Action Switch (
com.elgato.streamdeck.multiactions.routine2, plugincom.elgato.streamdeck.multiactions) hasActions: [{Actions: [...]}, {Actions: [...]}], one list per state, and alternates between them on each press. Put the same steps in both lists to make every press identical. - Backups (
.streamDeckProfilesBackup) are an uncompressed zip ofResources/manifest.jsonplusProfiles/<ID>.sdProfile/folders, with nopackage.json. Each profile manifest addsAppIdentifier(an app path, or*for other applications) and the device serial inDevice.UUID. - Open Application (
com.elgato.streamdeck.system.openapp). Its settings keys areapp_name,args,bring_to_front,bundle_id,bundle_path,exec,is_bundle,long_pressandsource. These are the names Stream Deck 7.5 writes itself. If you use any other names, Stream Deck quietly replaces them with empty values, and the key does nothing.













