From a2aa7a78f539bb4d015a854f4d74e4700b18c443 Mon Sep 17 00:00:00 2001
From: Aleksandr Shevchuk
Date: Wed, 18 Nov 2026 13:58:23 +0200
Subject: [PATCH] Point the links at h5p-toolkit, the renamed repository
---
README.md | 4 ++--
src/_data/buildCost.js | 2 +-
src/_data/site.js | 16 ++++++++--------
src/h5p/build/build-source.ts | 8 ++++----
src/h5p/build/index.njk | 8 ++++----
src/h5p/create-with-ai/index.njk | 12 ++++++------
src/h5p/skill/index.njk | 8 ++++----
vite.config.ts | 6 +++---
8 files changed, 32 insertions(+), 32 deletions(-)
diff --git a/README.md b/README.md
index 401980d..dc96342 100644
--- a/README.md
+++ b/README.md
@@ -1,6 +1,6 @@
# missing-elements.github.io
-The site of the [missing-elements](https://github.com/missing-elements) web components, at : the docs of the PDF viewer, and the pages that make H5P content with an AI chat and the [h5p-author skill](https://github.com/missing-elements/h5p-offline-player/tree/main/skills/h5p-author).
+The site of the [missing-elements](https://github.com/missing-elements) web components, at : the docs of the PDF viewer, and the pages that make H5P content with an AI chat and the [h5p-author skill](https://github.com/missing-elements/h5p-toolkit/tree/main/skills/h5p-author).
## What it serves
@@ -50,4 +50,4 @@ The pages run published releases, pinned exactly in [package.json](package.json)
To move a pin, change its version in `package.json`, run `pnpm install`, then `pnpm build`, and commit the lockfile with it. Dependabot opens the pull requests for the pins as their own, apart from its group for everything else, and takes a new `@missing-elements` release the day it comes out where it holds other packages back for three days: [.github/dependabot.yml](.github/dependabot.yml) and [pnpm-workspace.yaml](pnpm-workspace.yaml) say why.
-The rules behind the H5P pages, and what was measured to reach them, are in [design/author.md](https://github.com/missing-elements/h5p-offline-player/blob/main/design/author.md) of h5p-offline-player, where the skill and its packages live.
+The rules behind the H5P pages, and what was measured to reach them, are in [design/author.md](https://github.com/missing-elements/h5p-toolkit/blob/main/design/author.md) of h5p-toolkit, where the skill and its packages live.
diff --git a/src/_data/buildCost.js b/src/_data/buildCost.js
index d7c894f..b12342c 100644
--- a/src/_data/buildCost.js
+++ b/src/_data/buildCost.js
@@ -10,7 +10,7 @@ import { buildPackage } from "@missing-elements/h5p-author";
// A chat asked plainly for an H5P activity has to write the two files that are its content,
// content.json and h5p.json. With the h5p-author skill it writes the source, and the build writes
// those two from it. Both are counted as JSON on one line, with no layout, and in tokens at four
-// characters a token, the rule design/author.md of h5p-offline-player measures by. Tokens are a
+// characters a token, the rule design/author.md of h5p-toolkit measures by. Tokens are a
// model's own, so they are said as "about", to the nearest ten.
const source = JSON.parse(await readFile("src/h5p/build/sample.json", "utf8"));
const work = await mkdtemp(join(tmpdir(), "h5p-build-cost-"));
diff --git a/src/_data/site.js b/src/_data/site.js
index 544ce40..160f94a 100644
--- a/src/_data/site.js
+++ b/src/_data/site.js
@@ -1,10 +1,10 @@
-// The address the project answers at: the one h5p-offline-player's code of conduct and security
+// The address the project answers at: the one h5p-toolkit's code of conduct and security
// policy give, and the organization's on GitHub.
const contact = "alekswebnet@gmail.com";
// Where to say how the H5P build page and the h5p-author skill went, in two ways that start from
// the same title and two questions. An email asks for no account, and a teacher may have none on
-// GitHub. A new discussion in h5p-offline-player, where the author is made, is public, for someone
+// GitHub. A new discussion in h5p-toolkit, where the author is made, is public, for someone
// who has one. A mail body's lines end in CRLF (RFC 6068).
const feedbackTitle = "Feedback on the H5P build page";
const feedbackBody = "What I made (the content type, and the chat that wrote the source):\n\n\nWhat went well, or wrong:\n\n";
@@ -13,7 +13,7 @@ const buildFeedback = {
`mailto:${contact}?subject=${encodeURIComponent(feedbackTitle)}` +
`&body=${encodeURIComponent(feedbackBody.replaceAll("\n", "\r\n"))}`,
github:
- "https://github.com/missing-elements/h5p-offline-player/discussions/new?category=general" +
+ "https://github.com/missing-elements/h5p-toolkit/discussions/new?category=general" +
`&title=${encodeURIComponent(feedbackTitle)}&body=${encodeURIComponent(feedbackBody)}`,
};
@@ -47,7 +47,7 @@ export default {
description: "Plays .h5p files from your own URLs or from disk with no H5P server, offline too, and reports results as xAPI, cmi5 or SCORM.",
docs: "https://h5p-offline-player.vercel.app/",
docsText: "Demo",
- repo: "https://github.com/missing-elements/h5p-offline-player",
+ repo: "https://github.com/missing-elements/h5p-toolkit",
},
],
// The tools on the home page, under the elements: built on them, in the browser, an editor or an AI
@@ -67,7 +67,7 @@ export default {
description: "Turns a .h5p file into a SCORM zip that an LMS plays and grades, in your browser.",
links: [
{ text: "Open", href: "https://h5p-offline-player.vercel.app/demo/scorm.html" },
- { text: "GitHub", href: "https://github.com/missing-elements/h5p-offline-player/tree/main/packages/embed" },
+ { text: "GitHub", href: "https://github.com/missing-elements/h5p-toolkit/tree/main/packages/embed" },
],
},
{
@@ -75,7 +75,7 @@ export default {
description: "An app you install from the browser that plays .h5p files with no network.",
links: [
{ text: "Open", href: "https://h5p-offline-player.vercel.app/app/" },
- { text: "GitHub", href: "https://github.com/missing-elements/h5p-offline-player" },
+ { text: "GitHub", href: "https://github.com/missing-elements/h5p-toolkit" },
],
},
{
@@ -84,7 +84,7 @@ export default {
links: [
{ text: "VS Code Marketplace", href: "https://marketplace.visualstudio.com/items?itemName=MissingElements.h5p-preview" },
{ text: "Open VSX", href: "https://open-vsx.org/extension/MissingElements/h5p-preview" },
- { text: "GitHub", href: "https://github.com/missing-elements/h5p-offline-player/tree/main/packages/vscode" },
+ { text: "GitHub", href: "https://github.com/missing-elements/h5p-toolkit/tree/main/packages/vscode" },
],
},
{
@@ -93,7 +93,7 @@ export default {
links: [
{ text: "Install", href: "https://skills.sh/missing-elements/h5p-offline-player" },
{ text: "For a chat", href: "/h5p/create-with-ai/#install" },
- { text: "GitHub", href: "https://github.com/missing-elements/h5p-offline-player/tree/main/skills" },
+ { text: "GitHub", href: "https://github.com/missing-elements/h5p-toolkit/tree/main/skills" },
],
},
],
diff --git a/src/h5p/build/build-source.ts b/src/h5p/build/build-source.ts
index e302a54..ed6ef1b 100644
--- a/src/h5p/build/build-source.ts
+++ b/src/h5p/build/build-source.ts
@@ -32,7 +32,7 @@ export interface TypeFile {
* which a chat's sandbox writes with Node's `zlib.deflateRawSync` or Python's
* `zlib.compressobj(wbits=-15)` to keep the link short.
* - `#source={…}`: the JSON itself, which a chat with no code tool writes into the link, since a
- * model can write its own JSON but cannot compress it (h5p-offline-player#206). The value runs to
+ * model can write its own JSON but cannot compress it (h5p-toolkit#206). The value runs to
* the end of the fragment, since JSON text holds `&` and `+`, and it is percent-decoded as far as
* it can be (`percentDecoded`). Base64url never holds `{` or `%`, so the forms cannot be mistaken.
* Up to three braces or brackets left open at its end are closed (`withClosers`). Its text is
@@ -79,7 +79,7 @@ export async function sourceFromFragment(hash: string): Promise {
* The JSON with the braces and brackets still open at its end closed, up to three of them, or
* `null` where it ends inside a string or has more open. A model that writes a source on one line
* loses count of its closers: Haiku left one `}` out of a True/False's 600 characters
- * (h5p-offline-player#206). What is closed at the end is only where the source ends, and the
+ * (h5p-toolkit#206). What is closed at the end is only where the source ends, and the
* build still checks every field of it.
*/
function withClosers(text: string): string | null {
@@ -224,7 +224,7 @@ export function matchFiles(paths: string[], chosen: File[]): { files: Record): string[]
* them the type files of the content types the source is written in. A chat in a browser has the
* skill's text and none of its files, so it guesses a type's fields, and a problem tells it one
* level's names a round. With the files beside the first problems, the weakest model tried wrote
- * 42 of 46 sources right by its second reply, and 29 without them (h5p-offline-player#172). The
+ * 42 of 46 sources right by its second reply, and 29 without them (h5p-toolkit#172). The
* wording is the one measured.
*/
export function forTheChat(problems: Problem[], typeFiles: TypeFile[] = []): string {
diff --git a/src/h5p/build/index.njk b/src/h5p/build/index.njk
index 74293dc..eda217b 100644
--- a/src/h5p/build/index.njk
+++ b/src/h5p/build/index.njk
@@ -282,7 +282,7 @@ csp: "default-src 'self'; script-src 'self'; style-src 'self'; img-src 'self' da
3,900 to 9,500 tokens for one type, where the skill's notes on a type are 200 to 3,000. For a
five-question quiz the source was 1,000 to 1,800 tokens, and the content written by hand
about 3,470
- (measured).
+ (measured).
@@ -300,7 +300,7 @@ csp: "default-src 'self'; script-src 'self'; style-src 'self'; img-src 'self' da
this page, plays it on your own site, offline, in VS Code, or in an LMS as SCORM.