Every Airglow showcase is a real app whose code lives in the public SDK. The fastest way to ship something useful is to fork the showcase closest to what you want and let your coding agent retarget it.Documentation Index
Fetch the complete documentation index at: https://docs.airglow.cc/llms.txt
Use this file to discover all available pages before exploring further.
Done means a copy of an existing showcase has been retargeted to your page or workflow, and the new app appears where you wanted it.
What “customize existing” means
Instead of starting from a blank app, you start from a working one. You pick a showcase whose shape matches what you want to build — same kind of page, same kind of result — and ask your coding agent to retarget the page match, the DOM-reading logic, and the prompt while keeping the panel layout and interaction model. You will need:- Airglow installed and running (see Quick start).
- A coding agent attached to the
airglow-sdkworkspace. - A clear destination: the page you want the customized app to run on, and a short description of what you want it to do there.
Pick a starting point
Every showcase has a shape — a panel layout, an interaction model, a server function. Match the shape of your target idea, not the topic.| Showcase | Shape worth borrowing |
|---|---|
| HN Summary | Public page → list view → server picks N items + summarizes each. |
| Gmail Calendar | Private page → single record → server extracts structured fields. |
| GitHub QA | Code-shaped page → free-form question → grounded answer with sources. |
| LinkedIn Research | Profile page → notes with talking points and questions. |
| Ads Manager | Table view → review-style suggestions with evidence. |
Steps
1. Copy the showcase folder
Each showcase lives underairglow-apps/<showcase-name>/. Make a sibling copy under a new name and keep the original around for reference.
2. Write a customization brief
A good brief tells the agent what to keep and what to change. Lean on the original shape.3. Let the agent edit in place
The agent should change three things and leave the rest alone:| File | Typical change |
|---|---|
manifest.json | New matches glob for the target page; new app name. |
userscripts/main.ts | New DOM selectors for the visible story list. |
server/<name>.ts | Usually unchanged — same model, same shape. |
4. Reload and check on the new page
Restart the local server, reload the extension, and open the target page.The customized app appears on the new target page, uses the new page’s content, and matches the result shape of the original showcase.
5. Iterate on the diffs, not the whole app
Now that the app runs, the work is reading the new page correctly. Iterate on selectors and edge cases — not on the panel, the model, or the server contract.Best practices
- Match the shape, not the topic. A finance dashboard customization of Ads Manager is fine; the shape (table → reviewable suggestions) is what carries.
- Rename early. A folder still named
hn-summarybecomes confusing the moment its target page is no longer Hacker News. - Tell the agent what to leave alone. “Keep the panel and the server function” is as important as “change the DOM selectors.”
- Diff against the original. If you forget what you changed, run
git diff airglow-apps/hn-summary airglow-apps/lobsters-summaryto see exactly what’s different.
If it does not work
| Case | Fix |
|---|---|
| The customized app does not appear on the new page | Check the matches glob in the new app’s manifest.json covers the page URL. |
| The app appears but reads nothing | The userscript selectors still target the original page’s DOM. Ask the agent to update them. |
| Both the original and the customized app fire on the same page | Tighten the matches glob on one of them. |
| The agent rewrote the whole app | Roll back with git checkout airglow-apps/<your-app> and re-prompt with a stricter “keep X, change Y” brief. |
Next
- Showcases — browse the starting points.
- One-shot app — write from scratch instead of forking.
- SDK draft — the manifest, runtime contexts, and SDK API your customized app will touch.