NeilClack 3cf3e4cf23 Fix database syncronization
When connecting to the internet for the first time, the proclamations table is empty.
If the user navigates to Settings -> Proclamations, then the sync.SyncProclamations
function is called. After this function returns, the ProclamationOptions screen
queries the database for proclamations which returns an empty list. Even though
the database was updated, the ProclamationOptions screen's instance of the database
connection was returning empty.
2026-05-06 10:16:19 -05:00
2026-05-06 10:16:19 -05:00
2026-03-25 20:33:58 -05:00
2026-05-06 10:16:19 -05:00
2026-03-12 08:05:10 -05:00
2026-03-12 08:05:10 -05:00
2026-04-23 17:29:21 -05:00
2026-04-24 16:43:18 -05:00
2026-03-12 08:05:10 -05:00
2026-05-06 10:16:19 -05:00
2026-03-23 15:02:07 -05:00
2026-03-12 08:05:10 -05:00

RhemaWave

A Go-based fullscreen SDL2/OpenGL application for Linux kiosk systems. Displays proclamations with audio playback and animated visual patterns.

Development

Development uses Nix for a reproducible build environment.

nix develop                                # enter dev shell
go build -o bin/rhemawave rhemawave.go     # build
./bin/rhemawave                            # run
./dev_scripts/reset.sh                     # reset database (if needed)

Prerequisites

  • Nix with flakes enabled
  • A display server (X11/Wayland) and audio device for running the application

Architecture

  • Page-based UI — SDL2/OpenGL 3.3 fullscreen rendering with a page stack for navigation
  • Proclamation player — scrolling text display with synchronized audio playback
  • Startup validation — WiFi, TOS acceptance, email, license key checks
  • Singleton managers — ShaderManager, FontManager, Logger (initialized once via sync.Once)

Key Directories

bin/                          # build output (gitignored)
share/rhemawave/              # assets (fonts, shaders, proclamations, TOS)
internal/                     # Go source packages
packaging/                    # deployment configs (kiosk, updater, polkit)
dev_scripts/                  # developer utilities

Runtime Data

Stored in ~/.local/share/rhemawave/:

  • data.db — SQLite database (config, proclamations, logs)
  • log.txt — application log
  • license_key — license key file

Development Rules

These rules must be followed during the development of RhemaWave to retain a maintainable application.

  1. The Application package is soley responsible for managing the database handler, and the configuration cache. Internal packages may update the configuration within the database, and then signal the application to refresh the cache via a callback function refreshCache().

Deployment

Deployed to kiosk hardware via NixOS-Anywhere. See packaging/ for kiosk system configs.

S
Description
Legacy Go implementation of Radiant Wave
Readme
36 MiB
Languages
Go 86.1%
Shell 4.9%
Python 4.5%
Nix 2.5%
HTML 1.4%
Other 0.6%