Skip to content
This repository has been archived by the owner on May 27, 2020. It is now read-only.

mattdark/reveal.js-gallery

Repository files navigation

This repository has been moved to gitlab.com/mattdark/reveal-js-gallery

reveal.js Gallery Build Status

reveal.js is a framework for creating presentations using HTML. It's an alternative to Microsoft Powerpoint or LibreOffice Impress but using a text editor and any browser. reveal.js Gallery exists as a way to better organize and access all of your presentations from one place. Created using Rust, Rocket & Material Kit.

reveal.js Gallery index reveal.js Gallery slides

Features

  1. Individual URL. You can access a presentation by writing its URL in the address bar on your favorite browser (e.g. http://localhost:8000/presentation/slide1).

  2. Individual theme. Use a different theme for every presentation in your gallery.

  3. Speaker notes. Support for speaker notes was added. Press 's' on your keyboard to open speaker notes window.

  4. Multiplexing. It's one of the plugins I like the most from reveal.js and it was tested within the gallery app. Instructions will be added soon.

Getting Started

These instructions will get you a copy of the project up and running on your local machine.

Prerequisites

  1. Install Rust, on GNU/Linux or Mac:
curl https://sh.rustup.rs -sSf | sh

for any other operating system go to rustup.rs

This project was built using Rocket which is a web framework written in Rust and it uses the nightly version of the language.

  • Install Rust nightly:
rustup install nightly
  1. Clone this repository:
git clone https://github.com/mattdark/reveal.js-gallery.git
  1. Copy UIKit and reveal.js to the static directory:
sh installer.sh

New Presentation

  1. Create a Markdown file with the content of your presentation, assign a name that identifies it and save it in /static/slides. There are two examples in that directory.
  • Note: --- is used as horizontal separator and ---- as vertical one.
  1. Use reveal.js themes or create your own and put it in /static/reveal.js/css/theme.

  2. Add the following information in /static/slides.json. There is a slides.json example file:

  • id - A number assiged to identify each presentation
  • file - Name of the Markdown file
  • title - Title of the presentation
  • description - Description of the presentation
  • style - Name of the theme file
  • url - Path for your presentation (i.e. slide1)
  • screenshot - A screen capture of your presentation

Running

In debug mode:

cargo run

In release mode:

cargo run --release

Now open http://localhost:8000 in your favorite browser (I recommend Firefox).

You can also access your presentation by writing the full path in the address bar (e.g. http://localhost:8000/presentation/slide1).

Built With

Contributing

Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.

Authors

License

This project is licensed under the MIT License - see the LICENSE file for details

Acknowledgments

About

A gallery for your reveal.js presentations

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •