Showtmux creates terminal-based interactive presentations. It can be used to script terminal-based demos ahead of time, and play them in tmux.
You create a presentation in code as such:
from showtmux import Presentation
class MyPresentation(showtmux.Presentation):
def present(self):
self.chapter('Welcome to my talk')
self.wait('This text is visible only to you. Use this to keep speaker notes')
self.cmd('echo "I am typing this command by hand as you can see")
self.chapter('That's all folks!')
p = MyPresentation()
p.run()
See presentation.py
for a more complete example.
- tmux >1.9
Optional, but works well with showtmux:
caca-utils
to display images in the terminal (not in a framebuffer! you can't use framebuffers with tmux);mdp
if you want to have non-interactive, really-cool looking slides in addition to your interactive demo.