Repository avatar
Other Tools
v1.0.0
active

quizbyt

io.github.drupalmind/quizbyt

Free school quizzes and lessons, Class 1 to A Level: find topics, read notes, get embed code.

Documentation

QuizByt embed

Free, self-marking quizzes and interactive lessons from QuizByt on your own website. Give a class, a subject and a topic, and you get a quiz or a lesson your students can use right on your page. They need no account, you need no API key, and the embed sets no cookies.

It covers Class 1 to 10, IGCSE, O Level and A Level, in Mathematics, Science, English, Computer Science, Physics, Chemistry and Biology.

See it on a real page

A school's Class 1 maths page with a QuizByt lesson and quiz, each added with two lines of HTML. Try it live on quizbyt.com, or open examples/html/school-page.html.

A school website showing an embedded QuizByt lesson on subtraction to 20, then the quiz The same page on a phone

Pick your way in

You haveUseGuide
A WordPress siteThe plugin: a block, a shortcode and a pickerwordpress/quizbyt
Any other site (Wix, Squarespace, Blogger, Google Sites, plain HTML)One script tagdocs/embed.md
A site that blocks scriptsA plain iframedocs/embed.md
Claude (Claude Code, desktop or claude.ai)The QuizByt plugin, or the MCP connectorUse QuizByt in Claude
An app or a learning platformThe JSON API, with samples in nine languagesdocs/api.md

Quick start

WordPress:

[quizbyt class="class-5" subject="mathematics" topic="decimals" type="quiz"]

Any site:

<div class="quizbyt-embed" data-class="class-5" data-subject="mathematics"
     data-topic="decimals" data-type="lesson"></div>
<script src="https://app.quizbyt.com/embed.js" async></script>

Find a topic: every class, subject and topic id is listed in catalog.json. The WordPress plugin and app.quizbyt.com/embed have pickers, so you don't have to read it yourself.

Use QuizByt in Claude

The QuizByt plugin for Claude finds topics, writes the embed code for your site, plans lessons from QuizByt material, and helps developers with the API. It uses the QuizByt MCP server at https://app.quizbyt.com/mcp, which is read-only and needs no account or key. See docs/mcp.md for its tools.

Claude Code:

/plugin install quizbyt --marketplace drupalmind/quizbyt-embed

On older versions, add the marketplace first: /plugin marketplace add drupalmind/quizbyt-embed, then /plugin install quizbyt@quizbyt.

Claude desktop or claude.ai: go to Settings > Connectors > Add custom connector, and enter https://app.quizbyt.com/mcp.

Then ask, for example:

  • "Put a Class 3 fractions quiz on my WordPress blog."
  • "Plan a week on photosynthesis for O Level biology, with a lesson and a quiz each day."
  • "Write a Python script that lists QuizByt quizzes for Class 5 maths."

It has three skills: embed-a-quiz-or-lesson, teach-a-topic and build-with-the-api. The plugin lives in claude-plugin/.

Install the WordPress plugin

  1. Download this repository as a zip, or clone it.
  2. Zip the wordpress/quizbyt folder (or run ./build.sh, which writes dist/quizbyt.zip).
  3. In WordPress, go to Plugins > Add New > Upload Plugin, choose the zip, and activate it.
  4. Add the QuizByt quiz or lesson block, or use Settings > QuizByt to pick a topic and copy its shortcode.

What's in this repository

wordpress/quizbyt/   the WordPress plugin (PHP, no build step)
claude-plugin/       the Claude plugin: MCP server and three skills
embed/               embed.js, the one-line script for any site
docs/embed.md        every way to embed, with all the options
docs/api.md          the full JSON API reference
examples/api/        API samples: cURL, JavaScript, TypeScript, Python, PHP, Go, Java, Ruby, C#
examples/html/       pages you can open in a browser (school-page.html is the one in the screenshot)
docs/screenshots/    how an embed looks on a site

The two rules

  1. Credit stays. Keep the "Quiz by QuizByt" line, linked. The plugin and the script add it for you.
  2. API keys stay on your server. The embeds need no key. If you use the API, never put your key in a page.

Support

Write to info@quizbyt.com, or open an issue. Contributions are welcome. See CONTRIBUTING.md.

Licence

MIT. See LICENSE. The quizzes and lessons themselves belong to QuizByt and are shown under its terms.

No installation packages available.

Remote