https://github.com/yazgoo/bema
write your next slideshow in rust 🦀, as a self-contained binary 📦.
https://github.com/yazgoo/bema
Last synced: 4 months ago
JSON representation
write your next slideshow in rust 🦀, as a self-contained binary 📦.
- Host: GitHub
- URL: https://github.com/yazgoo/bema
- Owner: yazgoo
- Created: 2021-03-24T18:12:57.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2021-04-30T16:15:11.000Z (almost 4 years ago)
- Last Synced: 2024-10-14T13:11:24.448Z (4 months ago)
- Language: Rust
- Homepage:
- Size: 1.9 MB
- Stars: 22
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-quads - bema - slideshow DSL. (Apps or visualizations / Apps or visualizations: On top of macroquad)
README
# 🗣 bema
[](https://discord.gg/F684Y8rYwZ)
Write your next slideshow in rust 🦀, as a self-contained binary 📦.
## 🦀 DSL
See [examples/basic.rs](examples/basic.rs).
## 👀 frontends
There are several ways you can display your slideshow.
### 🖥 GUI

`cargo run --example basic gui`Invoke the program with `gui` as argument.
Press `escape` for help on usage keys.### 💾 Terminal

`cargo run --example basic`Invoke the program with no argument.
For now, full definition images are only supported within [kitty](https://sw.kovidgoyal.net/kitty/),
otherwise the program will fallback on [blockish](https://github.com/yazgoo/blockish/).
Use arrow keys or `hjkl` to navigate, `q` to quit.### 🕸 in browser with hovercraft
`cargo run --example basic hovecraft`
Just invoke the program with `hovercraft` as argument.
This will output an [hovercraft](https://hovercraft.readthedocs.io) file (as well as images) that you
can then interpret with hovercraft:`cargo run --example basic hovercraft > pres.hc && hovercraft pres.hc`