Skip to content

Instantly share code, notes, and snippets.

@patcon
Last active December 21, 2015 05:09
Show Gist options
  • Save patcon/6255170 to your computer and use it in GitHub Desktop.
Save patcon/6255170 to your computer and use it in GitHub Desktop.
Simplest presentation possible with Big.py and a bash webserver.

Ok, so I've just discovered my favourite, simplistic way to create presentations like this demo slideshow. The idea is that the words on each slide are made to fill the whole frame, so formatting is as easy as creating a new line.

So setting up a presentation is as simple as this:

git clone https://github.com/harperreed/bigpy.git
cd bigpy
sudo pip install -r requirements.txt
vim slides.md # edit slides
python big.py
while true; do { echo -e 'HTTP/1.1 200 OK\r\n'; cat slides.html; } | nc -l 8080; done

And now my one-page formatted presentation is available at localhost:8080!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment