No description
Find a file
2023-09-18 15:44:31 -05:00
.cargo initial bits to make a ytdl addition 2023-04-21 13:42:18 -05:00
cmake fix naming scheme for cmake file 2023-02-15 14:06:01 -06:00
src the moving of rows works but resets on move 2023-09-17 14:35:37 -05:00
.dir-locals.el trying to make dirlocals workbetter 2023-03-06 11:08:03 -06:00
.envrc removing things and moving back to nix 2023-07-08 21:45:01 -05:00
.gitignore updating .gitignore 2023-06-28 16:11:19 -05:00
build.rs removing things and moving back to nix 2023-07-08 21:45:01 -05:00
build.sh making service_item_model build 2023-06-17 06:36:16 -05:00
Cargo.lock adding fastrand 2023-09-14 09:41:38 -05:00
Cargo.nix initial bits to make a ytdl addition 2023-04-21 13:42:18 -05:00
Cargo.toml adding fastrand 2023-09-14 09:41:38 -05:00
CHANGELOG.org admin stuff 2022-08-24 10:51:59 -05:00
CMakeLists.txt changing name everywhere to lumina 2023-08-25 12:07:28 -05:00
default.nix making some tweaks to the default.nix 2023-04-19 14:15:07 -05:00
diesel.toml setting diesel up more 2023-04-04 15:15:29 -05:00
flake.lock updates to Nix Flake 2023-09-08 14:57:05 -05:00
flake.nix moving away from cargo2nix as I wasn't using it 2023-04-28 12:08:07 -05:00
guix.scm update to guix.scm 2023-08-06 13:10:24 -05:00
library-db.sqlite3 diesel instead of sea-orm 2023-04-04 14:29:14 -05:00
librepresenter.desktop some metadata changes 2023-04-14 08:53:52 -05:00
LICENSE Update LICENSE 2022-09-26 15:45:47 +00:00
Makefile Makefile remove clean 2023-03-06 13:28:00 -06:00
present.png moving code around for a better file structure 2022-12-09 10:55:50 -06:00
qhot-profile.json MPV is working now 2022-02-18 11:33:22 -06:00
README.org changing name everywhere to lumina 2023-08-25 12:07:28 -05:00
rustfmt.toml adding rustfmt for style 2023-09-12 06:40:28 -05:00
shell.nix adding sonnet to dependencies 2023-07-11 22:31:00 -05:00
TODO.org updating todo 2023-09-18 15:44:31 -05:00

Lumina

Introduction

This is an attempt at building a church presentation application in Qt/QML. QML provides a very powerful and easy declarative way of creating a UI so it should also be a very simple method of creating on screen slides and presentations. This experiment is to see how difficult it is to rebuild these applications in QML as opposed to other more complicated systems. After digging through the source code of OpenLP, I discovered they are essentially creating a web server and rendering a webpage onto the screen to show slides. This felt like a waste of resources and added complexity when something so simple and useful as QML exists.

Features (planned are in parentheses)

  • Presents songs lyrics with image and video backgrounds
  • Use MPV as a rendering system for videos
  • Simple song creation with a powerful text parser
  • Present Slides
  • (Custom slide builder)
  • (an intuitive UI) - Still needs A LOT of polish

MPV

You will need MPV installed in order to use this. All videos run through it. This, however, enables us to make videos work very well and with a lot of control and since it uses ffmpeg underneath, nearly any codec regardless of underlying system. This prevents the need for the user to install other codecs to work with Windows or MacOS. It also means a much easier control system and the potential to stream web content as well without downloading first.

Rust and CXX-QT

CXX-QT is a bridge framework for Rust and Qt. It works by piggybacking off of CXX and is a phenomenal tool to make a Qt app using Rust. More and more, I've been porting things over to Rust in the project using this bridge.

Build and Run

First get the source code

Then into the root directory.

cd lumina

Then build.

cmake -B build/ . && make --dir build/

Then run.

./build/bin/lumina

Nix

If you are using nix to develop with, which I would suggest since that will make sure all the appropriate dependencies are installed, you'll need to do the following:

cd lumina
nix develop

This drops you into a shell with all the right dependencies.

If you have direnv

cd lumina
direnv allow

Then just as before build and run it the way you would.

Contact Me

If, for whatever reason, you need to contact me and get something ironed out, please do so at chris@cochrun.xyz