No description
Find a file
Johannes Marbach bebd2c5455 Merge branch 'johannes/unbreak-ci' into 'master'
Stop CI on first error

See merge request postmarketOS/buffybox!44
2025-03-24 18:58:14 +00:00
buffyboard add buffyboard systemd service 2024-11-02 10:10:15 +00:00
iskey iskey: new utility 2024-04-14 20:16:30 +01:00
lvgl@ceadda8a46 Merge branch 'master' into johannes/nord-theme 2024-06-03 21:06:23 +02:00
man Revert "Test fix manpage" 2025-03-24 19:57:14 +01:00
shared Merge branch 'master' into johannes/nord-theme 2024-06-03 21:06:23 +02:00
squeek2lvgl Add Buffyboard Man pages and Unify Build 2024-07-26 16:40:49 +00:00
test Return exit code from run_script 2025-03-24 19:53:08 +01:00
unl0kr unl0kr: add the CLI option to avoid suffixing a password with a newline character 2025-03-13 18:25:26 +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 Move/adapt archive and release script to repo root 2024-03-22 21:01:24 +01:00
CHANGELOG.md Add software rotation to unl0kr 2025-03-12 20:11:38 +00:00
COPYING Initial import 2021-09-02 20:08:45 +02:00
find-lvgl-sources.sh Remove obsolete lvgl paths 2024-09-26 19:43:33 +02:00
meson.build unl0kr: add a systemd password agent 2024-11-05 11:33:53 +03:00
meson_options.txt unl0kr: add a systemd password agent 2024-11-05 11:33:53 +03:00
README.md unl0kr: add a systemd password agent 2024-11-05 11:33:53 +03:00
release.sh Move cursor to shared component 2024-03-28 13:27:01 +01: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

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.com/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

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.