Content Timeline
@alvagante/content-timelinev2026.06.30.1
01README
Generate self-contained HTML timelines for any subject — biographical, historical, project, technology, or custom. Events are grouped into named phases; all content must be factually documented (no invented dates or events). Uses Claude or any OpenAI-compatible endpoint, or stores caller-written content via the save method.
02Models
@alvagante/content-timelinev2026.06.30.1extensions/models/content_timeline.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| apiKey? | string | |
| baseUrl? | string | |
| outputDir? | string |
fn generate(subject: string, details?: string, model: string, outputDir?: string, filename?: string)
Call the configured LLM to generate a factual timeline for the given subject. Outputs a self-contained HTML file with phase sections and dated events.
| Argument | Type | Description |
|---|---|---|
| subject | string | The subject of the timeline — person name, project name, event, technology, era, etc. |
| details? | string | Additional context, phase name suggestions, focus areas, or factual notes to guide generation |
| model | string | LLM model ID to use for generation |
| outputDir? | string | Override the global outputDir for this run |
| filename? | string | Override the output filename (default: timeline.html) |
fn save(subject: string, content: string, details?: string, model: string, outputDir?: string, filename?: string)
Store caller-written timeline content without making an LLM call. Wraps tl-phase/tl-event markup in the page shell and writes timeline.html.
| Argument | Type | Description |
|---|---|---|
| subject | string | The subject of the timeline |
| content | string | Timeline body HTML — tl-phase and tl-event components only (no html/head/body tags) |
| details? | string | |
| model | string | Identifier of whatever produced the content (e.g. 'claude-sonnet-4-6') |
| outputDir? | string | |
| filename? | string |
Resources
timeline(infinite)— Timeline metadata: subject, type, density, word count, model, and generation timestamp
Files
html(text/html)— Self-contained scrollable HTML timeline (embeddable in iframe)
03Stats
A
100 / 100
Downloads
0
Archive size
28.0 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
04Platforms
05Labels