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
18 changes: 4 additions & 14 deletions src/h5p/create-with-ai/index.njk
Original file line number Diff line number Diff line change
Expand Up @@ -71,20 +71,14 @@ csp: "default-src 'self'; script-src 'self'; style-src 'self'; img-src 'self'; o
Make a Project in ChatGPT, add the archive to it, and ask in a chat of that project:
ChatGPT then builds the <code>.h5p</code> file in the chat, with nothing to attach.
Outside a project, attach the archive to the message where you ask. Without it, ChatGPT
hands over a link to the build page; if the page says the link arrived damaged, ask for
the source as a file and open that on the build page.
hands over the activity's source, to paste or open on the build page.
</li>
<li>
<strong>Grok</strong>: download
<a href="/h5p/skill/h5p-author.zip" download>h5p-author.zip</a>, the same file as for
Claude, and upload it under Skills, then Import. Grok builds the <code>.h5p</code> file in
the chat.
</li>
<li>
<strong>Open WebUI</strong>: an administrator imports the skill under Import from URL, from
its folder on GitHub,
<code>https://github.com/missing-elements/h5p-offline-player/tree/main/skills/h5p-author</code>.
</li>
<li>
<strong>An agent with a terminal</strong>, such as Claude Code, Codex or Cursor:
<code>npx skills add missing-elements/h5p-offline-player --skill h5p-author</code>.
Expand Down Expand Up @@ -128,8 +122,7 @@ csp: "default-src 'self'; script-src 'self'; style-src 'self'; img-src 'self'; o
</p>
<ul>
<li>the <code>.h5p</code> file itself, from a chat whose code runs Node.js and can reach the build tool, as Claude's and Grok's can, and ChatGPT's with the build archive, kept in a Project or attached;</li>
<li>a link that opens the activity on the build page, as ChatGPT gives without it;</li>
<li>or its source, as a file or a block of JSON: open or paste it <a href="/h5p/build/#build-it">on the build page</a> and choose Build.</li>
<li>or its source, as a file or a block of JSON, as ChatGPT gives without the archive: open or paste it <a href="/h5p/build/#build-it">on the build page</a> and choose Build.</li>
</ul>
<p>
From a link or a source, the build page builds it in your browser, plays it, and saves the
Expand Down Expand Up @@ -262,14 +255,11 @@ csp: "default-src 'self'; script-src 'self'; style-src 'self'; img-src 'self'; o
does not run Node.js:
</p>
<ul>
<li>Open WebUI's code tool runs Python;</li>
<li>LM Studio's code plugin runs JavaScript in Deno, not Node.js;</li>
<li>Jan has no code tool of its own.</li>
</ul>
<p>
So there the chat hands over a link or the source, and the build page builds the file. Open
WebUI with Open Terminal is the exception: its default image has Node.js, which the build
needs.
So there the chat hands over the source, and the build page builds the file.
Comment thread
cubic-dev-ai[bot] marked this conversation as resolved.
Resolved
</p>
<p>
With Node.js 22 or later on your own computer, the whole build can stay offline. Install the
Expand All @@ -296,7 +286,7 @@ csp: "default-src 'self'; script-src 'self'; style-src 'self'; img-src 'self'; o
and attach it to your next message: a chat whose code runs Node.js builds the file from it,
without installing or downloading anything. In ChatGPT, keep the archive in a Project and
ask in a chat of it: there is then nothing to attach again. A chat whose code runs no
Node.js gives you a link to the build page instead.
Node.js gives you the activity's source for the build page instead.
</p>

<h3>The build lists problems</h3>
Expand Down
3 changes: 1 addition & 2 deletions vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -284,8 +284,7 @@ function tarGz(files: ReadonlyArray<readonly [string, Uint8Array]>): Buffer {
* are the only way the site serves the skill's text: every chat it is offered to installs it.
*
* - `h5p-author.zip`: the skill's folder at the zip's root, `h5p-author/SKILL.md`, which Claude's
* app takes under Customize, Skills, and Grok's under Skills, Import (as does Open WebUI's
* import).
* app takes under Customize, Skills, and Grok's under Skills, Import.
* - `h5p-author-chatgpt.zip`: the same files as a plugin, under `skills/h5p-author/`, with its
* `plugin.json` at the root, which ChatGPT's Plugins take. A zip with the folder at its root is
* refused there ("Plugin archive must contain … `skills/*\/SKILL.md`"). The manifest is the Agent
Expand Down
Loading