by PancstaR
Design fictional universes: branching timelines, versioned story fragments, custom calendars and structured worldbuilding entities.
๐ Lore Creator
Build fictional universes inside Obsidian
Branching timelines ยท versioned drafts ยท your own time system
English ย ยทย Tรผrkรงe
โจ Features ย ยทย ๐งฉ Concepts ย ยทย ๐ Getting started ย ยทย ๐ท๏ธ Frontmatter ย ยทย โจ๏ธ Commands ย ยทย ๐ ๏ธ Development
๐ The timeline canvas โ flows as lanes, time across the axis, branches drawn as curves
Status โ 0.11.0, feature complete. Every feature below works and is covered by unit tests where it can be. The frontmatter schema may still shift before 1.0.
๐ก Why
Worldbuilding notes rarely get written in order. You write part 1, leave it half finished, jump to part 4, then go back to part 0. Later you decide the war started twenty years earlier than you first wrote, and eight notes have to change together โ but you want to keep the old draft, because you are not sure yet.
Most tooling assumes you write forwards and never change your mind. This plugin assumes the opposite:
| ๐ฑ | Unfinished is a normal state, not an error to clear |
| ๐ฟ | A fragment can lead to different places in different drafts, and switching drafts reshapes the timeline |
| ๐ฆ | Nothing is deleted. Old versions and unused ideas stay where you can find them |
Everything lives in ordinary Markdown with ordinary frontmatter. Uninstall the plugin and your universe is still a readable set of notes.
๐งฉ Concepts
Four ideas, kept deliberately separate:
flowchart TD
U["๐ Universe<br/><i>one vault</i>"] --> T1["๐ Timeline<br/><i>a reality</i>"]
U --> T2["๐ Timeline<br/><i>a parallel reality</i>"]
T1 --> F1["๐งต Flow<br/><i>a character's lane</i>"]
T1 --> F2["๐งต Flow<br/><i>another lane</i>"]
F1 --> N["๐ Note<br/><i>a story fragment</i>"]
F2 --> N
N --> V1["๐ v3 ยท active<br/><i>lives at the note's path</i>"]
N --> V2["๐๏ธ v2 ยท archived"]
N --> V3["๐๏ธ v1 ยท archived"]
classDef universe fill:#4f46e5,stroke:#3730a3,color:#fff
classDef timeline fill:#7c3aed,stroke:#5b21b6,color:#fff
classDef flow fill:#0ea5e9,stroke:#0369a1,color:#fff
classDef note fill:#22c55e,stroke:#15803d,color:#062e11
classDef active fill:#f59e0b,stroke:#b45309,color:#3b1d00
classDef archived fill:#94a3b8,stroke:#475569,color:#0f172a
class U universe
class T1,T2 timeline
class F1,F2 flow
class N note
class V1 active
class V2,V3 archived
| Concept | What it is | Part of the fiction? | |
|---|---|---|---|
| ๐ | Timeline | A reality โ the main universe, or a parallel one | โ Yes |
| ๐งต | Flow | A lane inside a timeline, usually one character's thread. Lanes cross, merge, and split again | โ Yes |
| ๐ | Version | A draft of one note. Carries its own time, flow and connections | โ An authoring tool |
| ๐ฆ | Status | draft ยท partial ยท done | โ An authoring tool |
[!IMPORTANT] A parallel universe is a timeline; a second attempt at the same scene is a version. Confusing the two is the fastest way to make a vault incoherent.
โจ Features
| ๐ฟ | Branching canvas | Time across the x axis, flows as lanes, next/prev drawn as curves |
| ๐ | Versions that reshape the story | Each draft carries its own time, flow and connections |
| ๐ | Version sets | Flip a whole story revision back and forth in one move |
| ๐ | Your own time system | Any unit, any epoch, optional mapping to Earth years |
| ๐๏ธ | Types and entities | Characters, species, places, factions, objects, events โ defined in a note, not in code |
| โ๏ธ | Laws | Universe physics and the entities that break them, linked both ways |
| ๐ธ๏ธ | Relations | Who lives where, who belongs to which group, who takes part in what โ drawn around the open note |
| ๐ก | Drafts you can promote | A shelf for homeless ideas, turned into real notes when they earn it |
| ๐งญ | Navigation | A banner on top of each note and a bar underneath showing every place it leads, with a map |
| ๐ | Dashboard & consistency | Counts, everything unfinished, and an advisory report with 15 kinds of checks |
| ๐ | Search & export | Filter by field, then share what you choose as a Markdown note, an HTML book, an HTML wiki or a PDF |
| โจ๏ธ | Keyboard and touch | Walk the timeline with arrow keys, pinch to zoom, Enter submits every dialog |
| ๐ | Built-in guide | A friendly tour inside Obsidian, with an FAQ and an example story to explore |
๐ฟ Branching timeline canvas
Notes carrying a timeline id are laid out with time across the x axis and flows
as lanes. Connections come from next and prev, drawn as curves so converging
threads stay readable.
flowchart LR
subgraph EXPLORER["๐งต Explorer"]
direction LR
A["First Signal"] --> B["Second Signal"] --> C["Silence"]
end
subgraph COLONY["๐งต Colony"]
direction LR
D["Founding"] --> E["Divergence"] --> F["Convergence"] --> G["Dissolution"]
D --> H["Long Road"] --> F
end
C -.-> I["Ascent"]
F --> I
classDef done fill:#22c55e,stroke:#15803d,color:#062e11
classDef partial fill:#f59e0b,stroke:#b45309,color:#3b1d00
classDef draft fill:#94a3b8,stroke:#475569,color:#0f172a
class A,B,D,E,F done
class C,H,G partial
class I draft
- Boxes widen to show duration (
time-end) and go dashed when approximate (time-uncertain). - Notes with no time yet get their own lane instead of vanishing.
- Border colour reflects status; a dot marks fragments that have other versions.
- Pan, zoom, click through to any note. Lane names and dates stay pinned at the edges while you pan.
- Filter by status, flow or type, or search the canvas: what does not match dims, nothing moves. Enter steps through the hits.
- Show the open note jumps to the note you are writing, on whichever timeline it sits.
- Keyboard: Tab reaches the notes, arrows walk between them, Enter opens,
+โzoom,0fits,/searches. On touch, pinch to zoom. - A parallel timeline shows where it split from its parent, with a marker at that moment.
- Lucide icons work on the canvas as well as emoji.
๐ Searching for โMiraโ โ hits are outlined, the current one glows, the rest dims; nothing moves
๐ Versions that reshape the story
Each version of a note carries its prose and its time, flow and connections. In one draft a scene leads to a battle; in another it leads somewhere else. Switch versions and the timeline redraws.
flowchart LR
subgraph BEFORE["Draft A ยท v2 active"]
direction LR
A1["Second Signal"] --> A2["Silence"]
end
subgraph AFTER["Draft B ยท v3 active"]
direction LR
B1["Second Signal"] --> B2["Ascent"]
B1 --> B3["Long Road"]
end
BEFORE -->|"switch version"| AFTER
classDef old fill:#94a3b8,stroke:#475569,color:#0f172a
classDef new fill:#7c3aed,stroke:#5b21b6,color:#fff
class A1,A2 old
class B1,B2,B3 new
The active version always stays at the note's own path, so [[links]] elsewhere
in the vault never break. Older versions wait in an archive folder and are found
by following version-of rather than by a list that could drift out of date.
๐ Version sets name a snapshot of which version of each note is active. One story revision usually touches many notes; without this, going back to the earlier draft means remembering and flipping every one of them by hand.
[!NOTE] Every file move is preceded by a dialog naming the exact paths, ordered so the current content reaches its new home before anything overwrites it. Records the plugin writes (
version-of, version sets, promotions) use link text that names only one note, so two notes sharing a name in different folders never get mixed up.
๐ Your own time system
A universe does not have to run on Earth years.
time: 134923.4521 # always a single sortable number
time-precision: date # year ยท date ยท datetime
time-label: "Xen Year 134923, day 165"
earth-time: 2050 # optional reference for readers
Define the time system once โ unit name, days per unit, and, if you want, how it maps to Earth years โ and the time picker fills in the number and the label for you. Or leave the mapping out and write the label yourself.
Edit time system (a command, also in settings) changes it later, with a live example and a warning before anything invalid is saved. If you change the number of days in a unit while notes already carry a date, it asks first: move those notes so each keeps the same day, or leave the numbers as they are. The move touches every dated note or none of them.
๐ The time system editor โ the example line shows how a date is stored and read
๐๏ธ Types and entities
Characters, species, places, factions, objects, events, laws, drafts. Each type brings its own fields, its own template and its own default icon.
The registry lives in a note's frontmatter, so adding a type is editing a note, not editing this plugin โ and any AI assistant reading your vault can see what your types mean.
๐ธ๏ธ Relations
The timeline shows what happens when; the relations view shows who belongs together. The open note sits in the middle, and every note its link fields (members, location, inhabitants, enemiesโฆ) and laws connect it with sits around it, in both directions, each line named after its field. Click a note to move to it, press 2 to look one step further out, and lock the view to keep one note in the middle while you read others.
๐ธ๏ธ The Lighthouse in the middle โ what happens there and who lives there
Any link or links field you add to a type in the registry shows up here.
โ๏ธ Laws that know who breaks them
Universe-wide physics and entity-specific rules, kept as two layers. Entities declare which laws they are subject to and which they break; the laws view inverts those links so a law shows both. Laws can be scoped to particular timelines, for when a parallel reality runs on different physics.
flowchart LR
L["โ๏ธ No faster-than-light travel<br/><i>scope: universe</i>"]
C1["๐ค Kyle"] -->|"laws"| L
C2["๐ฝ Xen envoy"] -->|"breaks-law"| L
L -->|"the laws view inverts both"| VIEW["๐ Subject to ยท Breaks"]
classDef law fill:#7c3aed,stroke:#5b21b6,color:#fff
classDef entity fill:#0ea5e9,stroke:#0369a1,color:#fff
classDef view fill:#22c55e,stroke:#15803d,color:#062e11
class L law
class C1,C2 entity
class VIEW view
โ๏ธ Each law shows who is bound by it and who breaks it
๐ก Drafts you can promote
A shelf for ideas that have no home yet. Open one beside whatever you are writing without losing your place. When an idea earns a place in the story, promote it: pick the type and the folder, and choose whether the draft keeps its text or hands it over. Either way the draft survives and the two notes reference each other.
๐งญ Banner and navigation
Every lore note gets a banner on top โ its icon, type, status (click to cycle), version and its place in time (click to change it) โ and a bar underneath showing where it leads. Fragments often lead to more than one place, so every destination gets its own button. Hover to preview the destination on a map that can show the whole timeline or just what is one step away โ and can be pinned open.
๐งญ Banner on top, map in the corner, the way back and forward at the bottom
An empty next means the thread ends there. Nothing is invented to fill it.
An archived version shows a slim bar instead, with a button back to the active one.
๐ Dashboard, search and export
| ๐ | Dashboard | Counts by type, everything unfinished (half-written sorted above untouched), and a consistency report |
| ๐ฉบ | Consistency | Fifteen kinds of checks (listed below), each with a chip to switch it off. Advisory only: it corrects nothing and blocks nothing, because most findings are work in progress rather than mistakes |
| ๐ | Search | Filters by type, status, timeline, flow and time range. Obsidian's own search already covers the words; this answers "every unfinished character in the main universe" |
| ๐ค | Export | The notes you choose, in chapters by type or by timeline, as a Markdown note, a single-page HTML book (pictures included, readable offline, prints well), an HTML wiki (a page per note, with "linked from" lists) or a PDF through Obsidian's own PDF export. Links between exported notes keep working; links to anything left out become plain words. This is why notes carry no privacy flag: what a reader sees is decided when you share, not stored on every note forever |
|
What the consistency report checks
Each kind has a chip; switched-off kinds leave the count too. While Obsidian is still reading the vault's links, the orphan check waits and says so. |
๐ Built-in guide
A tour written so that anyone can follow it, opened once by itself the first time the plugin starts. One chapter per screen, in four groups โ Getting started, While writing, Keeping track, Help โ with small diagrams, a progress bar and read marks. Chapters carry buttons that do the step they describe: set up the universe, set up time, make a note, open the timeline.
The last chapter is a searchable FAQ. Field names appear only in the For the curious boxes, so the main text stays plain.
Example story. The Lantern Keepers is a 13-page universe with two flows, three characters, a broken law, a draft idea and a note with two versions. It is written to its own folder in the language you choose, every page is marked with an example badge in the views, and one button removes it again (to the trash, never deleted outright). Pages you copied from it stay yours.
Open the guide from the book icon in the ribbon, the Open guide command, or Settings โ Help.
๐ One chapter per screen, with a diagram and a button that does the step
๐ Getting started
๐ฅ Install
Lore Creator is in Obsidian's community plugins: community.obsidian.md/plugins/lore-creator.
- In Obsidian: Settings โ Community plugins, turn off Restricted Mode if it is on, then Browse and search for Lore Creator.
- Install, then Enable.
Installing by hand
- Download
main.js,manifest.jsonandstyles.cssfrom the latest release. - Put them in
<vault>/.obsidian/plugins/lore-creator/. - In Obsidian: Settings โ Community plugins, turn off Restricted Mode, then enable Lore Creator.
[!TIP] On first start the guide opens by itself. Its Set up your universe chapter walks through the next two steps, and you can make the example story to see every view filled in before writing your own.
๐ช Set up a vault
Run Set up this vault from the command palette. It creates the folders, templates and type registry the views read from โ previewing the exact tree first, and never overwriting a file that already exists. One step asks for your time system: a unit name, days per unit, and an optional link to Earth years. Files are written first and settings last, so a setup that stops halfway changes nothing; running it again only fills in what is missing.
๐ <vault>
โโโ ๐ Universe.md โ time system, timelines, universe-wide laws
โโโ ๐ System/
โ โโโ ๐ Types.md โ the type registry: edit a note, not the plugin
โ โโโ ๐ Version sets.md
โโโ ๐ Templates/
โโโ ๐ Versions/ โ archived versions, found via version-of
โโโ ๐ Exports/
Folder names are chosen separately from the interface language: a universe is written in whatever language its story is, which is not necessarily the language of your menus.
โ๏ธ Write something
flowchart LR
S1["1๏ธโฃ New lore note<br/>โ Timeline<br/><i>timeline-id: main</i>"]
S2["2๏ธโฃ New lore note<br/>โ Story<br/><i>set time, timeline, flow</i>"]
S3["3๏ธโฃ Link notes<br/><i>next / prev</i>"]
S4["4๏ธโฃ Open the timeline<br/><i>from the ribbon</i>"]
S1 --> S2 --> S3 --> S4
S3 -.->|"repeat"| S2
classDef step fill:#4f46e5,stroke:#3730a3,color:#fff
classDef last fill:#22c55e,stroke:#15803d,color:#062e11
class S1,S2,S3 step
class S4 last
- New lore note โ pick Timeline, name it, give it a
timeline-idsuch asmain, and list its flows. - New lore note โ pick Story. In the banner at the top, click the time to
place it, and set
timelineandflowin the properties. - Repeat, linking notes with
next. - Open the timeline from the ribbon.
๐ท๏ธ How notes are described
Standard fields โ on every lore note
| Field | Meaning |
|---|---|
type | Which type this is โ the folder is only organisation |
icon / icon-type | An emoji or a Lucide icon name |
status | draft ยท partial ยท done |
aliases | Obsidian's own field; resolves [[Lord Kyle]] to this note |
alias-history | When and why a name changed |
related | Free-form links |
๐ Timeline placement โ when a note has one
| Field | Meaning |
|---|---|
timeline | Which reality it belongs to |
flow | Which lane |
time | A single number. Sorting depends only on this. May be empty |
time-precision | year ยท date ยท datetime |
time-label | What readers see |
time-end | Set when this spans a period rather than a moment |
time-uncertain | Drawn dashed |
earth-time | Optional reference, computed or written by hand |
next / prev | Connections. More than one means the story branches |
๐ Versioning
| Field | Meaning |
|---|---|
version | v1, v2, โฆ |
version-name | Optional label, also used in the archive filename |
version-note | What is different about this draft |
version-of | Present only on archived versions |
โ๏ธ Laws and ๐ก drafts
| Field | Meaning |
|---|---|
scope | universe or local |
applies-to / timeline-scope | Where a law holds. Empty means everywhere |
laws / breaks-law | Declared on entities; the laws view inverts them |
idea-for | What a draft is an idea for |
promoted-to / promoted-from | The two-way link left by a promotion |
โจ๏ธ Commands
| Command | What it does | |
|---|---|---|
| ๐ช | Set up this vault | Create folders, templates and the type registry |
| ๐ | New lore note | Create a note from a type's template |
| ๐ช | Open timeline / relations / laws / drafts / dashboard | Open a view |
| ๐ | Open guide | Open the built-in guide |
| ๐ | Edit time system | Change the unit, days per unit and the link to Earth time |
| ๐ | Versions of this note | List, create, switch and archive versions |
| ๐ | Version sets | Capture and apply named snapshots |
| ๐งญ | Go to the next / previous fragment | Follow a connection; asks when there are several |
| ๐ฏ | Show this note on the timeline | Open the timeline centred on the current note |
| ๐ก | Promote this draft | Turn a sketch into a real note |
| ๐ | Find in the universe | Search by field rather than by text |
| ๐ค | Export the universe | A Markdown note, HTML book, HTML wiki or PDF |
On the timeline: Tab reaches the notes, arrow keys walk between them, Enter opens one, + โ zoom, 0 fits, / jumps to search. In dialogs: Enter in a text field presses the main button.
โ๏ธ Settings
Every path is configurable; these are the defaults:
| Setting | Default |
|---|---|
| Universe file | Universe.md |
| Type registry | System/Types.md |
| Versions folder | Versions |
| Templates folder | Templates |
| Version sets file | System/Version sets.md |
| Exports folder | Exports |
The time system is written into the universe note's frontmatter rather than plugin data, so a vault stays self-describing even without the plugin installed. The type registry lives in a note for the same reason. Settings also has an Edit time system button and a Help group that opens the guide.
Notes inside the templates folder are never counted as lore: they stay out of the timeline, dashboard, search, export and consistency report.
Interface language follows Obsidian's own, or can be set explicitly. ๐ฌ๐ง English and ๐น๐ท Turkish are included. Frontmatter field names are English in every language โ they are data, not interface.
๐ ๏ธ Development
npm install
npm run dev # esbuild watch โ rebuilds dist/ on save
npm run lint # eslint with eslint-plugin-obsidianmd
npm test # vitest unit tests (time, links, audit, settingsโฆ)
npm run build # type-check, lint, then a minified dist/main.js
Every build writes main.js, manifest.json and styles.css into dist/ โ
exactly the three files a vault's plugin folder needs.
The sources live outside any vault. To work on the plugin, point a vault's
plugin folder at dist/ โ a junction or symlink keeps it to one copy:
# Windows (cmd), no administrator rights needed
mklink /J "<vault>\.obsidian\plugins\lore-creator" "<path to this repo>\dist"
# Windows (PowerShell)
New-Item -ItemType Junction -Path "<vault>\.obsidian\plugins\lore-creator" -Target "<path to this repo>\dist"
# macOS and Linux
ln -s "<path to this repo>/dist" "<vault>/.obsidian/plugins/lore-creator"
Obsidian does not reload plugins by itself. Hot Reload picks up rebuilds automatically; without it, run Reload app without saving after each change.
Every push and pull request runs npm ci, npm run build and npm test in CI.
Releases are tagged with the version number exactly, with no v prefix. Pushing
the tag builds the plugin and publishes main.js, manifest.json and
styles.css from dist/ as individual assets, which is what Obsidian expects.
There are no runtime dependencies โ nothing third-party is bundled into
main.js.
๐ค Contributing
Issues and pull requests are welcome. Two things worth knowing before you start:
- ๐๏ธ The vault is the source of truth. Anything the plugin knows should be readable from the notes themselves, so a universe survives without it.
- ๐ก๏ธ Nothing destructive happens without a dialog naming the exact files, and file moves are ordered so a failure leaves a duplicate rather than a hole.
๐ Lore Creator is free. If it helps your writing, you can support its development on GitHub Sponsors.
For plugin developers
Search results and similarity scores are powered by semantic analysis of your plugin's README. If your plugin isn't appearing for searches you'd expect, try updating your README to clearly describe your plugin's purpose, features, and use cases.