Skip to content

Commit 382436a

Browse files
authored
Merge pull request #71 from missing-elements/deps/h5p-author-0.12.0
Pin h5p-author 0.12.0, and say "no server of ours"
2 parents 35fc2e9 + a87c487 commit 382436a

5 files changed

Lines changed: 46 additions & 28 deletions

File tree

‎package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
"@codemirror/state": "6.7.6",
2929
"@codemirror/view": "6.43.15",
3030
"@lezer/highlight": "1.2.5",
31-
"@missing-elements/h5p-author": "0.11.0",
31+
"@missing-elements/h5p-author": "0.12.0",
3232
"@missing-elements/h5p-libraries": "1.1.0",
3333
"@missing-elements/h5p-offline-player": "1.6.0",
3434
"@missing-elements/h5p-runtime": "1.0.1",

‎pnpm-lock.yaml‎

Lines changed: 15 additions & 9 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎src/h5p/build/index.njk‎

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
---
22
layout: base.njk
33
# The title and description carry what people search for: an AI H5P generator, with ChatGPT and the
4-
# like, and what sets it apart, in the owner's words: privacy first, no MCP server. The description
4+
# like, and what sets it apart, in the owner's words: privacy first, no server of ours. The description
55
# counts the types as the hero does, in the release the page runs.
66
title: "Free AI H5P generator, privacy first: make H5P with ChatGPT, Claude or Grok"
77
eleventyComputed:
8-
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."
8+
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."
99
# The picture a shared link shows: the page's first screen at 1200×630, light, with the sample
1010
# settled. It is a screenshot, so take it again when that screen changes.
1111
socialImage:
@@ -102,7 +102,7 @@ csp: "default-src 'self'; script-src 'self'; style-src 'self'; img-src 'self' da
102102
</li>
103103
<li class="feature">
104104
<span class="feature-icon icon-browser" aria-hidden="true"></span>
105-
<h3>Privacy first, no MCP server</h3>
105+
<h3>Privacy first, no server of ours</h3>
106106
<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>
107107
</li>
108108
<li class="feature">
@@ -328,8 +328,9 @@ csp: "default-src 'self'; script-src 'self'; style-src 'self'; img-src 'self' da
328328
{%- set footNote %}
329329
<p>
330330
Built with <a href="https://github.com/missing-elements/h5p-offline-player">h5p-offline-player</a>
331-
and <code>@missing-elements/h5p-author</code>, MIT. The H5P runtime the player loads is
332-
<a href="/h5p/assets/runtime-LICENSE.txt">GPL-3.0</a>.
331+
and <code>@missing-elements/h5p-author</code>, MIT, among
332+
<a href="/h5p/assets/build-page-LICENSES.txt">the packages the page bundles</a>. The H5P runtime
333+
the player loads is <a href="/h5p/assets/runtime-LICENSE.txt">GPL-3.0</a>.
333334
</p>
334335
{%- endset %}
335336
{% include "site-foot.njk" %}

‎src/h5p/create-with-ai/index.njk‎

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -245,11 +245,14 @@ csp: "default-src 'self'; script-src 'self'; style-src 'self'; img-src 'self'; o
245245
<a href="https://github.com/missing-elements/h5p-offline-player">h5p-offline-player</a>. The H5P
246246
runtime the player loads is <a href="/h5p/assets/runtime-LICENSE.txt">GPL-3.0</a>, and the H5P
247247
libraries in a file are each under their own licence, most MIT, as
248-
<a href="/h5p/assets/libraries-LICENSES.txt">the pack's licence list</a> says.
248+
<a href="/h5p/assets/libraries-LICENSES.txt">the pack's licence list</a> says. The packages
249+
bundled into the build page and into the build archive's tool are listed with their licences
250+
in <a href="/h5p/assets/build-page-LICENSES.txt">the page's list</a> and
251+
<a href="/h5p/bundles/h5p-author-LICENSES.txt">the tool's</a>.
249252
</p>
250253
<p>
251-
Privacy first: nothing you make is sent to this site, and there is no MCP server or other
252-
server of ours in between. The chat builds the file in its own sandbox, or the build page
254+
Privacy first: nothing you make is sent to this site, and there is no server of ours in
255+
between. The chat builds the file in its own sandbox, or the build page
253256
builds and plays it in your browser. Your AI chat sees what you send it, as it sees
254257
anything you ask it.
255258
</p>

‎vite.config.ts‎

