Lonelog
approvedby Snifer
Streamline solo and group TTRPG journaling with Lonelog notation shortcuts and templates. - This plugin has not been manually reviewed by Obsidian staff.
Lonelog for Obsidian - Solo TTRPG Journaling
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.
Main Features
1. Smart Notation System
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
2. Campaign and Session Management
- 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.
3. Interface and Highlighting
- Syntax highlighting in Live Preview and Reading Mode
- Color customization for every Lonelog token
- Dedicated views for progress, threads, scenes, combat, dungeon, and resources
4. Add-ons
- 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
5. Other Features
- Autocomplete based on previously mentioned entities
- Internationalization in English and Spanish
- Public API v1 with JSON-friendly normalized outputs for external plugin integrations
Installation
BRAT
- Install the BRAT plugin.
- In BRAT settings, click
Add Beta Plugin. - Enter
https://github.com/Snifer/lonelog. - Enable Lonelog in
Settings -> Community Plugins.
Manual Installation
- Clone or copy the release files into
.obsidian/plugins/lonelog/. - Reload Obsidian.
- Enable Lonelog in
Settings -> Community Plugins.
Community Plugins
Usage
- 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.
Partylog add-on
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
Development
npm install
npm run dev
npm run build
Public API
Lonelog 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
License
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.
Support
If this project adds value to your gaming table, you can support the developer with a donation via PayPal or Ko-fi.
Credits
- Developed by: Snifer
- Lonelog System: Roberto Bisceglie
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.