Presentation nano-framework.
It's a tool for easily creating pure and simple HTML5 presentations or websites.
Comes with a broad range of features including nested slides, markdown contents and a JavaScript API. It combines everything into a unified whole that you can use.
- Installation: Step-by-step instructions for getting hyhyhy running on your computer.
- Usage: List of commands.
- Configuration: Explanation of configure the tool.
- Presentation: Explanation of use the generated project.
- Dependencies: List of used dependencies.
- Quickstart: Step-by-step instructions for creating new project.
- Example: Preview in action.
- Supported browsers: Explanation of browser support and fallbacks.
- Contributing: Explanation of how you can join the project.
- License: Clarification of certain rules.
Binary installers for the latest released version are available at the Python package index.
$ pip install hyhyhy
You can create a new project by generating structure like this. Make sure that the destination folder does not exist because it will be overwritten.
|-- assets
| |-- index.jinja
| |-- scripts
| | |-- main.js
| |-- styles
| | |-- main.css
|-- sections
| |-- 1.html
| |-- 2.md
| |-- ...
| |-- n.html
|-- default.cfg
This function should splice all your slides/sections in one presentation. When you build your project it will generate a static version in the build folder that you can use.
$ hyhyhy build
Continously monitor the filesystem and wait for changes to rebuild to project automatically.
$ hyhyhy watch
Creates a default structure.
$ hyhyhy create
Show the structure of your project.
$ hyhyhy status
Displays a brief summary of the basic functions.
$ hyhyhy --help
Displays a version.
$ hyhyhy --version
For now, you can change the basic variables in the configuration file.
[head]
title = Example presentation by hyhyhy!
description = A little words...
[core]
build = build/index.html
You can also manipulate additional settings for 'section' tag in html.
[sections]
6 = data-bespoke-state="green" class="light"
The output for the above should be the following code. (for 6 slide)
<section data-bespoke-state="green" class="light">...</section>
- Press
left arrow
andright arrow
to navigate. - Press
h
to launch fullscreen. - Press
ESC
to exit fullscreen mode. - Browser zooming is supported.
- Touch events are supported.
- Python (>= 2.7.0)
- rjsmin
- rcssmin
- markdown
- jinja2
- watchdog
- docopt
- Javascript
- prism.js
- bespoke.js
$ pip install hyhyhy
$ mkdir new_empty_presentation
$ cd new_empty_presentation
$ hyhyhy create
$ hyhyhy build
Sample presentation is already in the project. But if you want you can see it live by clicking this link.
- Firefox 2+
- Safari 3+
- Opera 9.64+
- Chrome
- IE9, IE10, IE11
Please feel free to contribute to this project! Pull requests and feature requests welcome! ✌️
See LICENSE file in this repository.
- Kim Thoenen (@Chive)