This repository has been moved to gitlab.com/mattdark/reveal-js-gallery
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.
-
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).
-
Individual theme. Use a different theme for every presentation in your gallery.
-
Speaker notes. Support for speaker notes was added. Press 's' on your keyboard to open speaker notes window.
-
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.
These instructions will get you a copy of the project up and running on your local machine.
- 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
- Clone this repository:
git clone https://github.com/mattdark/reveal.js-gallery.git
- Copy UIKit and reveal.js to the static directory:
sh installer.sh
- 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.
-
Use reveal.js themes or create your own and put it in /static/reveal.js/css/theme.
-
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
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).
- Rust - The programming language
- Rocket - The web framework
- reveal.js - The presentation framework
- Material Kit - The UI kit
Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.
- Mario García - mariog.xyz
This project is licensed under the MIT License - see the LICENSE file for details
- UI based on Material Kit by Creative Tim