github.com/ryanj/gist-reveal
registry.hub.docker.com/u/ryanj/gist-reveal
Create your own deck by forking a copy of this github gist:
https://gist.github.com/ryanj/af84d40e58c5c2a908dd
Or, by placing any valid Revealjs <section> tag content into a fresh gist.
When you're ready to view your slides, grab your github gist id and add it to the end of this url:
Reveal.js is a framework You'll need a browser with support for CSS 3D transforms to see it's full capabilities. There is a lot of great information about using Reveal.js in the project's README page on GitHub. Their original slide deck sample conent also contains a lot of great examples. To create a kubernetes deployment and NodePort service, both named gist-reveal, run: Minikube users should be able to open the new service in their browser by running: Start up a local development server on port 8080: For production, I like to daemonize the process, configure a default gist_id, and make the container available on port 80: Include your own GitHub application keys if you plan on making more than 60 requests in 2 hours: Include your own GA-TRACKER key: You can launch this application on OpenShift in a single command: Or, click here to launch on the web! Then, use the Configure your browser as a presentation device by setting the same key in your browser's localStorage Be sure to use two different devices or brower types when testing your broadcasting relay
for easily crafting
beautiful presentations
in HTML Tips on using Reveal.js
Host your own slideshow relay on Kubernetes
kubectl run gist-reveal --image=ryanj/gist-reveal \
--expose --port=8080 --service-overrides='{ "spec": { "type": "NodePort" } }' \
--env="DEFAULT_GIST=YOUR_DEFAULT_GIST_ID" \
--env="GH_CLIENT_SECRET=YOUR_GH_CLIENT_SECRET" \
--env="GH_CLIENT_ID=YOUR_GH_CLIENT_ID" \
--env="REVEAL_SOCKET_SECRET=0P3N-S0URC3" \
--env="GA_TRACKER=YOUR_GA_TRACKER"minikube service gist-revealHost your own themed slideshow index with Docker
docker run ryanj/gist-revealdocker run -d -p 80:8080 -e "DEFAULT_GIST=af84d40e58c5c2a908dd" ryanj/gist-revealGITHUB API RATE LIMITS
docker run -e "GH_CLIENT_SECRET=11becbb840e0ff7414b19104e9e797556498fc3f" -e "GH_CLIENT_ID=639ffe9fd9dcc4f6eb4b" ryanj/gist-revealBuilt-in Analytics
docker run -e "GA_TRACKER=UA-12345678" ryanj/gist-revealHosting on OpenShift
rhc app create gistreveal nodejs-0.10 \
--from code=http://github.com/ryanj/gist-reveal \
DEFAULT_GIST=YOUR_DEFAULT_GIST_ID \
GH_CLIENT_SECRET=YOUR_GH_CLIENT_SECRET \
GH_CLIENT_ID=YOUR_GH_CLIENT_ID \
REVEAL_SOCKET_SECRET=0P3N-S0URC3 \
GA_TRACKER=YOUR_GA_TRACKERrhc env set command to publish your application config and keys to the system environment.Broadcasting Your Slide Transitions
with Socket.IO
docker run -e "REVEAL_SOCKET_SECRET=0P3N-S0URC3" ryanj/gist-reveallocalStorage.secret="YOUR_SECRET_KEY"
(FireFox vs. Chrome, desktop vs. mobile, etc.)THE END
Revaljs by Hakim El Hattab / hakim.se
gist-reveal by ryanj and fkautz