PeakOS Help
PeakUI Studio
PeakUI Studio is PeakOS's IDE for PeakUI apps. It is written in SwiftUI and run by PeakUI.
Open a project
•
Choose Open Project (⌘O) in the title bar, and choose the app's folder: peakui/tools/<app> or peakui/apps/<app>.
•
On the Start page, choose Open Folder…. Double-click folders to browse, then click Select Folder with the project's folder selected or open.
•
Choose Clone GitHub Repository… below Open Folder…. Paste the HTTPS address of a public GitHub repository and click Clone. Studio saves it in ~/PeakUI Studio and opens the project. Check or run it from the toolbar when you are ready.
•
The folder shows in the navigator on the left. Click a folder to open or close it.
•
Click a file to open it in a tab. The inspector on the right shows its path, kind and size.
•
The two sidebar buttons in the title bar show and hide the navigator and the inspector.
Read a file
•
The code view is read-only until PeakUI's editable code view lands. It shows line numbers, no wrapping, and scrolls both ways. Long lines keep their line number in place.
•
Swift files are coloured from peakui-front's own tokens: keywords, the project's types and Apple's or PeakUI's types, calls and properties, strings with interpolated code, numbers, comments, attributes and #if. Light and dark use Studio's Xcode-like colours.
•
The jump bar above the editor follows the file: the file, its type and its function, from peakui-front's declarations. Choosing one marks its line. Scrolling to that line waits on PeakUI's missing ScrollViewReader.
•
The navigator's Symbols tab lists the open file's types, functions and properties with their lines. Choosing one marks its line.
•
The navigator's Search tab finds text in every file as you type. Hits are grouped by file with their lines; choosing one opens the file and marks the line.
•
A problem in the current file puts a mark in the gutter, with its message on hover.
Run and stop
•
Run (⌘R) starts the open project with peakui-run <folder> in its own window; Stop (⌘.) ends it.
•
The Console tab shows the app's standard output and standard error live. Clear empties it. The status pill says Running, Stopped or Exited (code).
•
Starting again stops the first run before the second starts.
The String Catalog
•
Click String Catalog in the tab bar to see how much of the app is translated.
•
Languages lists each language with the share translated. The table has a row for every text: its key, its English, its Norwegian, where it is used, and a state.
•
✓ means translated. An empty state means missing. ! means the Norwegian adds or drops a placeholder.
•
The catalog reads the app's Localizable.strings and the texts in its Swift. For PeakOS itself it reads crates/peakos-i18n/locales/nb.json.
•
The catalog is read-only in this step.
The Framework Catalog
•
Click Framework Catalog in the tab bar. The left list is PeakUI's areas with their plain and weighted percentages, read from peakui/catalog/coverage.json beside the project.
•
The table lists the chosen area's names with their state (Drawn, Engine, Accepted, Missing or Outdated), selector label, and how often each app uses them.
•
The Used by menu filters to one app (Our apps, CapyTimer, Peak Browser or CodeEdit). Missing only hides every other state, and Search matches names and selectors.
•
The Icons area draws each symbol through the Lucide resolver and shows its Lucide name under it.
The inspector follows the selection
•
The inspector has four tabs under one title-bar button: File, Symbol, Preview and Peak AI. File follows the selection. Symbol, Preview and Peak AI say what is coming until those panes land.
•
In the String Catalog the File tab shows the chosen key's English, Norwegian, comment and state. In the Framework Catalog it shows the chosen name's state, selector, every app's use and the peakui2 message that use gets. Click a row to select it.
Issues
•
The Files, Symbols, Search and Issues tabs in the navigator switch.
•
Studio runs peakui2 check when a project opens, so its files' problems are in the gutter without pressing Check. The Issues tab groups the same diagnostics by file.
•
An error has a red octagon, a warning an orange triangle, and an accepted name a green check. The number on the right is the line.
•
Click a diagnostic to open its file; its line is marked in the editor and the gutter.
Source Control
•
The Source Control tab shows the branch and every changed path: M modified, A added, D deleted, R renamed and U untracked. Click a path to see its read-only diff, with added lines green and removed lines red.
•
Tick the paths to include, type a commit message and press Commit. The first commit in a project asks once; later commits do not.
•
Studio runs the project's own git; branches and history come later.
Symbols
•
Click the Symbols button in the title bar to open the Symbols window. Every symbol in peakui/catalog/symbols.json is drawn through Peak Symbols.
•
The left list groups them as All, Used by an app, Filled, Enclosed, Slashed, Numbers and Our own drawings; Search matches SF and Lucide names.
•
The inspector shows the chosen symbol, its Lucide name, its variants and uses. Copy puts Image(systemName: "…") on the clipboard.
The bottom area
•
The chevron button in the title bar shows and hides the bottom area (⌘J). Drag its top edge to make it taller or shorter. It lies under the editor only, never over the navigator or the inspector.
•
One shell opens when a project opens, as one tab with no split. The rectangle splits the area into two shells side by side; + opens another, × kills the chosen one, and the pencil renames it.
•
Console is a tab of its own. Check runs peakui2 check on the project on its own thread: the command line comes first, then its output (standard error in red), then Check succeeded or Check failed with the exit status. Stop ends the checker. The field filters the lines, and Clear and Copy do what they say.
Welcome
•
With no project open, the welcome window offers New Project (a PeakUI Studio/Untitled.peakapp with one App.swift), Open Folder, and the projects opened before.
•
Learn links to the Icon library, the Coverage overview, Guides and the PeakUI HIG. Guides and the HIG say what is coming.
Keys
•
⌘O opens a project folder.
•
⌘J shows and hides the bottom area.
PeakOS Help
PeakUI Studio
PeakUI Studio is PeakOS's IDE for PeakUI apps. It is written in SwiftUI and run by PeakUI.
Open a project
•
Choose Open Project (⌘O) in the title bar, and choose the app's folder: peakui/tools/<app> or peakui/apps/<app>.
•
On the Start page, choose Open Folder…. Double-click folders to browse, then click Select Folder with the project's folder selected or open.
•
Choose Clone GitHub Repository… below Open Folder…. Paste the HTTPS address of a public GitHub repository and click Clone. Studio saves it in ~/PeakUI Studio and opens the project. Check or run it from the toolbar when you are ready.
•
The folder shows in the navigator on the left. Click a folder to open or close it.
•
Click a file to open it in a tab. The inspector on the right shows its path, kind and size.
•
The two sidebar buttons in the title bar show and hide the navigator and the inspector.
Read a file
•
The code view is read-only until PeakUI's editable code view lands. It shows line numbers, no wrapping, and scrolls both ways. Long lines keep their line number in place.
•
Swift files are coloured from peakui-front's own tokens: keywords, the project's types and Apple's or PeakUI's types, calls and properties, strings with interpolated code, numbers, comments, attributes and #if. Light and dark use Studio's Xcode-like colours.
•
The jump bar above the editor follows the file: the file, its type and its function, from peakui-front's declarations. Choosing one marks its line. Scrolling to that line waits on PeakUI's missing ScrollViewReader.
•
The navigator's Symbols tab lists the open file's types, functions and properties with their lines. Choosing one marks its line.
•
The navigator's Search tab finds text in every file as you type. Hits are grouped by file with their lines; choosing one opens the file and marks the line.
•
A problem in the current file puts a mark in the gutter, with its message on hover.
Run and stop
•
Run (⌘R) starts the open project with peakui-run <folder> in its own window; Stop (⌘.) ends it.
•
The Console tab shows the app's standard output and standard error live. Clear empties it. The status pill says Running, Stopped or Exited (code).
•
Starting again stops the first run before the second starts.
The String Catalog
•
Click String Catalog in the tab bar to see how much of the app is translated.
•
Languages lists each language with the share translated. The table has a row for every text: its key, its English, its Norwegian, where it is used, and a state.
•
✓ means translated. An empty state means missing. ! means the Norwegian adds or drops a placeholder.
•
The catalog reads the app's Localizable.strings and the texts in its Swift. For PeakOS itself it reads crates/peakos-i18n/locales/nb.json.
•
The catalog is read-only in this step.
The Framework Catalog
•
Click Framework Catalog in the tab bar. The left list is PeakUI's areas with their plain and weighted percentages, read from peakui/catalog/coverage.json beside the project.
•
The table lists the chosen area's names with their state (Drawn, Engine, Accepted, Missing or Outdated), selector label, and how often each app uses them.
•
The Used by menu filters to one app (Our apps, CapyTimer, Peak Browser or CodeEdit). Missing only hides every other state, and Search matches names and selectors.
•
The Icons area draws each symbol through the Lucide resolver and shows its Lucide name under it.
The inspector follows the selection
•
The inspector has four tabs under one title-bar button: File, Symbol, Preview and Peak AI. File follows the selection. Symbol, Preview and Peak AI say what is coming until those panes land.
•
In the String Catalog the File tab shows the chosen key's English, Norwegian, comment and state. In the Framework Catalog it shows the chosen name's state, selector, every app's use and the peakui2 message that use gets. Click a row to select it.
Issues
•
The Files, Symbols, Search and Issues tabs in the navigator switch.
•
Studio runs peakui2 check when a project opens, so its files' problems are in the gutter without pressing Check. The Issues tab groups the same diagnostics by file.
•
An error has a red octagon, a warning an orange triangle, and an accepted name a green check. The number on the right is the line.
•
Click a diagnostic to open its file; its line is marked in the editor and the gutter.
Source Control
•
The Source Control tab shows the branch and every changed path: M modified, A added, D deleted, R renamed and U untracked. Click a path to see its read-only diff, with added lines green and removed lines red.
•
Tick the paths to include, type a commit message and press Commit. The first commit in a project asks once; later commits do not.
•
Studio runs the project's own git; branches and history come later.
Symbols
•
Click the Symbols button in the title bar to open the Symbols window. Every symbol in peakui/catalog/symbols.json is drawn through Peak Symbols.
•
The left list groups them as All, Used by an app, Filled, Enclosed, Slashed, Numbers and Our own drawings; Search matches SF and Lucide names.
•
The inspector shows the chosen symbol, its Lucide name, its variants and uses. Copy puts Image(systemName: "…") on the clipboard.
The bottom area
•
The chevron button in the title bar shows and hides the bottom area (⌘J). Drag its top edge to make it taller or shorter. It lies under the editor only, never over the navigator or the inspector.
•
One shell opens when a project opens, as one tab with no split. The rectangle splits the area into two shells side by side; + opens another, × kills the chosen one, and the pencil renames it.
•
Console is a tab of its own. Check runs peakui2 check on the project on its own thread: the command line comes first, then its output (standard error in red), then Check succeeded or Check failed with the exit status. Stop ends the checker. The field filters the lines, and Clear and Copy do what they say.
Welcome
•
With no project open, the welcome window offers New Project (a PeakUI Studio/Untitled.peakapp with one App.swift), Open Folder, and the projects opened before.
•
Learn links to the Icon library, the Coverage overview, Guides and the PeakUI HIG. Guides and the HIG say what is coming.
Keys
•
⌘O opens a project folder.
•
⌘J shows and hides the bottom area.

Peak
An operating system, its framework and its apps, made in Norway.
No cookies. Visits are counted anonymously, with nothing that follows you between sites or days.
© 2026 Vegar Lee Berentsen (Berentsen Labs)