Skip to content

A church presentation application written in Rust using Qt/QML and KDE tech for the UI

License

Notifications You must be signed in to change notification settings

ChrisCochrun/lumina

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

In hind site, I may have been a bit too harsh on how OpenLP chose to create slides, that said, my focus was on simplicity and an actual working program so that I could do my work from linux and not need windows. This has now given a lot more programming experience and have rewritten parts of this project twice now. Potentially to do it again.

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 (PDF) (PowerPoint and Impress are in not implemented yet)
  • Present Reveal.js 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.

just build

Then run.

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

About

A church presentation application written in Rust using Qt/QML and KDE tech for the UI

Resources

License

Stars

Watchers

Forks