Skip to content

n-d-r-d-g/slides

Repository files navigation

Slides

This project contains the slides I use for my talks.

Motivation

Using local presentation slides comes with its pitfalls; transfer & backup presentation files, prone to loss, not fully customizable.

One alternative is proprietary cloud services like Google Slides, but the fact that it's proprietary creates dependency on the platform.

Using code to build slides solves a few problems; no need to transfer or backup presentation files, source control prevents loss, fully customizable via code, no need for proprietary platforms to host slides.

Pitfalls

  1. Internet connection

    The main current concern is the need for an Internet connection to view the slides.

    A solution can be to build the project locally on the machine that's going to be used for the presentation:

    npm run build
    npm start
  2. Customization speed

    It takes more time to customize slides via code than in a .pptx file.

Issues

deckTheme is undefined in Dev mode

Sometimes, Spectacle does not get loaded properly on cold start. Modify the URL in your browser's address bar so that it points to the homepage, e.g. localhost:3000, then press Enter.

HMR causes redirect to homepage

When saving content in dev mode, you're redirected to the homepage.

To fix this, open the slides in a new tab. This will make sure that the full URL is used, e.g. http://localhost:3000/frontend.mu/2024-08-24/Contributing-to-an-Open-Source-Community instead of localhost:3000.

Contribution

  • Fork the repository to get your copy on your account.
  • Clone your forked repository on your machine.
  • Run npm i in your terminal.
  • Run npm run dev to start the project.