Lee esto en Castellano: README-es.md
Lonelog for Obsidian streamlines your solo and group TTRPG journaling by bringing the Lonelog notation standard into your vault and extending it with the Partylog add-on for group-session notes. Focus on the story while keeping mechanics organized, visual, and fast.
Quickly insert Lonelog core symbols using the Command Palette or custom hotkeys:
@Action?Oracle Questiond:Dice Roll->Result=>Consequence[Tag:Name|Attributes]Entity tags for NPCs, locations, PCs, and more
- Automatic headers to create campaign and session structure instantly
- Scene markers with automatic scene numbering and optional context prompts
- Code blocks with
lonelogrendering support
@ The character investigates
d: 1d6 -> 5
-> Something suspicious happens.
- Syntax highlighting in Live Preview and Reading Mode
- Color customization for every Lonelog token
- Dedicated views for progress, threads, scenes, combat, dungeon, and resources
- Combat: rounds, combat blocks, foe tracking
- Dungeon crawling: room state tracking and dungeon status
- Resource tracking: inventory and wealth management
- Partylog: group-session notation using
```partylogblocks and a dedicated Partylog dashboard - Card drawing and advanced dice notation
- Autocomplete based on previously mentioned entities
- Internationalization in English and Spanish
- Public API v1 with JSON-friendly normalized outputs for external plugin integrations
- Install the BRAT plugin.
- In BRAT settings, click
Add Beta Plugin. - Enter
https://github.com/Snifer/lonelog. - Enable Lonelog in
Settings -> Community Plugins.
- Clone or copy the release files into
.obsidian/plugins/lonelog/. - Reload Obsidian.
- Enable Lonelog in
Settings -> Community Plugins.
- Open any note.
- Press
Ctrl/Cmd + Pto open the command palette. - Type
Lonelogto see insertion and management commands. - Assign hotkeys in
Settings -> Hotkeysfor faster logging.
Lonelog now includes an optional Partylog add-on for group-session notes.
Quick path:
- Enable Partylog add-on in plugin settings.
- Write Partylog notation inside fenced
partylogcode blocks. - Open Partylog Dashboard from the view selector or command palette.
Example:
```partylog
@(Kael) Sneak past the guard
d(Kael): Stealth d20+5=8 vs DC 14 -> Fail
=> Kicks a bottle. Guard turns!
! Guard draws his blade and advances
```Current Partylog dashboard tabs:
- Overview
- Scenes
- Threads
- Timeline
- Roster
- Recap
npm install
npm run dev
npm run buildLonelog exposes a public API v1 for interoperability with other Obsidian plugins through the plugin instance.
Example:
type LonelogApi = {
apiVersion: "1";
parse: {
content(content: string): unknown;
file(file: TFile): Promise<unknown>;
isLonelogNote(target: TFile | string): Promise<boolean>;
};
tokenize: {
line(line: string): unknown[];
lines(lines: string[]): unknown[][];
};
settings: {
get(): Record<string, unknown>;
};
views: {
openDashboard(): Promise<void>;
};
};
const lonelogPlugin = app.plugins.plugins["lonelog"] as { api?: LonelogApi } | undefined;
const api = lonelogPlugin?.api;
if (!api || api.apiVersion !== "1") return;
const parsed = api.parse.content("[N:Jonah|friendly]");
const tokens = api.tokenize.line("=> [N:Jonah|friendly]");
await api.views.openDashboard();Current V1 scope:
adapters.contentadapters.fileadapters.activeFilecapabilities.getaddons.getStatusdungeon.*resources.*combat.*progress.*partylog.*info.getinfo.getModulesinfo.getStabilityPolicyerrors.codeserrors.isLonelogApiErrorevents.on/off/offref- domain events for progress/resources mutations
- write helpers for dungeon/partylog
- deeper inventory + structured partylog tag mutations
- combat write api + partial dungeon mutations
- fine-grained helper lookups
- json-friendly normalized outputs
parse.contentparse.fileparse.isLonelogNoteparse.partylog.contentparse.partylog.fileparse.partylog.hasBlockstokenize.linetokenize.linessettings.getviews.open...
Full guide (English): lonelog-api.md
Full guide (Spanish): lonelog-api-es.md
API changelog: lonelog-api-changelog.md
This plugin is licensed under the 0-BSD License. See LICENSE for details.
The Lonelog notation system is © 2025-2026 Roberto Bisceglie, licensed under CC BY-SA 4.0.
If this project adds value to your gaming table, you can support the developer with a donation via PayPal or Ko-fi.
- Developed by: Snifer
- Lonelog System: Roberto Bisceglie
