Free Digital Signage for Everyone. Start using this tool right now. Revealjs as Digital Signage (RDS)
is an easy tool to create Digital Signage.
This tool use jinja2 template to render it to ready Revealjs html using python.
Presentation behaviour can be fine-tuned using a wide array of configuration options
Example:
htmlOutputFileName: index.html #Final output HTML file
combinedHTMLSlides: mergedHTML.html #Name of combined section
slidesPrefixPathnName: sections/slide*.html #Section html files path and prefix
templateFileName: mainTemplate.html #Main HTML template file
finalOutputDir: output #Output Dir name
transitions: zoom # none, fade, slide, convex, concave, zoom
autoPlayMedia: "true" #null, "true", "false"
hashOneBasedIndex: "true"
run command to render the template python generate.py
Store all media that you used inside the slides
Do not touch those file(revealjs files), if you do not know what you do :)
Put all your slide in HTML files
- Create new venv by
python -m venv venv/
- Put your slide as HTML in
sections
Dir. - Put your media files in Media if exists.
- change the config files if required.
- run command
python generate.py
- the output file with name
index.html
will appear in the root Dir.
To control slide using cli:
run cd signage;python main.py
in other terminal.
Next slide: run command curl http://localhost:/500/next
Prev slide: run command curl http://localhost:/500/next
Jump to slide: run command curl http://localhost:/500/slide/slide_number
docker container run -ti -p5000:5000 --net=host alivx/ali:latest
Or for local edit
docker container run -ti -v $PWD:/app -p5000:5000 --net=host local:rds
Check the output Dir for final HTML files, you can find path under config['finalOutputDir']
under output file, run python serve.py
- check default URL http://localhost:5000
- you can change flask setting under
config.yaml
Markup hierarchy needs to be
<div class="reveal">
<div class="slides">
<!-- all content inside sections Dir will be included here automaticly -->
{% include combinedHTMLSlides %}
<section>Another slide</section>
</div>
</div>
write your slides using Markdown. To enable Markdown, add the data-markdown attribute to your
<section data-markdown>
<script type="text/template">
## Blockquotes
> Blockquotes can also be nested...
>> ...by using additional greater-than signs right next to each other...
> > > ...or with spaces between arrows.
## Lists
Unordered
+ Create a list by starting a line with `+`, `-`, or `*`
+ Sub-lists are made by indenting 2 spaces:
- Marker character change forces new list start:
* Ac tristique libero volutpat at
+ Facilisis in pretium nisl aliquet
- Nulla volutpat aliquam velit
+ Very easy!
</script>
</section>
- you can use print option in the browser to print presentation slides as PDF file.
The role was originally developed by Ali Saleh Baker.