No description
Find a file
2025-09-30 07:03:58 +00:00
buffyboard f0rmz: new subproject to create a form/wizard setup thing 2025-09-23 08:48:35 +00:00
f0rmz build: do not allow to compile f0rmz and unl0kr without graphical backends 2025-09-28 02:26:22 +03:00
iskey iskey: new utility 2024-04-14 20:16:30 +01:00
lvgl@75557e5fe2 Update LVGL to current master 2025-09-30 07:03:58 +00:00
man buffyboard: track virtual terminals with /sys/class/tty/tty0/active 2025-07-03 14:19:10 +00:00
shared build: do not allow to compile f0rmz and unl0kr without graphical backends 2025-09-28 02:26:22 +03:00
squeek2lvgl misc: fix warnings 2025-04-17 14:08:19 +03:00
test Return exit code from run_script 2025-03-24 19:53:08 +01:00
unl0kr build: do not allow to compile f0rmz and unl0kr without graphical backends 2025-09-28 02:26:22 +03:00
.gitignore Set up static cursor image generation in preparation for LVGL master 2024-01-12 09:40:57 +01:00
.gitlab-ci.yml Stop CI on first error 2025-03-24 19:42:26 +01:00
.gitmodules update the URL of LVGL repository 2025-03-24 12:30:44 +03:00
archive.sh misc: update README 2025-04-16 13:19:01 +03:00
CHANGELOG.md Update LVGL to current master 2025-09-30 07:03:58 +00:00
COPYING Initial import 2021-09-02 20:08:45 +02:00
find-lvgl-sources.sh Update LVGL to current master 2025-09-30 07:03:58 +00:00
meson.build Prepare for 3.4.0 2025-09-24 08:13:01 +02:00
meson_options.txt unl0kr: add a systemd password agent 2024-11-05 11:33:53 +03:00
README.md f0rmz: new subproject to create a form/wizard setup thing 2025-09-23 08:48:35 +00:00
release.sh misc: update README 2025-04-16 13:19:01 +03:00

BuffyBox

BuffyBox is a suite of graphical applications for the terminal.

Components

Standalone apps

buffyboard Touch-enabled on-screen keyboard for virtual terminals

unl0kr Disk unlocking UI for the initramfs

[f0rmz] A form/setup wizard for the initramfs

Utilities

squeek2lvgl Converter for transforming Squeekboard layouts into LVGL-compatible C code

iskey - A utility for checking for key presses in bash scripts.

shared Internal code that is shared by some or all applications in the suite but not meant to be used externally

Contributing

You can join our development chat at #buffybox:matrix.org.

Building & running

Some dependencies are included as git submodules in this repository. You can clone the repository and initialise the submodules with

$ git clone https://gitlab.postmarketos.org/postmarketOS/buffybox.git
$ cd buffybox
$ git submodule init
$ git submodule update

When pulling changes from the remote later, either use git pull --recurse-submodules or manually run git submodule update as needed after pulling.

Once you have the sources, you can build the app and run it in a VT. Unless your user account has special privileges, sudo will be needed to access input device files.

$ meson setup _build
$ meson compile -C _build
$ sudo chvt 2
$ sudo ./_build/unl0kr/unl0kr # For Unl0kr
$ sudo ./_build/buffyboard/buffyboard # For Buffyboard

On distributions based on systemd, unl0kr can be used as a password agent, to give systemd the ability to ask passwords on touchscreen-only devices:

# systemctl stop systemd-ask-password-console.path
# systemctl stop systemd-ask-password-wall.path
# systemctl start unl0kr-agent.path
# systemd-ask-password --no-tty # Unl0kr is started

Packaging

Create a full package:

meson setup builddir/
meson compile -C builddir/
meson install -C builddir/ --destdir "$pkgdir"

Create separate packages for Buffyboard and Unl0kr:

meson setup builddir/
meson compile -C builddir/
meson install -C builddir/ --tags=unl0kr --destdir "$pkgdir_unl0kr"
meson install -C builddir/ --tags=buffyboard --destdir "$pkgdir_buffyboard"

Create a package for Unl0kr only:

meson setup builddir/
meson compile -C builddir/ unl0kr/unl0kr
meson compile -C builddir/ unl0kr/unl0kr-agent # on systemd-based distributions
meson install -C builddir/ --tags=unl0kr --destdir "$pkgdir"

Create a package for Buffyboard only:

meson setup builddir/
meson compile -C builddir/ buffyboard/buffyboard
meson install -C builddir/ --tags=buffyboard --destdir "$pkgdir"

Making a release

To make it easier for distributions to package BuffyBox, we include source tarballs including the LVGL submodule in GitLab releases. See unl0kr#42 for more background on this.

Producing and uploading a source tarball requires git-archive-all to be installed as well as an access token for the GitLab API. To tag a release and upload a source tarball, run

./release.sh $VERSION $TOKEN

Once the upload completes, create a new release on GitLab and attach the URL of the uploaded source tarball.

License

This project is licensed under the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

For the license of bundled images and fonts, see shared/cursor and shared/fonts.