Skip to content
Private alpha
Documentation — The project and its files

Documentation

The project and its files

The Project tab sets the application's identity and its targets. This page also describes how a project is stored on disk, and who owns what Khnoum produces.

Application identity

SettingPurpose
Namethe displayed name of the application
Identifiera unique reversed name, such as com.example.customerbook; it is used for the package name and for the application's data folder on the user's computer. Choose it once and for all.
Version0.1.0, then 0.2.0…; it appears in the installers and allows them to be updated
Publisheryour name or your company's
Descriptiona one-sentence presentation (translatable)
Iconan SVG or a square PNG of at least 512 pixels; without an icon, Khnoum draws one with the name's initial
On startupthe window opened at launch

The Overview counts the windows, controls, entities, actions, procedures and errors. "Open folder" opens the project folder; "Generated code" opens the produced code.

Targets

TargetProduced application
DesktopWindows, Linux and macOS (tick the systems you want): native interface
MobileAndroid and iOS: native interface, windows stacked in a single column
Weba server, pages rendered on the server side, for any browser (see Web publishing)

A single project can target all three at once.

The project on disk

MyProject/
  projet.khnoum          identity, targets, languages
  donnees.khnoum         sources, entities, relations
  messages.khnoum        translated message catalog
  fenetres/*.kfen        one window per file
  etats/*.ketat          one report per file
  scripts/*.argile       Argile modules
  ressources/            images and other files
  code/                  produced code (regenerated, do not modify)

Everything is readable text, one file per element. A project can therefore be versioned with Git like any code: the history shows what changed, and two people editing two different windows do not get in each other's way. The code folder is regenerated and does not need to be versioned.

Double-clicking projet.khnoum opens the project in Khnoum.

Who owns the code

  • Your project and the produced code belong to you. You can distribute, sell and modify them, under the licence of your choice.
  • The runtime library that Khnoum copies into each application (khnoum-runtime) is under the free MIT or Apache-2.0 licence: it imposes nothing on your applications.
  • Khnoum itself, the workshop, is proprietary software (see Account and subscription).

A produced application works without Khnoum: it is an ordinary Rust application that depends on no external service.