stphn / reveal-vite-protected

Reveal.js and Staticrypt

Home Page:https://github.com/stphn/reveal-vite-protected

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

semantic-release Build Status

Reveal Vite Staticrypt

Reveal Vite Staticrypt

Building HTML Presentations with Reveal.js and Vite.

I will assume you have some familiarity with Node.js and have it at least version 8.3 installed.

Usage

To run the app use following scripts:

with yarn

yarn install
yarn dev

with npm

npm install
nmp run dev

The presentation will run locally at http://localhost:3000. You can edit the index.html and main.js to see it auto-reload.

To build the presentation yarn build or npm run build which creates the dist folder.

Protecting your presentation

Staticrypt uses AES-256 to encrypt your string with your passphrase in your browser (client side) and this is useful if you need to passphrase protect your presentations.

In order to be able to use the yarn protect script, make sure to install the Staticrypt CLI: it is available through npm, install with: npm install -g staticrypt

To customize the form feel free to modify the password_template.html styling

Docs

Reveal.js

Vite

Staticrypt

About

Reveal.js and Staticrypt

https://github.com/stphn/reveal-vite-protected

License:MIT License


Languages

Language:SCSS 54.9%Language:HTML 41.2%Language:CSS 2.0%Language:JavaScript 1.9%