DatumHuePlatform v0.0.24datumhue.com
Contents

Manifest reference

A package's package.kdl manifest names it, versions it and says what it needs. It is written in KDL: each key is a node, its name followed by its values, and requires holds its entries in a block.

kdl
name "@alice/ball-pit"
title "Ball Pit"
version "0.1.0"
api_version "*"
kind "app"
author "Alice"
description "Balls that bounce off the walls."
icon "assets/icon.png"
license "MIT-0"
tags "physics" "toy"
capabilities "screenshot"

What a package is, and how its name makes it yours, is in Packages and identity. The licenses a package can declare are in Package licenses, and what each permission allows is in Permissions and capabilities.

Manifest keys

Every manifest has name, version, api_version and kind; every other key may be left out. A misspelled key is an error.

KeyDescription
nameThe package's identity, @scope/name. The scope is the person or team that owns the package. Each part is 1 to 128 lowercase letters, digits, _ and -, starting with a letter or a digit, and _ reads as -: @alice/ball_pit and @alice/ball-pit are one package. Publishing checks the scope against your sign-in. For example, name "@alice/ball-pit".
versionThe package's version, a SemVer version such as 1.4.0. For example, version "0.1.0".
api_versionThe versions of the DatumHue Lua API the package works with, as a SemVer range such as ^0.3; * takes any. DatumHue loads the package only when its own API version is in the range. datumhue pkg new writes the range from the API version you have up to its next breaking change. For example, api_version "^0.3".
kindWhat the package is: an app is a program people run, a library holds modules other packages load with require, and an asset pack holds files and no code. Takes app, library or asset_pack. For example, kind "app".
titleThe name people see in place of name: one line of 1 to 40 characters with no control characters. Invisible formatting characters, such as zero-width spaces, count as control characters, and a title of only spaces and invisible characters counts as empty. Left out, the title is made from name: the scope dropped, _ and - read as spaces and each word capitalized, so @alice/ball-pit reads Ball Pit. For example, title "Ball Pit".
descriptionA short description, shown with the package wherever it is listed. For example, description "Balls that bounce off the walls.".
authorThe person or team that made the package, shown with it. For example, author "Alice".
iconThe path of the package's icon, an image under assets/. For example, icon "assets/icon.png".
readmeThe path of the package's README, a Markdown file under assets/. For example, readme "assets/README.md".
screenshotsThe paths of screenshots of the package, images under assets/, in the order they show. For example, screenshots "assets/shot-1.png" "assets/shot-2.png".
tagsKeywords people find the package by. For example, tags "physics" "toy".
content_typeWhat an asset pack holds, such as theme, book, dataset, template, font_pack, shader_pack or media; listings filter by it. An app that is mostly content, such as an interactive book, may set it too. It is 1 to 64 lowercase letters, digits, _ and -. Only app and asset_pack packages take it. For example, content_type "book".
licenseThe license the package is offered under, as an SPDX id. Publishing a free package needs one that lets DatumHue pass the package on as it is, which LicenseRef-Proprietary does not, and CC0-1.0 does only for an asset pack. A paid package may leave it out, and is then offered under its creator's own terms. Takes 0BSD, MIT-0, CC0-1.0, LicenseRef-DatumHue-Freeware or LicenseRef-Proprietary. For example, license "MIT-0".
monetizationWhether the package is sold. A buyer pays once for every version of it. The price is set when you list the package for sale, not here, and a paid package without a price cannot be bought. A paid app must be sealed. Left out, the package is free. Takes free or paid. For example, monetization "paid".
sealedPacking compiles the app's Lua, and other apps cannot read its files: one that loads the package sees its manifest, but its Package:dir is nil. The app itself still reads its own files. Sealing is not encryption: compiled code can still be taken apart. A library or asset pack always ships as source. Only app packages take it. For example, sealed #true.
exportsThe modules other packages may require from this one, as dotted names under lib/, such as shapes.circle for lib/shapes/circle.lua. Left out, they may require every module. The package's init.lua is always reachable, and its own modules always reach each other. For example, exports "shapes" "shapes.circle".
requiresThe packages this one uses, one package node each, by @scope/name; workspace=#true takes it from the workspace this package belongs to. A published dependency takes a version range instead; namespace= names the namespace it is published in when that is not yours, and publishing writes a workspace dependency's range from its version at the time. For example, requires { package "@alice/geometry" workspace=#true }.
capabilitiesThe permissions the app needs to run. Before init.lua runs, DatumHue asks the app's parent for each one, and the app does not start if one is refused. An app asks for a permission it can do without while it runs, with datumhue.app.request_permission. Takes identity, screenshot, network, commerce, packages or devices. Only app packages take it. For example, capabilities "screenshot".
serviceRuns the app with no UI: its datumhue table has none of the namespaces that draw or read input, such as datumhue.ui, datumhue.draw and datumhue.scene, and it runs while it has a callback registered. It works with other apps through datumhue.messaging, and datumhue.app.is_service reports the flag. Only app packages take it. For example, service #true.

