Skip to main content

The source tree

DirectoryWhat
apps/normal apps: settings, alarm (Clock), calendar, chat, browser, gallery (debug builds)
session/run as the session user: shell, clockd, accounts, voice, cast
system/run as root: keyd (keyd and authd), services (hwd, usb, datamount, firstboot, flash, …), splash
libs/shared crates: core, theme, focus, device, i18n, net, wl, devtools, … (Platform APIs)
tools/tdt (debug tool) and xtask (build), each its own Cargo workspace
image/the root filesystem: packages.txt, rootfs/ (files copied over it), build scripts
devices/<id>/one device: device.toml, overlay/ (files), kernel/
assets/ringtones and other files for the image
brand/the wordmark (gen_wordmark.py)
docs/design guideline and TODO list
web/this documentation and the website

Cargo workspaces​

  • The root workspace: every device program. Cross-compiled for aarch64-unknown-linux-musl, linked dynamically against the Alpine sysroot. panic = "abort": a panic ends the program.
  • tools/tdt/: static, built for the PC (with the GUI viewer) and for the device (tdtd).
  • tools/xtask/: the build tool.

Conventions​

  • App IDs are org.taunus.*, program names taunus-*, D-Bus paths /org/taunus/*.
  • Facts about the hardware live only in the device profile. Apps and services stay the same on every device.
  • Files stay under about 300 lines; each module has one clear job.
  • UI text goes through translations; it says "the device", never a product name.