No description
Find a file
Chris Cochrun 58652eafa1 feat: song_model.rs now has a get_lyric_list
Now this being made in rust, the rest is much easier.
2023-05-15 06:32:22 -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 feat: song_model.rs now has a get_lyric_list 2023-05-15 06:32:22 -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 fixing more of pres model and setting up song model 2023-05-04 09:30:03 -05:00
build.sh adding build_debug to build.sh without params 2023-03-28 15:05:09 -05:00
Cargo.lock initial bits to make a ytdl addition 2023-04-21 13:42:18 -05:00
Cargo.nix initial bits to make a ytdl addition 2023-04-21 13:42:18 -05:00
Cargo.toml Trying to fix adding multiple files 2023-04-27 14:18:43 -05:00
CHANGELOG.org admin stuff 2022-08-24 10:51:59 -05:00
CMakeLists.txt qml webengine is running 2023-04-28 05:46:02 -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 basic implementation of having reveal.js slides working 2023-05-01 06:20:45 -05:00
flake.nix moving away from cargo2nix as I wasn't using it 2023-04-28 12:08:07 -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 change mailto address 2023-04-11 11:35:00 -05:00
shell.nix moving away from cargo2nix as I wasn't using it 2023-04-28 12:08:07 -05:00
TODO.org spelling 2023-05-01 06:43:45 -05: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