Skip to content
course-kit
Menu

course-kit A course website from a few data files.

Describe your course in a few JSON files and write your slides in Markdown. Course kit builds the home page, schedule, slide decks, practice worksheets and instructor lesson plans, with light and dark themes and a syllabus that prints clean.

  • Free & open source
  • License: MPL-2.0
  • Node 24+

Built for the people who teach, and the students who read it

Course kit is for instructors who want a course site that stays current without a web team. Students get one place for the syllabus, the schedule, slides, practice and a glossary, on a phone, a laptop or paper.

Quick start

Three steps from an empty folder to a course site you can edit. Node 24 or later.

  1. Install the kit

    Terminal
    $ npm install @allons-y/course-kit
  2. Add it to Eleventy

    JavaScripteleventy.config.js
    import courseKit from "@allons-y/course-kit";

    export default function (config) {
    courseKit(config, {
    institution: { name: "Example College", timezone: "America/New_York" },
    });
    }
  3. Start from the starter course

    Terminal
    $ cp -rn node_modules/@allons-y/course-kit/examples/starter/. .
    $ npx eleventy --serve

Features

  • A syllabus and schedule from data

    Put the course, the calendar, grading and policies in small JSON files. The kit works out each meeting's date, skips holidays, marks today's class and prints the syllabus to PDF.

  • Slides you present from

    Write each deck in Markdown. Speaker notes stay off the slide and land on a printable notes sheet, and every vocabulary slide becomes a glossary entry.

  • Practice worksheets students check themselves

    Write questions in Markdown: choice, matching, fill in the blank, diagrams and code. Each answer links back to the slide that taught it, and answers stay in the student's browser.

  • Lesson plans only you see

    Every class meeting gets a lesson plan and the speaker notes. The instructor build includes them and the student build leaves them out.

  • Every component, rendered

    A page for each component with its props and slots, examples in light, dark and phone widths, an accessibility check, and the color tokens it reads.

Accessibility is the baseline

The kit targets WCAG 2.2 level AAA, or stricter, for every component, because its readers are students working on whatever device and in whatever light they have.

  • 7:1 text contrast

    Every text token holds 7:1 or better on every ground it is used on, in light and dark. Unit tests check each pair.

  • Targets and focus

    Controls are at least 44 pixels, with one solid focus ring that holds 3:1 or better.

  • Checked on every change

    axe-core runs against every page in light, dark and forced colors. Reduced motion is honored.

Read the docs

Allons-y Studio

Let's build something great together

A front-end & design systems studio helping teams ship consistent, accessible UI faster.