Lines changed: 18 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -141,13 +141,13 @@ function sample(): Plugin {
141141
* `/h5p/bundles/`, for a chat that runs Node but reaches no npm registry. The h5p-author skill
142142
* builds there from what it gets from here:
143143
*
144-
* - `h5p-author-build.tar.gz`: the command line, every part of the pack with its index, and
145-
* `libraries.txt`, which the person downloads once and attaches to a chat whose code can fetch
146-
* nothing. ChatGPT's cannot: its download tool saved none of eleven files tried on 2026-11-13,
147-
* ours or any site's, and an installed plugin's files never reach it. With this attached it
148-
* built, as Claude and Grok did. Every type in one file, since it is downloaded before a type is
149-
* chosen; a `.tar.gz`, since ChatGPT took the same files as a `.zip` for a plugin to install and
150-
* refused it.
144+
* - `h5p-author-build.tar.gz`: the command line and its licence list, every part of the pack with
145+
* its index, and `libraries.txt`, which the person downloads once and attaches to a chat whose
146+
* code can fetch nothing. ChatGPT's cannot: its download tool saved none of eleven files tried
147+
* on 2026-11-13, ours or any site's, and an installed plugin's files never reach it. With this
148+
* attached it built, as Claude and Grok did. Every type in one file, since it is downloaded
149+
* before a type is chosen; a `.tar.gz`, since ChatGPT took the same files as a `.zip` for a
150+
* plugin to install and refused it.
151151
* - `<type>.zip`, one per content type in the pack (`h5p-author bundle --all`): `parts/`, the
152152
* pack's whole index with the parts a build of that type can read, and `libraries.txt`. With
153153
* the command line, two files a chat that can fetch takes from here: Grok built that way on
@@ -159,6 +159,9 @@ function sample(): Plugin {
159159
* it. Since 0.9.8 its `--version` prints the versions from copies of the two package.json files
160160
* Vite writes in (h5p-offline-player#198); before, it crashed, finding neither beside it. The
161161
* build runs it and stops where it does not print the versions `index.json` says.
162+
* - `h5p-author-LICENSES.txt`: every package bundled into `h5p-author.mjs` with its licence, as
163+
* Vite lists them, since MIT and BSD-3-Clause ask their notices to travel with copies (zod came
164+
* in with h5p-author 0.12.0; zip.js was in already). It goes into the archive with the tool.
162165
* - `index.json`: the author's and the pack's versions, and each bundle's file, size and parts.
163166
* - `libraries.txt`: the pack's licence list, which asks to travel with its libraries.
164167
*
@@ -196,6 +199,7 @@ function bundles(): Plugin {
196199
emptyOutDir: false,
197200
copyPublicDir: false,
198201
minify: false,
202+
license: { fileName: 'h5p-author-LICENSES.txt' },
199203
reportCompressedSize: false,
200204
rolldownOptions: { output: { entryFileNames: 'h5p-author.mjs', format: 'es', codeSplitting: false } }
201205
},
@@ -208,6 +212,7 @@ function bundles(): Plugin {
208212
// The archive lays them out as a build from the bundles does: `tar -xzf`, then `--libraries parts`.
209213
const archive = tarGz([
210214
['h5p-author.mjs', await readFile(join(folder, 'h5p-author.mjs'))],
215+
['h5p-author-LICENSES.txt', await readFile(join(folder, 'h5p-author-LICENSES.txt'))],
211216
['libraries.txt', await readFile(join(folder, 'libraries.txt'))],
212217
['parts/index.json', await readFile(join(parts, 'index.json'))],
213218
...(await Promise.all(index.libraries.map(async ({ folder: part }) => [`parts/${part}.h5p`, await readFile(join(parts, `${part}.h5p`))] as const)))
@@ -300,7 +305,7 @@ function tarGz(files: ReadonlyArray<readonly [string, Uint8Array]>): Buffer {
300305
* ChatGPT's code cannot read a plugin's files, so neither carries the build tool:
301306
* where a chat's code cannot reach it, the person attaches `bundles()`'s archive, or the build page
302307
* builds. The plugin's description leads with what sets it apart, in the owner's words: privacy
303-
* first, no MCP server, so nothing a person makes passes through a server of ours.
308+
* first, no server of ours, so nothing a person makes passes through us.
304309
*/
305310
function skillZips(): Plugin {
306311
const author = new URL('./node_modules/@missing-elements/h5p-author/', import.meta.url)
@@ -324,7 +329,7 @@ function skillZips(): Plugin {
324329
$schema: 'https://agent-plugins.org/schemas/1.0.0/plugin.schema.json',
325330
name: 'h5p-author',
326331
version,
327-
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.',
332+
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.',
328333
author: { name: 'Missing Elements', url: 'https://github.com/missing-elements' },
329334
homepage: guide,
330335
repository: 'https://github.com/missing-elements/h5p-offline-player',
@@ -334,7 +339,7 @@ function skillZips(): Plugin {
334339
'com.openai': {
335340
interface: {
336341
displayName: 'H5P Author by Missing Elements',
337-
shortDescription: 'H5P activities from a prompt: privacy first, no MCP server',
342+
shortDescription: 'H5P activities from a prompt: privacy first, no server of ours',
338343
developerName: 'Missing Elements',
339344
websiteURL: guide
340345
}
@@ -380,6 +385,9 @@ export default defineConfig({
380385
outDir: '_site',
381386
emptyOutDir: false,
382387
assetsDir: ASSETS,
388+
// Every package bundled into the page's scripts with its licence (zod, zip.js, CodeMirror and
389+
// ours), beside the runtime's and the pack's: MIT and BSD-3-Clause ask it to travel with them.
390+
license: { fileName: `${ASSETS}/build-page-LICENSES.txt` },
383391
rolldownOptions: {
384392
input: { 'build-page': 'src/h5p/build/build-page.ts' },
385393
output: { entryFileNames: 'h5p/build/[name].js' }

0 commit comments

Comments
 (0)