Browser interface

The browser version is a React DOM application built with Vite. It shares Quizdeck's question and progress rules with the CLI, but uses native browser inputs, buttons, dialogs, and IndexedDB. Pointer, touch, Tab navigation, and keyboard shortcuts are supported; shortcuts do not intercept text editing or composition.

Open the published app

Open quizdeck.sabinmarcu.com in your browser. The Demo Set appears on first launch if this browser profile has no saved set.

Serve it through the CLI

Install Node.js 24 as described on the CLI page, then serve the bundled web app without installing the package in a project:

yarn dlx -p @sabinmarcu/quizdeck quizdeck web
sh

Open http://127.0.0.1:4173. The command stays in the foreground until Ctrl-C, serves only built assets, and does not open SQLite. If the port is occupied, it fails rather than selecting a different origin.

Run from a cloned repository

From a checkout with Node.js 24.18.0, Yarn 4.18.1, and Proto available:

proto install
yarn install
yarn dev:web
sh

Vite prints its development URL. To serve the built web app through the CLI instead, run:

yarn build
yarn cli web
sh

The web command does not build missing assets. A development URL, the local built app's URL, and the published website use separate IndexedDB stores.

Load a JSON file

Use Load question set on Learn, Practice, or Extras, or drop one JSON file onto the ready app. The file picker and confirmation are keyboard operable. A valid file always opens a replacement confirmation; cancelling preserves the old set. Invalid or multiple-file drops show errors rather than navigating away. After a successful replacement, the interface returns to Learn and displays a temporary status message. The accepted JSON structure is described in How it works.

Study and manage sets

Learn offers search, status filtering, and a paginated question list (25 per page by default, with an adjustable positive whole-number page size). Buttons and keyboard navigation open details, choose answers, and return to the list. Question feedback identifies correct and incorrect choices with text as well as color. Reset requires confirmation.

Practice history lets you start or revisit runs, inspect earlier answers, pause, resume, and open completed reports. The browser automatically pauses active timing when the page is hidden, loses focus, or Extras is open; a manual pause does not auto-resume. The current run does not disclose the score or explanations until it is finished.

Browser storage limits

Quizdeck asks the browser for persistent retention. If that request is denied or unavailable, IndexedDB remains best-effort; clearing site data, private-session teardown, or browser eviction can remove progress. If storage itself is unavailable, startup reports an error rather than pretending that progress can be saved. Browser data is tied to its profile and origin, not to the SQLite data used by quizdeck in a terminal.

Built and maintained by Sabin Marcu

(2025 -2026)

Table of contents

Experiments