spiegel-keyman/developer/src
Marc Durdin df212364a2 maint(resources): add repository record for all published packages
While not documented as such, it appears that the repository record is
required with trusted publishing of npm packages.

Test-bot: skip
Build-bot: skip
2025-10-29 14:35:31 +01:00
..
common maint(resources): add repository record for all published packages 2025-10-29 14:35:31 +01:00
ext maint(common): fixup jedi build.sh builder-basic.inc.sh include 2025-08-02 14:01:53 +10:00
images fix(developer): remove ancient samples 2022-11-01 17:04:38 +11:00
inst maint(resources): rename KEYMAN_VERSION_FOR_PR_FILENAME 2025-09-10 11:17:41 +02:00
kmanalyze maint(common): consolidate builder scripts 2025-08-02 08:11:24 +10:00
kmc maint(resources): add repository record for all published packages 2025-10-29 14:35:31 +01:00
kmc-analyze maint(resources): add repository record for all published packages 2025-10-29 14:35:31 +01:00
kmc-copy maint(resources): add repository record for all published packages 2025-10-29 14:35:31 +01:00
kmc-generate maint(resources): add repository record for all published packages 2025-10-29 14:35:31 +01:00
kmc-keyboard-info maint(resources): add repository record for all published packages 2025-10-29 14:35:31 +01:00
kmc-kmn maint(resources): add repository record for all published packages 2025-10-29 14:35:31 +01:00
kmc-ldml maint(resources): add repository record for all published packages 2025-10-29 14:35:31 +01:00
kmc-model maint(resources): add repository record for all published packages 2025-10-29 14:35:31 +01:00
kmc-model-info maint(resources): add repository record for all published packages 2025-10-29 14:35:31 +01:00
kmc-package maint(resources): add repository record for all published packages 2025-10-29 14:35:31 +01:00
kmcmplib fix(developer): address review comments, adding comments and renaming variables 2025-09-12 17:01:21 +02:00
kmconvert fix(developer): handle failure to create destination path when generating new project 2025-08-30 06:15:11 +02:00
kmdbrowserhost maint(common): consolidate builder scripts 2025-08-02 08:11:24 +10:00
kmdecomp maint(common): consolidate builder scripts 2025-08-02 08:11:24 +10:00
samples maint(common): consolidate builder scripts 2025-08-02 08:11:24 +10:00
server maint(common): rename and move node-related script functions into node.inc.sh 2025-08-02 13:34:29 +10:00
setup change(developer): update SIL logo 2025-09-01 08:13:43 +02:00
test fix(windows): emit nunit report path correctly and update TeamCity links 2025-08-20 07:21:03 +02:00
tike fix(developer): prevent ANSI keyboards crashing debugger 2025-10-24 14:45:17 +02:00
tools maint(common): consolidate builder scripts 2025-08-02 08:11:24 +10:00
.build-builder chore(developer): start building Developer on linux,mac 2024-08-07 10:49:55 +07:00
.eslintrc.cjs chore(developer): add eslint devDependency for kmc 2023-04-25 13:44:56 +07:00
.gitignore refactor(common): merge master into branch 2024-08-01 07:07:07 +07:00
build.sh maint(resources): move NPM package publishing to GitHub Actions 2025-10-27 16:31:55 +01:00
developer.groupproj feat(developer): remove kmcomp 2023-09-09 17:47:15 +02:00
developer.sln feat(developer): remove kmcmpdll 2023-09-02 12:25:29 +04:00
history.md chore(developer): move source files to /developer/src 2022-05-18 10:34:48 +10:00
README.md feat(developer): seed kmc-copy 2024-10-22 10:28:00 +07:00

Keyman Developer

This is the current home for Keyman Developer.

Build Prerequisites

Building Keyman Developer

  1. Start 'Git Bash' (part of Git for Windows).
  2. Run developer/src/build.sh.
  3. Artifacts from a successful build will be placed in developer/bin folder.

Note: running build.sh will currently reset the packages and path settings in your Delphi environment. If you use Delphi for other projects, you should consider building Keyman under a login user dedicated to it, or in a VM.

Type build.sh to see build targets and actions. Common build actions are:

  • build.sh build : builds Keyman Developer

  • build.sh clean : remove temporary files and build artifacts

  • build.sh publish : makes a release of all Keyman Developer projects

  • build.sh install : install some or all components to Program Files (requires elevated command prompt).

Building without Delphi

It is possible to build all components that do not require Delphi. Currently a few components are Delphi-based (TIKE, setup, a few others), but you may be able to get away without building them. In this situation, we recommend copying the relevant Delphi-built components into developer/bin folders from a compatible installed version of Keyman Developer for testing and debugging purposes.

Folders

common

Units shared among Keyman Developer projects, Delphi

ext

3rd party code and components, mostly Delphi

inst - keymandeveloper.msi

Building and signing of the installation archive keymandeveloper.msi.

inst/node

Contains a minimal distribution of node.js intended just for running kmc. If more dependencies are required, then the developer will be expected to install node.js themselves; this gets users going without requiring a large installer or a full node.js install.

kmanalyze - kmanalyze.exe

A keyboard source analysis and automated regression test tool. Testing for logical errors of a keyboard.

kmconvert - kmconvert.exe & kmconvert.x64.exe

KMConvert converts keyboard layouts between different formats. KMConvert will generate a full Keyman template project from the imported layout or data, in a new folder named with the ID of the keyboard. It will not overwrite an existing folder. Also used to generate new projects from templates.

kmdecomp - kmdecomp.exe

Unsupported utility decompiles a Keyman .kmx keyboard. It will produce a .kmn source file and optionally a .ico or .bmp image. see kmdecomp/kmdecomp.md for details.

kmdbrowserhost - kmdbrowserhost.exe

Hosts Chromium components for Keyman Developer; similar to kmbrowserhost.exe in Keyman for Windows.

kmc

node-based next generation compiler, hosts kmc, (and legacy kmlmc, kmlmp)

kmc-analyze - Analysis tools

File analysis tools for Keyman files.

kmc-copy - Project copying and renaming tools

Tools to copy and rename Keyman keyboard files and projects

kmc-generate - Generation tools

Project generation tools for Keyman.

kmc-keyboard-info - Keyboard Info Compiler

Builds .keyboard_info files for use on the Keyman Cloud keyboard repository at https://github.com/keymanapp/keyboards. Command line access through kmc.

kmc-kmn - Keyboard Compiler

Builds .kmx files from .kmn. Command line access through kmc.

kmc-ldml - LDML Keyboard Compiler

Next Generation keyboard compiler - LDML keyboards. Command line access through kmc.

kmc-model - Lexical Model Compiler

The Lexical Model Compiler, runs on nodeJS on all supported desktop platforms. Command line access through kmc.

kmc-model-info - Model Info Compiler

Builds .model_info files for use on the Keyman Cloud lexical model repository at https://github.com/keymanapp/lexical-models. Command line access through kmc.

kmc-package - Package Compiler

Compiles .kps packages into .kmp files. Works with both lexical model packages and keyboard packages. Command line access through kmc.

samples

Contains sample keyboards and sample developer projects. See readme.txt for details.

server

Keyman Developer Server. Node-based, cross platform host app for Keyman Developer. Used currently for web-based test and deployment. In future, will be the foundation for a web-based Keyman Developer project.

setup - setup.exe

Installation program for Keyman Developer for Windows. Bundles with keymandeveloper.msi to generate single deployable installer executable.

tike - "Tavultesoft Integrated Keyboard Editor"

This is the designer side of the Developer. Used for designing, developing, testing and packing keyboards for distribution.

tools

Various build-time tools for Keyman Developer.