Skip to content

lreading/slide-spec

Slide Spec

Create beautiful slides from YAML, not PowerPoint.

npm CI License OpenSSF Best Practices

Live Demo · Docs · Example YAML

readme-demo.mp4

Slide Spec turns structured YAML into a static slide deck you can host anywhere. Keep your presentations in the same repo as your code, reviewable in PRs and diffable like everything else.

  • Write slides as structured YAML you can diff, lint, and generate
  • Build a static site you can deploy to GitHub Pages, S3, or any CDN
  • No proprietary file formats or authoring tools
  • Validation baked into CI for a GitOps workflow

⚡ Quickstart

Prereqs: Node 24+ and npm.

npx @slide-spec/cli init
npx @slide-spec/cli serve

Open the URL printed in your terminal. You should have a working deck in under two minutes.

From there, edit the YAML under content/, then validate and build:

npx @slide-spec/cli validate
npx @slide-spec/cli build      # outputs to ./dist

Pass --deployment-url to build for sitemap.xml generation.

Every command accepts an optional directory as its first argument (e.g. npx @slide-spec/cli serve ./my-deck). When omitted, the current working directory is used.

Repository layout

Monorepo with independent packages. Each has its own README with setup, development, and testing details.

Directory Purpose
app/ Vue 3 + Vite presentation renderer README
cli/ Scaffold, validate, build, and serve README
docs/ VitePress documentation site README
shared/ Shared TypeScript types and validation README
content/ YAML for this repo's own slide decks

Releases

Slide Spec follows semver. The CLI is published to npm as @slide-spec/cli.

⚠️ v0 / alpha - the project is pre-1.0 and minor versions may contain breaking changes without prior deprecation. Pin your version if you need stability.

Tagged commits on main trigger the release pipeline. CI runs all quality gates, publishes to npm, and attaches a source tarball to the GitHub release.

Contributing

See CONTRIBUTING.md for how to report bugs, request features, and submit code.

Please read our Code of Conduct before participating.

License

Apache 2.0

About

An open-source, declarative presentation tool for sharing updates

Topics

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Releases

No releases published

Contributors

Languages