araojs
v0.5.0
Published
A slide engine for technical talks: Vue 3 + Vite, one fixed canvas, themes as tokens, PDF export
Readme
Arao
Slides as Vue components. A deck is one Vue file, in Pug or HTML; Arao draws every slide on one fixed canvas, so your laptop, the projector, the presenter view and the PDF show the same slide, with the same line breaks.
Contents: Why Arao · Getting started · Features · Documentation · License
Why Arao
Arao continues the idea of eagle.js: a slideshow is a Vue app, slides are components, and anything Vue can do, a slide can do. eagle.js was built for Vue 2 and is no longer maintained; Arao takes the same idea and rebuilds it for Vue 3 and Vite, around a fixed canvas, absolute steps and themes made of tokens.
eagle.js had its bird; so does Arao. The arao is the common guillemot, a black-and-white diving seabird of the Cíes islands, off Vigo.
Getting started
npm install araojs vue && npm install -D vite && npm pkg set type=module// vite.config.js
import { defineConfig } from 'vite'
import arao from 'araojs/vite'
export default defineConfig({ plugins: [arao()] })// src/main.js
import { createDeckApp } from 'araojs'
createDeckApp().mount('#app')<!doctype html>
<!-- index.html -->
<div id="app"></div>
<script type="module" src="/src/main.js"></script><!-- src/decks/Hello.vue: a deck is one file -->
<template lang="pug">
Deck
Slide(layout="cover")
h1 Hello, Arao
</template>npx vite # open http://localhost:5173Steps, code, themes, the PDF and every option: Getting started. With a coding agent: install the Arao skill.
Features
One canvas, every screen
A slide is drawn once, on a 1920x1080 canvas, and scaled whole to any window: it never reflows, it letterboxes.
Steps
Reveal a slide one press at a time with v-step. The slide counts its own steps, and the URL
says where you are.
Layouts and composition
A cover, a split, a grid of features, a quote, a statement, text over a picture, a picture and
its caption, a section: one prop each, plain HTML inside, no CSS; an agenda that follows the
talk, one component. Inside a block, a few utility classes (columns, a row, a stack, sizes, the
accent) read the theme's tokens. A layout of your own is one CSS file in src/layouts.
Code that walks itself
A code window coloured by Shiki, from a file named in the slide. Each step lights up its own lines or words.
Icons by name
Any Iconify icon or technology logo by its name, built in and offline, in the theme's colours or the brand's own.
Pictures and backgrounds
Name a file of the images folder: a picture behind the slide, beside the text, or faded and blurred under it.
Themes are tokens
A theme is a handful of CSS variables. Press t and the same slides go to another venue.
Presenter view
Press p: the slide, what the next press shows, the notes of this step and a countdown, in
step with every window.
All your talks in one project
Keep every deck side by side, sharing components, code and pictures. Open the project and pick a talk by its cover.
Keyboard and touch
Arrows to move, taps and swipes on a phone. Type a slide number and Enter to go straight
there, as in Keynote; or press g to search the slides by title and see where you are.
PDF export
One command, one PDF: a page per step (or per slide), text kept as text. Every page is measured: a slide that does not fit is listed, with by how much.
Ready for your coding agent
Write slides yourself, or ask your agent: Arao comes with a skill for coding agents. Install it, and your agent writes and checks decks the Arao way.
Documentation
| | | |---|---| | Getting started | from an empty folder to a deck on the screen and in a PDF | | Guides | layouts, steps, code, icons, themes, presenting, export, hosting, extending | | Reference | every component, directive, composable, token, plugin option, CLI flag and URL | | The Arao skill | the skill for coding agents writing decks: rules, recipes, how to check a deck | | CONTRIBUTING.md | developing, testing, documenting and releasing Arao |
License
Apache License 2.0 · Copyright 2026 Ruben Pahino
Arao owes its starting idea to eagle.js, by Zulko and its contributors: slides as Vue components. Icons come from the Lucide and Simple Icons sets through Iconify, and code colours from Shiki, each under its own licence.
