About this project
Tessera is a JavaScript framework for building interactive eLearning courses, designed for AI-assisted authoring. It runs in any LMS that supports SCORM 1.2, SCORM 2004, cmi5, xAPI, or static web. The framework is built on Svelte and Vite, with pages as `.svelte` files. It's designed to be used with AI coding assistants like Claude Code or Codex, which read the `AGENTS.md` file scaffolded in every project to guide course creation.
Key features include:
- **Workspace structure**: A single package can hold multiple courses under `courses/<name>/`, plus a `shared/` design system importable as `$shared`. Each course exports independently.
- **LMS data contract**: Tessera handles tracking, completion, scoring, navigation, and persistence, reporting back to the LMS automatically.
- **One command export**: Builds courses as SCORM 1.2, SCORM 2004, cmi5, xAPI 1.0.3, or static web bundles from the same source.
- **Built-in components**: Includes `Callout`, `Image`, `MultipleChoice`, etc., as reference examples, but there's no required look or layout.
- **Hooks API**: `useQuestion`, `useQuiz`, `useNavigation`, `useProgress`, `useCompletion`, `usePersistence`, `useXAPI` for building custom components.
- **Validation and accessibility**: `pnpm validate` checks structure, `pnpm a11y` runs an axe-core audit, and `pnpm check` combines both.
Quick start: `pnpm create tessera@latest my-courses`, then `pnpm dev starter-course`. Requires Node.js 24+ and pnpm. The framework is MIT licensed and welcomes contributions.
Comments
0 people shared their preference · Deer Point appears after 10 participants
Sign in to join the discussion.