DemoIt is a tool that helps you create beautiful live-coding demonstrations.
I'm doing lots of live-coding during conferences and I like tools like reveal.js to create slides. What I wanted was a tool that has some of the properties of reveal.js but with capabilities to code and run commands in front of the audience.
Two things are really important to me:
This is how I came up with DemoIt.
DemoIt is a small command line tool written in Go. It serves rich web content composed of text, images and smart web components.
Those web components make most of the magic.
Documentation is really sparse right now. The best one can do is install the tool using the following instructions and learn from the sample.
Basically, the idea is to:
demoit.htmlat the root of the project. This file contains all the html slides separated with
.demoitfolder at the root of the project.
See Run Demo for setting up and running a demo to get started with your first presentation.
go get -u github.com/dgageot/demoit
As any go application, it will download demoit's sources to your
$HOME/go/bin/ directory to your $PATH in order to be able to call any go executable (including
demoit) to your path.
cd $HOME/go/src/github.com/dgageot/demoit go install -mod=vendor
To have a correct display in the web terminal, you have to install the font
Inconsolata for Powerline on your computer.
This font can be found here.
cd $HOME; mkdir my_demoit_presentations; cd $HOME/my_demoit_presentations cp -r $HOME/go/src/github.com/dgageot/demoit/sample . demoit sample
Then, browse to http://localhost:8888
Pro tip: Run
demoit -dev sample instead and enjoy live reload each time you change the content of the slides.