Miss any of our Open RFC calls?Watch the recordings here! »

baldr

0.1.38 • Public • Published

npm Build Status GitHub repo size

baldr - BALDUR

A try to write my presentations for school in HTML5, CSS3 and Javascript using Electron. Further informations can be found on the API documentation site of the project.

This repository contains some evaluation and research code.

About the name baldr

Baldr is the name of a nordic god. He is the of god of light.

Installation / Building

npm install -g lerna
lerna bootstrap

Upgrading

sudo npm install -g npm-check-updates
lerna exec "ncu -u"
lerna exec "npm update"

Sort package.json

sudo npm install -g sort-package-json
lerna exec "sort-package-json"

Publishing

lerna publish

Testing

This npm commands execute tests:

  • npm test: All tests
  • npm run untitest: All unit tests
  • npm run spectron: All spectron tests
  • npm run standard: standardjs linting

Coding style

Imports

// Node packages.
const path = require('path')
 
// Third party packages.
const jquery = require('jquery')
 
// Project packages.
const { bootstrapConfig, Library, AlphabeticalSongsTree } = require('@bldr/songbook-base')

Terminology

  • presentation:
    • slides: A ordered list of slides.
      • slide: One fullscreen view displayed for an audience.
        • steps: A ordered list of display states
          • step: A display state of a slide
    • quickies: Views in this section are not arranged in the ordered list of slides. They can be displayed really quick during the presentation by keyboard shortcuts or menu entries.
    • master: Each slide and view is derived from a master
    • media: All kind of media files (audio, video, image) that are located in the same folder as the *.baldr presentation file.

Shortcuts

  • Cursor/Arrow symbol left / right: slides
  • Cursor/Arrow symbol up / down: steps

Structure of the *.baldr YAML file format

 
---
quickies:
 
  - title: Camera
    camera: yes
    shortcut: ctrl+c
 
  - title: Editor
    editor: yes
 
  - title: Audio
    audio:
    - audios/beethoven.mp3
    - audios/mozart.mp3
 
  - title: Video
    video:
    - videos/haydn.mp4
    - videos/mozart.mp4
 
  - title: Google
    website: https://google.com
 
  - title: wikipedia
    website: https://en.wikipedia.org
 
slides:
 
  - audio:
      - media/audio/mozart.mp3
      - media/audio/haydn.mp3
      - media/audio/beethoven.mp3
 
  - camera: yes
 
  - editor: yes
 
  - image: media/image
 
  - markdown: |
      # heading 1
      ## heading 2
      ### heading 3
 
  - person:
      name: Ludwig van Beethoven
      image: beethoven.jpg
 
  - question: When did Ludwig van Beethoven die?
 
  - quote:
      text: |
        Der Tag der Gunst ist wie der Tag der Ernte,
        man muss geschäftig sein sobald sie reift.
      author: Johann Wolfgang von Goethe
      date: 1801
 
  - website: https://google.de

Keywords

none

Install

npm i baldr

DownloadsWeekly Downloads

1

Version

0.1.38

License

MIT

Unpacked Size

14.6 kB

Total Files

5

Last publish

Collaborators

  • avatar