Demo content hosting for Telar scrollytelling sites.
This repository provides versioned, multilingual demo content that Telar sites can fetch at build time. Demo stories appear on user sites when enabled but are never committed to their repositories.
Live site: content.telar.org
| Demo | English | Spanish | Description |
|---|---|---|---|
| Telar Tutorial | telar-tutorial |
tutorial-telar |
Learn Telar basics: IIIF images, navigation, widgets |
| Paisajes Coloniales | paisajes-demo |
demo-paisajes |
Colonial maps and land ownership in 17th-century Bogota |
Add to your _config.yml:
story_interface:
include_demo_content: trueWhen your site builds, the fetch script downloads a single demo bundle matching your Telar version and language setting.
Demo content is delivered as a single JSON bundle (telar-demo-bundle.json) per language/version:
{
"_meta": {
"bundle_format": "0.1",
"telar_version": "0.6.0",
"language": "en",
"generated": "2025-11-25T...",
"license": "CC BY-NC 4.0"
},
"iiif_base_url": "https://content.telar.org/iiif/objects",
"project": [...],
"objects": {...},
"stories": {...},
"glossary": {...}
}Key features:
- One HTTP request instead of 30+
- Layer content embedded directly (no separate file fetches)
- Auto-populated IIIF source URLs for self-hosted objects
- Built-in validation catches CSV parsing issues
Sites receive demo content compatible with their Telar version:
| Site Version | Available Demos | Result |
|---|---|---|
| 0.6.0 | 0.6.0 | Exact match: 0.6.0 |
| 0.6.3 | 0.6.0, 0.6.1 | Best match: 0.6.1 |
| 0.5.0 | 0.6.0, 0.7.0 | No compatible version |
| 0.8.0 | 0.6.0, 0.7.0 | Best match: 0.7.0 |
The fetch script finds the highest available version that is <= site version.
telar-demo-content/
├── demos/
│ ├── versions.json # Auto-generated index
│ └── v0.6.0/
│ ├── en/
│ │ ├── telar-demo-bundle.json # Complete bundle
│ │ ├── demo-project.csv # Source files
│ │ ├── demo-objects.csv
│ │ ├── telar-tutorial.csv
│ │ └── texts/
│ └── es/
│ └── ...
├── iiif/
│ ├── all-demo-objects.csv # IIIF object registry
│ ├── sources/ # Source images
│ └── objects/ # Generated tiles (shared)
│ └── demo-bogota-1614/
│ ├── info.json
│ ├── manifest.json
│ └── tiles/
├── generator/
│ └── build-demos.py # Generation script
└── dev-docs/ # Developer documentation
# Generate bundle for a version and language
python generator/build-demos.py --version 0.6.0
# Generate IIIF tiles only
python generator/build-demos.py --iiif-only
# Force regeneration of existing tiles
python generator/build-demos.py --iiif-only --force- Add/update source CSVs in
demos/vX.X.X/{lang}/ - Add markdown files in
texts/subdirectories - For self-hosted images, add to
iiif/sources/andiiif/all-demo-objects.csv - Run
python generator/build-demos.py --version X.X.X
See dev-docs/ for detailed documentation.
MIT License - See LICENSE for details.
Demo content is licensed under CC BY-NC 4.0.
Part of the Telar project by UCSB AMPLab.