Getting started with Khnoum
Khnoum is a software engineering workshop: you design an application — its windows, its data, how it reacts to clicks, its printable documents, its translations — and Khnoum produces its code, a native Rust application for desktop, mobile and the web.
Installing Khnoum
Khnoum is installed with your system's package manager, from the Genie23 Studio repositories: winget on Windows, apt, dnf, pacman or Flatpak on Linux, Homebrew on macOS. The commands are on the Download page. Updates then arrive along with your system's own.
To run an application from the workshop, your computer needs Rust (free, from rustup.rs). Everything else (Docker, Android Studio, Xcode) is only needed to produce the installers for some systems: see Running an application.
First launch
Khnoum is used with an account (e-mail address and password): on first launch, the home screen asks you to sign in. During the private alpha, the account is created from the invitation received by e-mail (see Account and subscription). Access then stays valid for 30 days, even without Internet, and renews at each launch while connected.
Once signed in, the home screen offers three ways to start:
- Create: type the name of the new application, then click "Create" and choose its folder;
- Open a project…: choose the folder of an existing project (or its
projet.khnoumfile); - Sample project: Khnoum creates the "Customer book", a small but complete application (windows, entities, interactions, script, printable report) to discover each tab.
The Recent list keeps the last ten projects you opened.
The workshop tabs
The left-hand bar gives access to the eight tabs; each one has its own page in this documentation.
| Tab | To… |
|---|---|
| Windows | draw the application's screens |
| Data | describe the data and the databases where it lives |
| Interactions | say what happens on each click or input |
| Scripts | write procedures in Argile, when the ready-made actions are not enough |
| Reports | lay out printable documents |
| Translations | translate the application |
| Export | produce and sign the installers |
| Project | the application's identity, icon and targets |
The top bar holds:
- the project name;
- Undo, Redo and Save;
- the choice of target to launch (Desktop, Mobile, Web);
- the Generate and Run buttons;
- the workshop language selector (French, English);
- the light or dark theme button.
The bottom bar shows:
- the number of errors and warnings in the project;
- the Console, which displays the output of the build and of the running application;
- the workshop's latest message.
Keyboard shortcuts
| Shortcut | Effect |
|---|---|
| Ctrl+S | Save the project |
| Ctrl+Z / Ctrl+Y | Undo / Redo |
| F5 | Run the application |
| Del or Backspace | Delete the selected control (designer) |
| Ctrl+D | Duplicate the selected control |
| Ctrl + / Ctrl − | Zoom the canvas in / out (also Ctrl + mouse wheel) |
| Ctrl 0 | Fit the zoom: the whole window in the visible area |
| Arrows / Shift+arrows | Move the control by 1 px / by 8 px |
| Esc | Leave the placing tool, then deselect |
| Ctrl+Space | Completion in the code editor |
| Tab | Indent (code editor); accept a suggestion |
Settings
Khnoum remembers the workshop language, the theme, the recent projects and your signing certificates (without their passwords, which are kept in the system credential store: see Export). These settings belong to your computer and are never written into a project.
Saving and versioning
A project is a folder of text files, one file per window, per report and per script module. It can be versioned with Git like any code, and several people can work on it at the same time: see The project and its files.