Extend Bolt

Anatomy of a Bolt App.

Real screens, numbered. Each number is a key in the app file, so you can see what to change to get the layout you want.

The tour in 76 seconds.

Install a pack, then =acme-dash, =pipeline-board, =expense-tracker, =places-list, =pulse-feed, =sky-watch and =unit-convert. No sound; captions are on.
Transcript
  1. 0.0 to 5.2 s: An app is a small pack. Bolt shows what it can do and asks you before the first run.
  2. 5.2 to 12.2 s: Type =acme-dash for tiles with meters and badges. Press Enter to drill in, then go Back.
  3. 12.2 to 18.7 s: =pipeline-board shows runs, and a before and after for every change.
  4. 18.7 to 27.6 s: =expense-tracker adds a bar chart and a detail pane for each expense.
  5. 27.6 to 33.1 s: =places-list opens a place in a map or copies it.
  6. 33.1 to 40.1 s: =pulse-feed lists the Hacker News front page, with Open post and Copy quote.
  7. 40.1 to 48.1 s: Add a topic word to narrow the list, then go Back to trending.
  8. 48.1 to 52.1 s: Every story gets its own pane.
  9. 52.1 to 61.1 s: =sky-watch puts the space station, launches and earthquakes in one list.
  10. 61.1 to 67.7 s: Add a city: =sky-watch Paris gives the weather, with Copy summary.
  11. 67.7 to 75.7 s: =unit-convert is a form. Fill Amount, From and To, press Convert, and each row has a detail pane.

Plain text transcript · Captions (WebVTT)

Which key draws what.

Numbers on each picture: 1 launcher word, 2 list rows, 3 right pane, 4 tiles, 5 action buttons, 6 form. The table for every number, with the exact lines copied from the example files and the matching row in capabilities.json, is in Anatomy of a Bolt App on GitHub.

Annotated acme-dash overview: call-outs 1 to 4 on the launcher word, the list rows, the right pane and a tile
acme-dash: overview
Annotated acme-dash drill: call-outs 1 to 5 on the input, the rows with Back first, the detail pane, a tile strip and the Open and Copy buttons
acme-dash: drill
Annotated pulse-feed: call-outs 1, 2, 3 and 5 on the launcher word, the story rows, the story pane and the Open post and Copy quote buttons
pulse-feed: story pane
Annotated unit-convert: the form on the left with call-outs 1 and 6, the result rows and detail pane on the right with call-outs 1, 2, 3 and 5
unit-convert: form, rows, detail

From template to a pack, in a terminal.

14 seconds, no sound: ./bolt-apps ship my-tool lints, checks, packs and verifies, then prints the install steps. The app in the recording is named my-tool. The waiting time is cut.

The same steps in text: the quick path. The warnings in the clip say the template's listing text still reads TODO: fill it in before you share a pack.