Reference used on this page: Package:dir datumhue.app.request_permission datumhue.ui datumhue.draw datumhue.scene datumhue.messaging datumhue.app.is_service

datumhue.com

(c) 2026 Shuusei AB. Quote excerpts of this manual, with attribution to DatumHue, in your own documentation, tutorials, course materials, reviews, and other writing or video. Republishing it in whole or in substantial part needs written permission: support@datumhue.com.

Victor Mono is licensed under the SIL Open Font License 1.1
Copyright (c) 2024, Rune Bjørnerås (https://github.com/rubjo)

This Font Software is licensed under the SIL Open Font License, Version 1.1.
This license is copied below, and is also available with a FAQ at:
http://scripts.sil.org/OFL


-----------------------------------------------------------
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
-----------------------------------------------------------

PREAMBLE
The goals of the Open Font License (OFL) are to stimulate worldwide
development of collaborative font projects, to support the font creation
efforts of academic and linguistic communities, and to provide a free and
open framework in which fonts may be shared and improved in partnership
with others.

The OFL allows the licensed fonts to be used, studied, modified and
redistributed freely as long as they are not sold by themselves. The
fonts, including any derivative works, can be bundled, embedded,
redistributed and/or sold with any software provided that any reserved
names are not used by derivative works. The fonts and derivatives,
however, cannot be released under any other type of license. The
requirement for fonts to remain under this license does not apply
to any document created using the fonts or their derivatives.

DEFINITIONS
"Font Software" refers to the set of files released by the Copyright
Holder(s) under this license and clearly marked as such. This may
include source files, build scripts and documentation.

"Reserved Font Name" refers to any names specified as such after the
copyright statement(s).

"Original Version" refers to the collection of Font Software components as
distributed by the Copyright Holder(s).

"Modified Version" refers to any derivative made by adding to, deleting,
or substituting -- in part or in whole -- any of the components of the
Original Version, by changing formats or by porting the Font Software to a
new environment.

"Author" refers to any designer, engineer, programmer, technical
writer or other person who contributed to the Font Software.

PERMISSION & CONDITIONS
Permission is hereby granted, free of charge, to any person obtaining
a copy of the Font Software, to use, study, copy, merge, embed, modify,
redistribute, and sell modified and unmodified copies of the Font
Software, subject to the following conditions:

1) Neither the Font Software nor any of its individual components,
in Original or Modified Versions, may be sold by itself.

2) Original or Modified Versions of the Font Software may be bundled,
redistributed and/or sold with any software, provided that each copy
contains the above copyright notice and this license. These can be
included either as stand-alone text files, human-readable headers or
in the appropriate machine-readable metadata fields within text or
binary files as long as those fields can be easily viewed by the user.

3) No Modified Version of the Font Software may use the Reserved Font
Name(s) unless explicit written permission is granted by the corresponding
Copyright Holder. This restriction only applies to the primary font name as
presented to the users.

4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
Software shall not be used to promote, endorse or advertise any
Modified Version, except to acknowledge the contribution(s) of the
Copyright Holder(s) and the Author(s) or with their explicit written
permission.

5) The Font Software, modified or unmodified, in part or in whole,
must be distributed entirely under this license, and must not be
distributed under any other license. The requirement for fonts to
remain under this license does not apply to any document created
using the Font Software.

TERMINATION
This license becomes null and void if any of the above conditions are
not met.

DISCLAIMER
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
OTHER DEALINGS IN THE FONT SOFTWARE.

Try

    ↑↓ selectEnter openTab filter

    Settings

    Theme
    Text
    Print

    Keyboard shortcuts

    / or Ctrl KSearch
    ↑ ↓ EnterPick a result
    TabNext result filter
    j kNext or previous entry
    [ ]Previous or next page
    yCopy a link to the current entry
    ?These shortcuts
    EscClose

    On this page