Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"@codemirror/state": "6.7.6",
"@codemirror/view": "6.43.15",
"@lezer/highlight": "1.2.5",
"@missing-elements/h5p-author": "0.11.0",
"@missing-elements/h5p-author": "0.12.0",
"@missing-elements/h5p-libraries": "1.1.0",
"@missing-elements/h5p-offline-player": "1.6.0",
"@missing-elements/h5p-runtime": "1.0.1",
Expand Down
24 changes: 15 additions & 9 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 6 additions & 5 deletions src/h5p/build/index.njk
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
---
layout: base.njk
# The title and description carry what people search for: an AI H5P generator, with ChatGPT and the
# like, and what sets it apart, in the owner's words: privacy first, no MCP server. The description
# like, and what sets it apart, in the owner's words: privacy first, no server of ours. The description
# counts the types as the hero does, in the release the page runs.
title: "Free AI H5P generator, privacy first: make H5P with ChatGPT, Claude or Grok"
eleventyComputed:
description: "Describe a lesson to ChatGPT, Claude or Grok and get an H5P activity for Moodle: a quiz, a course presentation or any of {{ skill.offered.length }} H5P types. Free, privacy first: no MCP server, no account."
description: "Describe a lesson to ChatGPT, Claude or Grok and get an H5P activity for Moodle: a quiz, a course presentation or any of {{ skill.offered.length }} H5P types. Free, privacy first: no server of ours, no account."
# The picture a shared link shows: the page's first screen at 1200×630, light, with the sample
# settled. It is a screenshot, so take it again when that screen changes.
socialImage:
Expand Down Expand Up @@ -102,7 +102,7 @@ csp: "default-src 'self'; script-src 'self'; style-src 'self'; img-src 'self' da
</li>
<li class="feature">
<span class="feature-icon icon-browser" aria-hidden="true"></span>
<h3>Privacy first, no MCP server</h3>
<h3>Privacy first, no server of ours</h3>
<p>Your chat builds the activity in its own sandbox, or this page builds and plays it on your computer: nothing you make is sent to us. It is free and <a href="https://github.com/missing-elements/missing-elements.github.io/tree/main/src/h5p/build">open source</a>, and needs no account.</p>
</li>
<li class="feature">
Expand Down Expand Up @@ -328,8 +328,9 @@ csp: "default-src 'self'; script-src 'self'; style-src 'self'; img-src 'self' da
{%- set footNote %}
<p>
Built with <a href="https://github.com/missing-elements/h5p-offline-player">h5p-offline-player</a>
and <code>@missing-elements/h5p-author</code>, MIT. The H5P runtime the player loads is
<a href="/h5p/assets/runtime-LICENSE.txt">GPL-3.0</a>.
and <code>@missing-elements/h5p-author</code>, MIT, among
<a href="/h5p/assets/build-page-LICENSES.txt">the packages the page bundles</a>. The H5P runtime
the player loads is <a href="/h5p/assets/runtime-LICENSE.txt">GPL-3.0</a>.
</p>
{%- endset %}
{% include "site-foot.njk" %}
Expand Down
9 changes: 6 additions & 3 deletions src/h5p/create-with-ai/index.njk
Original file line number Diff line number Diff line change
Expand Up @@ -245,11 +245,14 @@ csp: "default-src 'self'; script-src 'self'; style-src 'self'; img-src 'self'; o
<a href="https://github.com/missing-elements/h5p-offline-player">h5p-offline-player</a>. The H5P
runtime the player loads is <a href="/h5p/assets/runtime-LICENSE.txt">GPL-3.0</a>, and the H5P
libraries in a file are each under their own licence, most MIT, as
<a href="/h5p/assets/libraries-LICENSES.txt">the pack's licence list</a> says.
<a href="/h5p/assets/libraries-LICENSES.txt">the pack's licence list</a> says. The packages
bundled into the build page and into the build archive's tool are listed with their licences
in <a href="/h5p/assets/build-page-LICENSES.txt">the page's list</a> and
<a href="/h5p/bundles/h5p-author-LICENSES.txt">the tool's</a>.
</p>
<p>
Privacy first: nothing you make is sent to this site, and there is no MCP server or other
server of ours in between. The chat builds the file in its own sandbox, or the build page
Privacy first: nothing you make is sent to this site, and there is no server of ours in
between. The chat builds the file in its own sandbox, or the build page
builds and plays it in your browser. Your AI chat sees what you send it, as it sees
anything you ask it.
</p>
Expand Down
28 changes: 18 additions & 10 deletions vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -141,13 +141,13 @@ function sample(): Plugin {
* `/h5p/bundles/`, for a chat that runs Node but reaches no npm registry. The h5p-author skill
* builds there from what it gets from here:
*
* - `h5p-author-build.tar.gz`: the command line, every part of the pack with its index, and
* `libraries.txt`, which the person downloads once and attaches to a chat whose code can fetch
* nothing. ChatGPT's cannot: its download tool saved none of eleven files tried on 2026-11-13,
* ours or any site's, and an installed plugin's files never reach it. With this attached it
* built, as Claude and Grok did. Every type in one file, since it is downloaded before a type is
* chosen; a `.tar.gz`, since ChatGPT took the same files as a `.zip` for a plugin to install and
* refused it.
* - `h5p-author-build.tar.gz`: the command line and its licence list, every part of the pack with
* its index, and `libraries.txt`, which the person downloads once and attaches to a chat whose
* code can fetch nothing. ChatGPT's cannot: its download tool saved none of eleven files tried
* on 2026-11-13, ours or any site's, and an installed plugin's files never reach it. With this
* attached it built, as Claude and Grok did. Every type in one file, since it is downloaded
* before a type is chosen; a `.tar.gz`, since ChatGPT took the same files as a `.zip` for a
* plugin to install and refused it.
* - `<type>.zip`, one per content type in the pack (`h5p-author bundle --all`): `parts/`, the
* pack's whole index with the parts a build of that type can read, and `libraries.txt`. With
* the command line, two files a chat that can fetch takes from here: Grok built that way on
Expand All @@ -159,6 +159,9 @@ function sample(): Plugin {
* it. Since 0.9.8 its `--version` prints the versions from copies of the two package.json files
* Vite writes in (h5p-offline-player#198); before, it crashed, finding neither beside it. The
* build runs it and stops where it does not print the versions `index.json` says.
* - `h5p-author-LICENSES.txt`: every package bundled into `h5p-author.mjs` with its licence, as
* Vite lists them, since MIT and BSD-3-Clause ask their notices to travel with copies (zod came
* in with h5p-author 0.12.0; zip.js was in already). It goes into the archive with the tool.
* - `index.json`: the author's and the pack's versions, and each bundle's file, size and parts.
* - `libraries.txt`: the pack's licence list, which asks to travel with its libraries.
*
Expand Down Expand Up @@ -196,6 +199,7 @@ function bundles(): Plugin {
emptyOutDir: false,
copyPublicDir: false,
minify: false,
license: { fileName: 'h5p-author-LICENSES.txt' },
reportCompressedSize: false,
rolldownOptions: { output: { entryFileNames: 'h5p-author.mjs', format: 'es', codeSplitting: false } }
},
Expand All @@ -208,6 +212,7 @@ function bundles(): Plugin {
// The archive lays them out as a build from the bundles does: `tar -xzf`, then `--libraries parts`.
const archive = tarGz([
['h5p-author.mjs', await readFile(join(folder, 'h5p-author.mjs'))],
['h5p-author-LICENSES.txt', await readFile(join(folder, 'h5p-author-LICENSES.txt'))],
['libraries.txt', await readFile(join(folder, 'libraries.txt'))],
['parts/index.json', await readFile(join(parts, 'index.json'))],
...(await Promise.all(index.libraries.map(async ({ folder: part }) => [`parts/${part}.h5p`, await readFile(join(parts, `${part}.h5p`))] as const)))
Expand Down Expand Up @@ -300,7 +305,7 @@ function tarGz(files: ReadonlyArray<readonly [string, Uint8Array]>): Buffer {
* ChatGPT's code cannot read a plugin's files, so neither carries the build tool:
* where a chat's code cannot reach it, the person attaches `bundles()`'s archive, or the build page
* builds. The plugin's description leads with what sets it apart, in the owner's words: privacy
* first, no MCP server, so nothing a person makes passes through a server of ours.
* first, no server of ours, so nothing a person makes passes through us.
*/
function skillZips(): Plugin {
const author = new URL('./node_modules/@missing-elements/h5p-author/', import.meta.url)
Expand All @@ -324,7 +329,7 @@ function skillZips(): Plugin {
$schema: 'https://agent-plugins.org/schemas/1.0.0/plugin.schema.json',
name: 'h5p-author',
version,
description: 'Privacy first, no MCP server: create H5P content from a prompt, a lesson or supplied material, as a playable .h5p (quizzes, flash cards, presentations, interactive books and more). It is built in your chat\'s own sandbox or in your browser, and nothing you make is sent to us.',
description: 'Privacy first, no server of ours: create H5P content from a prompt, a lesson or supplied material, as a playable .h5p (quizzes, flash cards, presentations, interactive books and more). It is built in your chat\'s own sandbox or in your browser, and nothing you make is sent to us.',
author: { name: 'Missing Elements', url: 'https://github.com/missing-elements' },
homepage: guide,
repository: 'https://github.com/missing-elements/h5p-offline-player',
Expand All @@ -334,7 +339,7 @@ function skillZips(): Plugin {
'com.openai': {
interface: {
displayName: 'H5P Author by Missing Elements',
shortDescription: 'H5P activities from a prompt: privacy first, no MCP server',
shortDescription: 'H5P activities from a prompt: privacy first, no server of ours',
developerName: 'Missing Elements',
websiteURL: guide
}
Expand Down Expand Up @@ -380,6 +385,9 @@ export default defineConfig({
outDir: '_site',
emptyOutDir: false,
assetsDir: ASSETS,
// Every package bundled into the page's scripts with its licence (zod, zip.js, CodeMirror and
// ours), beside the runtime's and the pack's: MIT and BSD-3-Clause ask it to travel with them.
license: { fileName: `${ASSETS}/build-page-LICENSES.txt` },
rolldownOptions: {
input: { 'build-page': 'src/h5p/build/build-page.ts' },
output: { entryFileNames: 'h5p/build/[name].js' }
Expand Down
Loading