WorksheetWiz – AI Worksheet Generator for Teachers | Vibe96

Education

WorksheetWiz – AI Worksheet Generator for Teachers

Source code included

AI worksheet generator for teachers and schools: printable worksheets with answer keys, Word export and a saved library.

Built by Mohammad Akbar Ali Updated 26 Nov 2026 1,342 lines of code

Open live demo Built withClaude Code

About this software

About WorksheetWiz – AI Worksheet Generator for Teachers

WorksheetWiz turns a topic, grade, difficulty and chosen question types into a printable worksheet with a separate answer key and a teacher's note per answer. It is a zero-dependency Node.js 18+ server (server.js plus lib/ modules) with a vanilla HTML/CSS/JS front end, no build step and no database. Generation runs through Anthropic Claude, OpenAI or any OpenAI-compatible API chosen in .env, and a demo mode serves sample worksheets from data/samples.json without an API key. Teachers can edit text on the page, print or save as PDF, export to Word (.doc), and keep worksheets in a browser-based library. A password lock and per-IP hourly rate limit protect the API bill. Full source is included with a Dockerfile, docker-compose.yml, API and deployment docs, and three test files run with node --test. AI output can contain mistakes, so the README advises teachers to review each worksheet.

Category: EducationStack: None: zero-dependency Node.js http module, vanilla HTML/CSS/JS front end · None: no database; saved worksheets live in each user's browser localStorageBuilt with: Claude Code Licence: Single-site, full source

Why WorksheetWiz – AI Worksheet Generator for Teachers

What makes it better
than the alternatives

  1. 01

    Seven question types

    Multiple choice, fill in the blanks, true/false, short and long answer, matching, and reading comprehension with an original passage.

  2. 02

    Instant answer key

    Every worksheet comes with a separate answer key and a short teacher's note explaining each answer.

  3. 03

    Edit, print and export

    Change any text directly on the page, then print, save as an A4 PDF or download a Word file.

  4. 04

    Zero dependencies, any AI

    No npm install, build step or database; works with Claude, OpenAI or any OpenAI-compatible API.

  5. 05

    Safe to run publicly

    Free demo mode with no API key, plus a password lock and hourly rate limit to control AI costs.

Worksheet Generation

  • Form with topic
  • subject
  • level
  • difficulty and question-type checkboxes
  • Optional curriculum and language settings per README
  • Prompt building
  • JSON extraction and validation in lib/prompt.js
  • Example topic buttons that fill the form and submit

Question Types and Rendering

  • Seven question types: mcq
  • fill_blank
  • true_false
  • short_answer
  • long_answer
  • matching
  • reading
  • Marks per section and total
  • Name/class/date header
  • instructions and answer lines
  • Separate answer key view with explanation for each question

On-Page Editing

  • Edit mode makes worksheet text editable in place
  • data-path attributes map edits back to the worksheet object
  • Edit mode is switched off automatically before printing

Export and Print

  • Print or save as PDF with A4 print styles in styles.css
  • Word (.doc) export via public/js/export.js
  • School and teacher name shown on the worksheet header
  • with a marks toggle

My Worksheets Library

  • Save worksheets to the browser's localStorage
  • Library drawer to reopen saved worksheets
  • Header preferences remembered between visits

AI Providers and Demo Mode

  • Anthropic and OpenAI-compatible adapters
  • Provider auto-selected from whichever key is set
  • or demo mode when none
  • Sample worksheets in demo mode with a visible Demo banner and badge
  • Mode badge shows the active model

Security and Limits

  • Password lock on /api/generate returning 401 when wrong
  • In-memory per-IP hourly rate limiter returning 429
  • 100 KB request body limit and static-file path traversal guard
  • API keys kept server-side; HTML escaping via WW.esc

Deployment and Docs

  • Dockerfile on node:20-alpine and docker-compose.yml using .env
  • Endpoints: GET /api/config and POST /api/generate
  • README
  • HowToSetup
  • API.md
  • DEPLOYMENT.md
  • CHANGELOG and licence note
  • Tests for prompt parsing
  • security and server endpoints

Quality report

Manually reviewed

89/ 100

Automated audit score

✓ Passed the audit

Passed the audit and a manual review.
Audit run: 18 Nov 2026
Reviewed by Vibe96 staff, Dubai.

Security90
Code structure88
Docs & completeness81
Dependency health96
Build & deploy82
Reviewer notes (2 minor)

Zero-dependency node app is reproducible; minor docker and setup-doc gaps remain; only 3 routes; password lock is optional and weak, but no per-user data or admin routes exist. None of these stop the software from working; the developer has been told and improvements come in a future update.

Versions & updates

1.0.0
First release26 Nov 2026✓ Reviewed & audited

No updates yet. New versions appear here with a changelog.
Buyers receive updates free for 1 year.

Quality report

What you get

  • </>Full source codeThe complete audited source, delivered as a download from your account. No obfuscation.
  • ▤DocumentationSetup guide, architecture notes, CLAUDE.md and AGENTS.md.
  • ↻One year of updatesEvery new version the builder publishes, free for 12 months.
  • ♧30 days of supportInstallation and defect support through Vibe96 tickets.
$49Single-site licence Details
Vibe Studio Vibe Coding Platform

Build websites, mobile apps & business software.

  • .NET + SQL Server
  • Laravel + MySQL
  • Next.js + PostgreSQL
  • React Native
Build your software using AI
Nova, the Vibe Studio AI developer, with the Studio editor
Get it live

Your software. Your own domain.

$5/month

8-core CPU24 GB RAM
Shared high-performance servers
yourcompany.comLive
Make it live