4 releases

0.1.4 Sep 12, 2024
0.1.3 Sep 12, 2024
0.1.2 Jul 9, 2024
0.1.1 Jun 8, 2024

#63 in Configuration

Download history 118/week @ 2024-07-08 2/week @ 2024-07-15 302/week @ 2024-09-09 61/week @ 2024-09-16 13/week @ 2024-09-23 51/week @ 2024-09-30 1/week @ 2024-10-07

137 downloads per month

Apache-2.0

7MB
1.5K SLoC

tui-slides

Terminal Presentation tool with modern TUI capable to render images in terminal and with many more widgets.

Install via cargo

cargo install tui-slides

AUR

paru -S tui-slides

Usage

To create new presentation You have to create a folder with JSON file where you can create Your presentation slides. Example file is here.

Run

To start tui-slides we just call it with argument -j where we specify path to JSON file with slides data.

tui-slides -j="./path_to_slides/slides.json"

JSON: root

Main section of slide config is box_size. Here we set fixed size of content box.

"box_size": { "width": 50, "height": 50 }

JSON: slides

slides property is defining content. Slide content have it's type, content, rect, data, max & color. There are few types at the moment but in the future there should be support for every widget in Ratatui library. Supported widgets ATM:

  • Image
  • Block
  • Paragraph
  • Line
  • Bigtext
  • Sparkline
  • Code Highlight

Dependencies

~30–45MB
~698K SLoC