~cnx/zent unlisted

Simple plaintext presentation tool
Update to Zig 0.8.0 and minor edits
Add X11 init and cleanup boilerplate

clone

read-only
https://git.sr.ht/~cnx/zent
read/write
git@git.sr.ht:~cnx/zent

You can also use your local clone with git send-email.

#zent

zent is a simple plaintext presentation tool.

zent does not need LaTeX, LibreOffice or any other fancy file format, it uses plaintext files to describe the slides and can include images via farbfeld. Every paragraph represents a slide in the presentation.

The presentation is displayed in a simple X11 window. The content of each slide is automatically scaled to fit the window and centered so you also don't have to worry about alignment. Instead you can really concentrate on the content.

#Dependencies

You need Zig, Xlib and Xft to build zent and the farbfeld tools installed to use images in your presentations.

#Demo

To get a little demo, just type

zig build && zig-cache/bin/zent example

You can navigate with the arrow keys and quit with q.

#Usage

zent [FILE]

If FILE is omitted or equals -, stdin will be read. Produce image slides by prepending a @ in front of the filename as a single paragraph. Lines starting with # will be ignored. A \ at the beginning of the line escapes @ and #. A presentation file could look like this:

zent

@nyan.png

depends on
- Xlib
- Xft
- farbfeld

zent FILENAME
one slide per paragraph
# This is a comment and will not be part of the presentation
\# This and the next line start with backslashes

\@FILE.png

thanks / questions?

#Development

zent is developed on sourcehut as part of zuccligs, an attempt to rewrite some of the suckless software in Zig.