DEDUPED Hot AI repos. Real use cases. What people build. Get the Monday 5

How to generate printable PDF handouts for a chapter with Worldmodels101

Build a chapter PDF with answer keys for a class, workshop, or reading packet.

Short answer: Run pnpm install in the cloned repository; then run pnpm dev and leave it running; in a second terminal, run pnpm pdf what-is-a-world-model 1. All steps.

  • Research
  • Intermediate
  • 30 minutes
  • From the README
  • Any agent

Who it is forAn instructor or team lead preparing a session on world models who needs printed reading material.

The problemTeaching from a web page is awkward when participants need paper copies or offline reading.

The outcomeYou have a PDF of a chapter in public/pdf/, with interactive controls removed, quizzes shown as static questions, and an answer key.

What you need first

  • A web browser, for reading the online course with no signup
  • pnpm, for the local commands in the README (the README does not state a Node version)
  • A second terminal window, for generating PDFs while the dev server runs

Steps

  1. Run pnpm install in the cloned repository.
  2. Run pnpm dev and leave it running.
  3. In a second terminal, run pnpm pdf what-is-a-world-model 1.
  4. Open the file written to public/pdf/ and check the print layout.

Prompt for your agent

In the NiluK/worldmodels101 repo, install dependencies, start the dev server, and run `pnpm pdf what-is-a-world-model 1` in a second shell. Report the path of the PDF written to public/pdf/ and confirm the file opens and includes a quiz answer key.

Caveat. The PDF command needs the dev server running in another shell, and the README says a chapter page links its PDF only when the file exists.

Use this in your AI agent

Ask your agent

Using the Deduped MCP, get the setup steps for NiluK/worldmodels101 and "Generate printable PDF handouts for a chapter"

Add Deduped to Claude Code once

claude mcp add --transport http deduped https://dedupedai.com/mcp

Cursor, ChatGPT, others

Share: X LinkedIn Hacker News Email Copy link

Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer