Skip to content

Commit a2aa7a7

Browse files
committed
Point the links at h5p-toolkit, the renamed repository
1 parent 382436a commit a2aa7a7

8 files changed

Lines changed: 32 additions & 32 deletions

File tree

‎README.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# missing-elements.github.io
22

3-
The site of the [missing-elements](https://github.com/missing-elements) web components, at <https://missing-elements.github.io>: 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).
3+
The site of the [missing-elements](https://github.com/missing-elements) web components, at <https://missing-elements.github.io>: 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).
44

55
## What it serves
66

@@ -50,4 +50,4 @@ The pages run published releases, pinned exactly in [package.json](package.json)
5050

5151
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.
5252

53-
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.
53+
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.

‎src/_data/buildCost.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import { buildPackage } from "@missing-elements/h5p-author";
1010
// A chat asked plainly for an H5P activity has to write the two files that are its content,
1111
// content.json and h5p.json. With the h5p-author skill it writes the source, and the build writes
1212
// those two from it. Both are counted as JSON on one line, with no layout, and in tokens at four
13-
// characters a token, the rule design/author.md of h5p-offline-player measures by. Tokens are a
13+
// characters a token, the rule design/author.md of h5p-toolkit measures by. Tokens are a
1414
// model's own, so they are said as "about", to the nearest ten.
1515
const source = JSON.parse(await readFile("src/h5p/build/sample.json", "utf8"));
1616
const work = await mkdtemp(join(tmpdir(), "h5p-build-cost-"));

‎src/_data/site.js‎

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
// The address the project answers at: the one h5p-offline-player's code of conduct and security
1+
// The address the project answers at: the one h5p-toolkit's code of conduct and security
22
// policy give, and the organization's on GitHub.
33
const contact = "alekswebnet@gmail.com";
44

55
// Where to say how the H5P build page and the h5p-author skill went, in two ways that start from
66
// the same title and two questions. An email asks for no account, and a teacher may have none on
7-
// GitHub. A new discussion in h5p-offline-player, where the author is made, is public, for someone
7+
// GitHub. A new discussion in h5p-toolkit, where the author is made, is public, for someone
88
// who has one. A mail body's lines end in CRLF (RFC 6068).
99
const feedbackTitle = "Feedback on the H5P build page";
1010
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 = {
1313
`mailto:${contact}?subject=${encodeURIComponent(feedbackTitle)}` +
1414
`&body=${encodeURIComponent(feedbackBody.replaceAll("\n", "\r\n"))}`,
1515
github:
16-
"https://github.com/missing-elements/h5p-offline-player/discussions/new?category=general" +
16+
"https://github.com/missing-elements/h5p-toolkit/discussions/new?category=general" +
1717
`&title=${encodeURIComponent(feedbackTitle)}&body=${encodeURIComponent(feedbackBody)}`,
1818
};
1919

@@ -47,7 +47,7 @@ export default {
4747
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.",
4848
docs: "https://h5p-offline-player.vercel.app/",
4949
docsText: "Demo",
50-
repo: "https://github.com/missing-elements/h5p-offline-player",
50+
repo: "https://github.com/missing-elements/h5p-toolkit",
5151
},
5252
],
5353
// The tools on the home page, under the elements: built on them, in the browser, an editor or an AI
@@ -67,15 +67,15 @@ export default {
6767
description: "Turns a .h5p file into a SCORM zip that an LMS plays and grades, in your browser.",
6868
links: [
6969
{ text: "Open", href: "https://h5p-offline-player.vercel.app/demo/scorm.html" },
70-
{ text: "GitHub", href: "https://github.com/missing-elements/h5p-offline-player/tree/main/packages/embed" },
70+
{ text: "GitHub", href: "https://github.com/missing-elements/h5p-toolkit/tree/main/packages/embed" },
7171
],
7272
},
7373
{
7474
name: "H5P Offline Player",
7575
description: "An app you install from the browser that plays .h5p files with no network.",
7676
links: [
7777
{ text: "Open", href: "https://h5p-offline-player.vercel.app/app/" },
78-
{ text: "GitHub", href: "https://github.com/missing-elements/h5p-offline-player" },
78+
{ text: "GitHub", href: "https://github.com/missing-elements/h5p-toolkit" },
7979
],
8080
},
8181
{
@@ -84,7 +84,7 @@ export default {
8484
links: [
8585
{ text: "VS Code Marketplace", href: "https://marketplace.visualstudio.com/items?itemName=MissingElements.h5p-preview" },
8686
{ text: "Open VSX", href: "https://open-vsx.org/extension/MissingElements/h5p-preview" },
87-
{ text: "GitHub", href: "https://github.com/missing-elements/h5p-offline-player/tree/main/packages/vscode" },
87+
{ text: "GitHub", href: "https://github.com/missing-elements/h5p-toolkit/tree/main/packages/vscode" },
8888
],
8989
},
9090
{
@@ -93,7 +93,7 @@ export default {
9393
links: [
9494
{ text: "Install", href: "https://skills.sh/missing-elements/h5p-offline-player" },
9595
{ text: "For a chat", href: "/h5p/create-with-ai/#install" },
96-
{ text: "GitHub", href: "https://github.com/missing-elements/h5p-offline-player/tree/main/skills" },
96+
{ text: "GitHub", href: "https://github.com/missing-elements/h5p-toolkit/tree/main/skills" },
9797
],
9898
},
9999
],

‎src/h5p/build/build-source.ts‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ export interface TypeFile {
3232
* which a chat's sandbox writes with Node's `zlib.deflateRawSync` or Python's
3333
* `zlib.compressobj(wbits=-15)` to keep the link short.
3434
* - `#source={…}`: the JSON itself, which a chat with no code tool writes into the link, since a
35-
* model can write its own JSON but cannot compress it (h5p-offline-player#206). The value runs to
35+
* model can write its own JSON but cannot compress it (h5p-toolkit#206). The value runs to
3636
* the end of the fragment, since JSON text holds `&` and `+`, and it is percent-decoded as far as
3737
* it can be (`percentDecoded`). Base64url never holds `{` or `%`, so the forms cannot be mistaken.
3838
* 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<string | null> {
7979
* The JSON with the braces and brackets still open at its end closed, up to three of them, or
8080
* `null` where it ends inside a string or has more open. A model that writes a source on one line
8181
* loses count of its closers: Haiku left one `}` out of a True/False's 600 characters
82-
* (h5p-offline-player#206). What is closed at the end is only where the source ends, and the
82+
* (h5p-toolkit#206). What is closed at the end is only where the source ends, and the
8383
* build still checks every field of it.
8484
*/
8585
function withClosers(text: string): string | null {
@@ -224,7 +224,7 @@ export function matchFiles(paths: string[], chosen: File[]): { files: Record<str
224224
* The source's own type is h5p-author's reading of it, `sourceType`: its `type` as it is or as it is
225225
* spoken of, "interactive-book", or with none the one under `contentType` or `library`. A chat with
226226
* no skill text writes it so, and a rule of the page's own, `type` as written, gave its first copy
227-
* no file (h5p-offline-player#176). Below it a name counts only as it is, a listed machine name with
227+
* no file (h5p-toolkit#176). Below it a name counts only as it is, a listed machine name with
228228
* or without a major and minor: what reads like one, a slide's element `{ "type": "text" }`, is no
229229
* H5P.Text.
230230
*/
@@ -250,7 +250,7 @@ export function typesNamed(source: unknown, listed: Iterable<string>): string[]
250250
* them the type files of the content types the source is written in. A chat in a browser has the
251251
* skill's text and none of its files, so it guesses a type's fields, and a problem tells it one
252252
* level's names a round. With the files beside the first problems, the weakest model tried wrote
253-
* 42 of 46 sources right by its second reply, and 29 without them (h5p-offline-player#172). The
253+
* 42 of 46 sources right by its second reply, and 29 without them (h5p-toolkit#172). The
254254
* wording is the one measured.
255255
*/
256256
export function forTheChat(problems: Problem[], typeFiles: TypeFile[] = []): string {

‎src/h5p/build/index.njk‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -282,7 +282,7 @@ csp: "default-src 'self'; script-src 'self'; style-src 'self'; img-src 'self' da
282282
3,900 to 9,500 tokens for one type, where the skill's notes on a type are 200 to 3,000. For a
283283
five-question quiz the source was 1,000 to 1,800 tokens, and the content written by hand
284284
about 3,470
285-
(<a href="https://github.com/missing-elements/h5p-offline-player/blob/main/design/author.md">measured</a>).
285+
(<a href="https://github.com/missing-elements/h5p-toolkit/blob/main/design/author.md">measured</a>).
286286
</p>
287287
</div>
288288
</section>
@@ -300,7 +300,7 @@ csp: "default-src 'self'; script-src 'self'; style-src 'self'; img-src 'self' da
300300
this page, plays it on your own site, offline, in VS Code, or in an LMS as SCORM.
301301
</p>
302302
<footer class="links">
303-
<a href="https://github.com/missing-elements/h5p-offline-player/blob/main/docs/setup.md">Set up on your site</a>
303+
<a href="https://github.com/missing-elements/h5p-toolkit/blob/main/docs/setup.md">Set up on your site</a>
304304
<a href="https://h5p-offline-player.vercel.app/app/">Offline app</a>
305305
<a href="https://marketplace.visualstudio.com/items?itemName=MissingElements.h5p-preview">VS Code extension</a>
306306
<a href="https://h5p-offline-player.vercel.app/demo/scorm.html">SCORM for an LMS</a>
@@ -324,10 +324,10 @@ csp: "default-src 'self'; script-src 'self'; style-src 'self'; img-src 'self' da
324324
</div>
325325
</main>
326326

327-
{%- set footIssues = site.github ~ "/h5p-offline-player/issues" %}
327+
{%- set footIssues = site.github ~ "/h5p-toolkit/issues" %}
328328
{%- set footNote %}
329329
<p>
330-
Built with <a href="https://github.com/missing-elements/h5p-offline-player">h5p-offline-player</a>
330+
Built with <a href="https://github.com/missing-elements/h5p-toolkit">h5p-offline-player</a>
331331
and <code>@missing-elements/h5p-author</code>, MIT, among
332332
<a href="/h5p/assets/build-page-LICENSES.txt">the packages the page bundles</a>. The H5P runtime
333333
the player loads is <a href="/h5p/assets/runtime-LICENSE.txt">GPL-3.0</a>.

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

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -87,13 +87,13 @@ csp: "default-src 'self'; script-src 'self'; style-src 'self'; img-src 'self'; o
8787
</li>
8888
<li>
8989
<strong>An agent with a terminal</strong>, such as Claude Code, Codex or Cursor:
90-
<code>npx skills add missing-elements/h5p-offline-player --skill h5p-author</code>.
90+
<code>npx skills add missing-elements/h5p-toolkit --skill h5p-author</code>.
9191
</li>
9292
</ul>
9393
<p>
9494
The zips hold h5p-author {{ skill.version }}, the release the build page runs: text files and
9595
nothing that runs, which you can read
96-
<a href="https://github.com/missing-elements/h5p-offline-player/tree/main/skills/h5p-author">on GitHub</a>.
96+
<a href="https://github.com/missing-elements/h5p-toolkit/tree/main/skills/h5p-author">on GitHub</a>.
9797
The archive holds the same release's build tool, which runs in the chat's own sandbox, and
9898
the H5P libraries it puts in the file, each under its own licence.
9999
</p>
@@ -160,7 +160,7 @@ csp: "default-src 'self'; script-src 'self'; style-src 'self'; img-src 'self'; o
160160
<p>
161161
Any other H5P site takes it where it adds H5P content, H5P.com too, and Lumi opens it on your
162162
computer. With no H5P site, h5p-offline-player plays it
163-
<a href="https://github.com/missing-elements/h5p-offline-player/blob/main/docs/setup.md">on a site of your own</a>
163+
<a href="https://github.com/missing-elements/h5p-toolkit/blob/main/docs/setup.md">on a site of your own</a>
164164
or <a href="https://h5p-offline-player.vercel.app/app/">offline, in its app</a>.
165165
</p>
166166
</section>
@@ -242,7 +242,7 @@ csp: "default-src 'self'; script-src 'self'; style-src 'self'; img-src 'self'; o
242242
the MIT licence. The build page's code is in
243243
<a href="https://github.com/missing-elements/missing-elements.github.io/tree/main/src/h5p/build">this site's repository</a>,
244244
and the skill and the player are in
245-
<a href="https://github.com/missing-elements/h5p-offline-player">h5p-offline-player</a>. The H5P
245+
<a href="https://github.com/missing-elements/h5p-toolkit">h5p-toolkit</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
248248
<a href="/h5p/assets/libraries-LICENSES.txt">the pack's licence list</a> says. The packages
@@ -322,11 +322,11 @@ csp: "default-src 'self'; script-src 'self'; style-src 'self'; img-src 'self'; o
322322

323323
</main>
324324

325-
{%- set footIssues = site.github ~ "/h5p-offline-player/issues" %}
325+
{%- set footIssues = site.github ~ "/h5p-toolkit/issues" %}
326326
{%- set footNote %}
327327
<p>
328328
The h5p-author skill is MIT, from
329-
<a href="https://github.com/missing-elements/h5p-offline-player/tree/main/skills/h5p-author">h5p-offline-player</a>.
329+
<a href="https://github.com/missing-elements/h5p-toolkit/tree/main/skills/h5p-author">h5p-toolkit</a>.
330330
</p>
331331
{%- endset %}
332332
{% include "site-foot.njk" %}

‎src/h5p/skill/index.njk‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ csp: "default-src 'self'; script-src 'self'; style-src 'self'; img-src 'self'; o
4141
These are the files of h5p-author {{ skill.version }}, the release the build page at
4242
<a href="{{ site.url }}/h5p/build/">{{ site.url }}/h5p/build/</a> runs. The skill's text is in
4343
the zips, and on
44-
<a href="https://github.com/missing-elements/h5p-offline-player/tree/main/skills/h5p-author">GitHub</a>.
44+
<a href="https://github.com/missing-elements/h5p-toolkit/tree/main/skills/h5p-author">GitHub</a>.
4545
</p>
4646
</header>
4747

@@ -51,7 +51,7 @@ csp: "default-src 'self'; script-src 'self'; style-src 'self'; img-src 'self'; o
5151
<h2 id="install-heading"><span class="step-marker"><span class="step-number">1</span></span> Install the skill</h2>
5252
<p>
5353
In an agent with a terminal:
54-
<code>npx skills add missing-elements/h5p-offline-player --skill h5p-author</code>. In a chat
54+
<code>npx skills add missing-elements/h5p-toolkit --skill h5p-author</code>. In a chat
5555
app, from a zip:
5656
</p>
5757
<ul class="skill-files" role="list">
@@ -77,11 +77,11 @@ csp: "default-src 'self'; script-src 'self'; style-src 'self'; img-src 'self'; o
7777

7878
</main>
7979

80-
{%- set footIssues = site.github ~ "/h5p-offline-player/issues" %}
80+
{%- set footIssues = site.github ~ "/h5p-toolkit/issues" %}
8181
{%- set footNote %}
8282
<p>
8383
The skill and <code>@missing-elements/h5p-author</code> are MIT, from
84-
<a href="https://github.com/missing-elements/h5p-offline-player/tree/main/skills/h5p-author">h5p-offline-player</a>.
84+
<a href="https://github.com/missing-elements/h5p-toolkit/tree/main/skills/h5p-author">h5p-toolkit</a>.
8585
</p>
8686
{%- endset %}
8787
{% include "site-foot.njk" %}

‎vite.config.ts‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ function licenceFiles(): Plugin {
8282
* A chat in a browser has the skill's text and none of its files, so it guesses how a content type
8383
* is written, and learns one level's names from each round of problems. The build page copies the
8484
* files of a source's own type, and of the libraries it names, for the chat along with the
85-
* source's problems (h5p-offline-player#172). They are the release's, so they describe the fields
85+
* source's problems (h5p-toolkit#172). They are the release's, so they describe the fields
8686
* of the build this page runs.
8787
*/
8888
function typeFiles(): Plugin {
@@ -157,7 +157,7 @@ function sample(): Plugin {
157157
* - `h5p-author.mjs`: the command line as one file, everything it imports bundled in by Vite, so it
158158
* runs with nothing installed. It takes `--libraries`: the npm package's pinned pack is not with
159159
* it. Since 0.9.8 its `--version` prints the versions from copies of the two package.json files
160-
* Vite writes in (h5p-offline-player#198); before, it crashed, finding neither beside it. The
160+
* Vite writes in (h5p-toolkit#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.
162162
* - `h5p-author-LICENSES.txt`: every package bundled into `h5p-author.mjs` with its licence, as
163163
* Vite lists them, since MIT and BSD-3-Clause ask their notices to travel with copies (zod came
@@ -332,7 +332,7 @@ function skillZips(): Plugin {
332332
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.',
333333
author: { name: 'Missing Elements', url: 'https://github.com/missing-elements' },
334334
homepage: guide,
335-
repository: 'https://github.com/missing-elements/h5p-offline-player',
335+
repository: 'https://github.com/missing-elements/h5p-toolkit',
336336
license: 'MIT',
337337
keywords: ['h5p', 'quiz', 'e-learning', 'authoring'],
338338
extensions: {

0 commit comments

Comments
 (0)