Two things you can build with AI
OpenChronology is a format for storing and sharing time-based data as portable
.chron files. AI chatbots don’t know this format by default —
but a single copied block of text is all they need. There are two things people
typically want to accomplish:
Generate .chron event files
You have a topic — a period of history, a fictional world,
a project plan, a family archive — and you want to produce structured,
timeline-ready .chron files you can load into any OpenChronology
viewer or tool.
Build a timeline viewer
You want to embed a timeline on your own website or app —
something that reads .chron files and renders them.
The AI can write complete viewer code for you, ready to publish to your site.
What a rendered timeline looks like — events from .chron files
Copy this. Paste it first.
This block primes your AI with everything it needs to know about the OpenChronology format. Paste it at the start of any new conversation, before your actual request. It works for both paths — generating event files and building viewers.
Three steps to get started
Works with any AI assistant that accepts a free-text prompt. No account, API key, or technical knowledge required.
Start fresh — any conversational AI works. A new chat ensures nothing interferes with the context you’re about to provide.
Copy the entire block above and send it on its own before anything else.
You can optionally end it with:
Confirm you understand this format and are ready to help.
The AI will acknowledge it.
In your next message, describe what you want. Use the prompts in the sections below as starting points. The AI will generate complete, valid output you can use immediately.
Example prompts for creating event files
These prompts produce valid .chron files you can load directly into a viewer
or the tools at Chronology Studio.
Tip: Ask for a specific era or event count. The AI will spread significance values to reflect relative importance.
Tip: Use any string for body — e.g. "aeryndal". The calendar field accepts "gregorian" as a stand-in for custom systems.
Tip: Paste a bullet list of milestones directly into your prompt. The AI will extract dates and structure everything correctly.
Tip: The uncertainty field handles approximate dates gracefully — ideal for genealogy and oral history.
Tip: The body field lets you anchor events to specific planets or moons — great for space history.
Tip: geographic_scope drives how a viewer weights events — set it deliberately.
Example prompts for building your own viewer
The OpenChronology reference parser is a ready-made ESM module you can point your AI at. These prompts produce complete, self-contained viewer code ready to publish on your own website.
Tip: Good first viewer — readable, fast, works in any browser without a framework.
Tip: Ask for it in vanilla JS or React — specify your stack. The parser handles date resolution automatically.
Tip: Great for curated collections where you want the most important events to surface first.
Tip: Describe your visual style or paste a link to your site — the AI will match it.
Tips for better results
Start a fresh conversation each session. Re-paste the context block whenever you start a new chat. Without it, AI models revert to guessing field names and formats.
Ask for files in batches of 5–10. Smaller batches prevent the AI from truncating or rushing the last files in a long list.
Always validate generated files. Drop each file into the Validator at Chronology Studio. It catches missing fields and malformed UUIDs instantly.
Check UUIDs for uniqueness. Some AI models reuse the example UUID from the context block. Ask: “Regenerate any files that share a UUID — every event must have a unique id.”
Approximate dates are better than no dates.
Don’t omit temporal just because an exact date is unknown.
A precision of “circa” with an uncertainty margin
is far more useful in a viewer than a missing date entirely.
For viewer builds, point the AI at the reference parser.
The URL https://openchronology.org/src/openchronology.js is in the context block.
Using it produces cleaner code than asking the AI to parse .chron files from scratch.
What to do with your output
What you do next depends on which path you took.
If you generated .chron files — Path A
Your AI-generated files are ready to use with the tools at Chronology Studio. Everything runs in your browser — nothing is uploaded to a server.
If you built a timeline viewer — Path B
Your AI-generated viewer is ready to go live. Here is how to get it onto the web.