aboutsummaryrefslogtreecommitdiff

Pres

Pres is meant as a drop-in replacement for suckless's sent, a simple plaintext presentation tool. Unlike sent, pres is written in C++ and uses Raylib for rendering. It also supports a few extra features, such as:

  • [x] Titles for slides with images
  • [x] Slide progress bar that works everywhere
  • [x] Slide progress text (e.g. "(3/10)")
  • [x] Dynamic configuration changes
  • [ ] A way to change dynamic configuration changes from the CLI
  • [ ] Code blocks

Installation

Pres is a single-file C++ program. To build it, you'll need a C++ compiler and Raylib. On Arch Linux, you can install the dependencies with:

sudo pacman -S raylib

After that, you'll need to edit the config.h file to specify a font. Since config can only be changed at compile time, you may be interested in other customization options inside main.cpp. Then, you can build pres with:

./build.sh

Usage

Pres is meant to be used as a drop-in replacement for sent. You can use it like this:

$ pres my_presentation.txt

It also supports input on the stdin:

$ pres < my_presentation.txt

Screenshots

First slide Second slide

License

Pres is licensed under the AGPLv3 license. See the LICENSE file for more information.