Content Ixen
@alvagante/content-ixenv2026.07.16.1
01README
Generate Ixen pages — self-narrated, mixed-media web pages in the tradition of 'I, Xen' (2005), where the technology itself speaks in first person while teaching real technical content. Self-contained HTML output with pop-up command windows, zoomable images, embedded video/audio/PDF, and inline cheatsheet/infographic embeds. Uses Claude or any OpenAI-compatible endpoint, or saves agent-written pages keylessly.
02Models
@alvagante/content-ixenv2026.07.16.1extensions/models/content_ixen.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| apiKey? | string | |
| baseUrl? | string | |
| outputDir? | string |
fn prepare(outputDir?: string, enabled: boolean)
Prepare an output directory for a new Ixen run by moving the existing generated Ixen page and referenced media into the next numeric version directory.
| Argument | Type | Description |
|---|---|---|
| outputDir? | string | |
| enabled | boolean |
fn generate(topic: string, narrator?: string, details?: string, media?: string, mediaItems?: array, concepts?: array, model: string, personaDescription?: string, style?: string, credits?: string, outputDir?: string, versionOutput: boolean, musicTracks?: array, musicFilename?: string, musicTitle?: string, musicLyrics: string, headerContent?: string, footerContent?: string, cheatsheetPath?: string, infographicPath?: string, infographicPaths?: array, infographics?: array, cards?: array, includeBeginnerGuide: boolean)
Generate a first-person narrated Ixen page on the given topic using a configured LLM endpoint. Supply musicTracks (or the convenience musicFilename/musicTitle/musicLyrics args) to embed a self-contained music player.
| Argument | Type | Description |
|---|---|---|
| topic | string | |
| narrator? | string | |
| details? | string | |
| media? | string | |
| mediaItems? | array | |
| concepts? | array | Ordered concepts to cover. Each concept can provide name, details, imagePrompt, imagePath, or imageFilename. The generated page creates an image placement plus slide and explanatory popups for every concept. |
| model | string | |
| personaDescription? | string | |
| style? | string | Optional style label rendered in the provenance footer, usually the visual style preset used for the surrounding generated media. |
| credits? | string | |
| outputDir? | string | |
| versionOutput | boolean | When true, move an existing generated Ixen in outputDir to the next numeric version directory before writing the new index.html. Workflows that call prepare first should pass false. |
| musicTracks? | array | |
| musicFilename? | string | |
| musicTitle? | string | |
| musicLyrics | string | |
| headerContent? | string | Optional raw HTML fragment rendered below the Ixen title/provenance header and above the generated body. |
| footerContent? | string | Optional raw HTML fragment rendered after the generated body and inline infographic/cheatsheet sections. |
| cheatsheetPath? | string | Relative path (within outputDir) to a pre-generated cheatsheet HTML file. When provided, the cheatsheet is embedded inline near the bottom of the page. |
| infographicPath? | string | Relative path (within outputDir) to a pre-generated infographic HTML file. When provided, the infographic is embedded inline near the bottom of the page. |
| infographicPaths? | array | Relative paths (within outputDir) to multiple pre-generated infographic HTML files. |
| infographics? | array | Infographic embeds with relative HTML path and optional title. |
| cards? | array | Per-concept card images generated by @alvagante/content-card. Matched by index to the concepts array. Each card is shown alongside its concept section and a 'Card Deck' button at the top opens a popup grid of all cards. |
| includeBeginnerGuide | boolean | When true, generates a plain-prose beginner's introduction to the topic and embeds it as a popup accessible via a 'Beginner's intro' button at the top of the page. Audience: IT-literate readers with no prior knowledge of the specific topic. |
fn save(content: string, title?: string, narrator: string, topic: string, details?: string, media?: string, mediaItems?: array, concepts?: array, model: string, personaDescription?: string, style?: string, credits?: string, outputDir?: string, versionOutput: boolean, musicTracks?: array, musicFilename?: string, musicTitle?: string, musicLyrics: string, headerContent?: string, footerContent?: string, cheatsheetPath?: string, infographicPath?: string, infographicPaths?: array, infographics?: array, cards?: array, beginnerGuideContent?: string)
Store an externally written Ixen page body (e.g. authored by the calling agent) without making any inference call — no API key or endpoint required. Supply musicTracks (or the convenience musicFilename/musicTitle/musicLyrics args) to embed a music player.
| Argument | Type | Description |
|---|---|---|
| content | string | |
| title? | string | |
| narrator | string | |
| topic | string | |
| details? | string | |
| media? | string | |
| mediaItems? | array | |
| concepts? | array | |
| model | string | |
| personaDescription? | string | |
| style? | string | Optional style label rendered in the provenance footer, usually the visual style preset used for the surrounding generated media. |
| credits? | string | |
| outputDir? | string | |
| versionOutput | boolean | |
| musicTracks? | array | |
| musicFilename? | string | |
| musicTitle? | string | |
| musicLyrics | string | |
| headerContent? | string | Optional raw HTML fragment rendered below the Ixen title/provenance header and above the supplied body. |
| footerContent? | string | Optional raw HTML fragment rendered after the supplied body and inline infographic/cheatsheet sections. |
| cheatsheetPath? | string | Relative path (within outputDir) to a pre-generated cheatsheet HTML file. When provided, the cheatsheet is embedded inline near the bottom of the page. |
| infographicPath? | string | Relative path (within outputDir) to a pre-generated infographic HTML file. When provided, the infographic is embedded inline near the bottom of the page. |
| infographicPaths? | array | Relative paths (within outputDir) to multiple pre-generated infographic HTML files. |
| infographics? | array | Infographic embeds with relative HTML path and optional title. |
| cards? | array | Per-concept card images. Matched by index to the concepts array. Each card is shown alongside its concept section and a 'Card Deck' button at the top opens a popup grid of all cards. |
| beginnerGuideContent? | string | Pre-generated HTML fragment for the beginner's intro popup. When provided, a 'Beginner's intro' button appears at the top of the page opening this content in a popup. |
Resources
page(infinite)— Generated Ixen page metadata and HTML body
Files
html(text/html)— Self-contained Ixen page (HTML with inlined CSS and JavaScript)
03Previous Versions
2026.07.11.1
2026.07.05.1
2026.06.24.3
2026.06.23.2
2026.06.23.1
2026.06.22.2
2026.06.22.1
2026.06.21.3
2026.06.21.2
2026.06.21.1
2026.06.19.1
2026.06.17.4
2026.06.17.3
2026.06.17.2
Modified 1 models
2026.06.17.1
2026.06.16.1
2026.06.15.2
2026.06.15.1
2026.06.14.2
04Stats
A
100 / 100
Downloads
27
Archive size
75.6 KB
- Has README or module doc2/2earned
- README has a code example1/1earned
- README is substantive1/1earned
- Most symbols documented1/1earned
- No slow types (deprecated)1/1earned
- Dependencies pass trust audit2/2earned
- Has description1/1earned
- Platform support declared (or universal)2/2earned
- License declared1/1earned
- Verified public repository2/2earned
05Platforms
06Labels