Repository navigation
System Apps
English | Português (BR)
CelerOS system apps are JavaScript (ES5, Duktape) and live in the
LittleFS partition, mounted at /local — the firmware carries only the
core. That cut ~330 KB from the CYD image and became the house standard:
the 18 apps in data/apps/ are all JS (App Store, Barebone, Celer Agent,
Chat IA, HTTP Demo, Help, Installer, Matilha, Nucleo, Qwen, Regras,
Settings, Snake, Terminal, Touch Test, Watchface, Web Server, WiFi) —
Matilha (API 27) is the pack panel: mesh
toggle, members with roles, direct messages and the roaming music
handoff; WiFi (celeros.wifi, API 52) is the WiFi setup app the firmware
opens through System.openWifiSetup(). Boards can add their own on top
(overlay): Dog Face
on the dog; Alarmes, Atividade, Celular, Clima, Musica and Timer on the
watch; Controle BT (the resident BLE gamepad/keyboard driver, API 61)
on the SmartDisplay and the watch.
data/
├── apps/<Name>/ # app.json + main.js (+ icon.png); folder name = displayed name
└── icons/<id>.png # GENERATED by tools/make_icons.py (RGBA quantized to RGB565)
hub_apps/ — 31 apps today (2048, 2D Runner, Anemoia (the
NES emulator), Atari 2600, Bench Fisica, Bench Nativo, Breakout,
Calculator, Campo Minado, Celer Remote, Clock, Coral, Cronometro,
Cube 3D, Gamepad, Gravador, Hardware Lab, LED Controller, Mural,
Physics Drop, Pong Duplo, Previsao, Quiz IA, Sentinela, Sonar, System Info,
Tic Tac Toe, USB Devices, USB Printer, USB Storage and Batata Quente) —
follows the same
layout, but is published to the hub instead of shipping in the factory
image. Celer Remote (API 30) is the robotics flagship: it scans
for nearby CelerOS over Celer Link (BLE), connects and drives a robot with a
D-pad while showing its telemetry — a full CelerLink + System.gpio.servo
reference.
Required fields:
| Field | Rule |
|---|---|
name |
display name |
packageName |
unique installation key (celeros.<x> for system apps; the first publisher on the hub owns it) |
version |
semver; the hub rejects republishing the same version without --force
|
api |
minimum CELEROS_API_LEVEL — declare the lowest one you actually use |
Optional: author, description, type (System|App|Game), category,
system, order (launcher order), icon (id in data/icons/), topbar,
changelog. Never fill size/md5 by hand — the hub computes them at
publish time.
Full packaging guide in App development guide.
-
ES5 only: no arrow functions,
let/const,class, template literals orPromise. Usevar+function+ concatenation. - The app loop is a blocking
whilewithSystem.delay(); exit viaSystem.exitApp(). Since API 18/19 some asynchronous calls take a callback (AI.chat,Mic.start) — it fires once, inside the app's own cycle (present()). - Work in virtual 240x320 coordinates and pick colors from
System.theme(). Never hardcode the screen size. - Persistent state in
/local/..., never inside another app's folder. - System app UI strings are in Portuguese (the project's home language; the fonts cover Latin-1).
| Route | Command |
|---|---|
| Factory image |
tools/flash_data.sh <board> <port> (rewrites the whole LittleFS partition) |
| A single app, over serial | python3 tools/celerctl.py apps install "data/apps/Settings" |
| From the App Store | hub https://os.celer.tec.br (Wi-Fi) or Installer via SD |
Firmware OTA does not update apps: OTA (Settings → System Updates,
web /update or celerctl ota push) swaps only the firmware image and
never touches LittleFS. Apps update through the routes above.
Esta wiki e gerada automaticamente pelo CI a partir de wiki/ no repositorio. Edicoes feitas pela web serao sobrescritas.
Get started
Under the hood
Tools
Robotics
Wearables
Barebone
JavaScript apps
Contributing
Português (BR)