No description
Find a file
2023-04-07 07:18:37 -05:00
cmake fix naming scheme for cmake file 2023-02-15 14:06:01 -06:00
src add: update_title in image_model.rs 2023-04-07 07:18:37 -05:00
.dir-locals.el trying to make dirlocals workbetter 2023-03-06 11:08:03 -06:00
.envrc tweaking env 2023-03-20 11:36:32 -05:00
.gitignore adding to gitignore 2022-12-11 06:54:33 -06:00
build.rs adding basic presentation_model.rs 2023-04-06 20:44:04 -05:00
build.sh adding build_debug to build.sh without params 2023-03-28 15:05:09 -05:00
Cargo.lock the image_model.rs is working 2023-04-06 05:49:28 -05:00
Cargo.nix updating Cargo.nix 2023-04-07 06:37:19 -05:00
Cargo.toml the image_model.rs is working 2023-04-06 05:49:28 -05:00
CHANGELOG.org admin stuff 2022-08-24 10:51:59 -05:00
CMakeLists.txt tweaks to build env 2023-04-06 06:32:44 -05:00
default.nix switching to ffmpeg_6-full 2023-04-07 06:37:10 -05:00
diesel.toml setting diesel up more 2023-04-04 15:15:29 -05:00
flake.lock fixing some rust environment issues for the shell 2023-04-03 10:36:30 -05:00
flake.nix a lot of setup and testing work for rust 2022-12-13 09:33:47 -06:00
library-db.sqlite3 diesel instead of sea-orm 2023-04-04 14:29:14 -05:00
librepresenter.desktop moving code around for a better file structure 2022-12-09 10:55:50 -06: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 update readme 2023-03-28 09:45:27 -05:00
shell.nix tweaks to build env 2023-04-06 06:32:44 -05:00
TODO.org update todo 2023-03-10 17:25:15 -06:00

Church Presenter

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 church-presenter

Then build.

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

Then run.

./build/bin/presenter

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 church-presenter
nix develop

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

If you have direnv

cd church-presenter
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