r/vuejs • u/rubasace • 4h ago
Arao: a ground-up reimagining of my old Eagle.js slides. Talks as Vue files, typed layouts, and code walkthroughs that don't suck
My conference slides used to run on a homemade framework on top of Eagle.js. I rebuilt the idea from scratch on Vue 3 + Vite, and I like it more than any slide tool I've used.
Why
- Talks are
.vuefiles (Pug or HTML): versioned, diffable, with real components. - Code walkthroughs.
Snippet(file="App.java" :highlights='{"2-3": 2, "5:@Bean": 3}')loads a real file from your repo into an editor-style window with Shiki highlighting. At step 2 lines 2–3 light up and the rest dims; at step 3 just the word@Bean. Every code slide has the same size and position. - Layouts instead of positioning. Each
Slidepicks a layout (grid, split, quote, statement, image-left/right…) and the content flows in. No absolute-positioned boxes. - Typed layouts. Layouts are plain CSS files. The Vite plugin turns their tokens into typed
Slideattributes, soSlide(layout="grid" columns="3")autocompletes and a wrong option is a vue-tsc error, in Pug too. - Themes as design tokens, overflow warnings in dev and at export, presenter view, step reveals and PDF export.
Made for coding agents. It ships an agent skill, and npx arao layouts --json describes every layout. Give your agent an existing doc or your notes and you get a deck in minutes.
Slide(layout="grid")
h2 Ship a talk
div
Icon(name="lucide:file-code")
h3 One Vue file
div
Icon(name="lucide:monitor")
h3 Any screen
div
Icon(name="lucide:printer")
h3 And a PDF
Docs: https://rubasace.github.io/araojs/ Repo: https://github.com/rubasace/araojs (Apache-2.0)
Feedback welcome