Skip to content

jscraik/trace-narrative

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

287 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Trace Narrative

Trace Narrative Landing Page - Firefly

CircleCI License: Apache 2.0 tauri v2

Version control as a narrative medium.
Capture the story behind your code - from AI prompts to commits.

Quick Install

# macOS (Apple Silicon) - Recommended
open https://github.com/jscraik/trace-narrative/releases/latest

If the DMG download/install fails on macOS, use this fallback:

  1. Download the release artifacts manually from the same page and ensure you picked the matching architecture.
  2. For a direct install fallback:
    • Control + click / right-click the DMG (or app) and choose Open.

    • If macOS still blocks it, run:

      xattr -dr com.apple.quarantine '/Applications/Trace Narrative.app'
    • If that still fails, install via local build:

      pnpm install
      pnpm tauri:build:full

Supported download paths

  • GitHub Releases (recommended): https://github.com/jscraik/trace-narrative/releases/latest
  • Local build fallback: pnpm tauri:build:full (works on supported OS with Node + Rust toolchain)

OS fallback notes

OS What to download Fallback notes
macOS (Apple Silicon) trace-narrative_*_aarch64-apple-darwin.dmg Use right-click + Open if Gatekeeper blocks it. If still blocked, remove quarantine: xattr -dr com.apple.quarantine '/Applications/Trace Narrative.app'.
macOS (Intel) trace-narrative_*_x86_64-apple-darwin.dmg Same fallback commands as above if install is blocked.
Windows trace-narrative_*_x64.msi (or .exe if no MSI is present) If installer is blocked, run PowerShell once with admin: Set-ExecutionPolicy -Scope Process -ExecutionPolicy Bypass.
Linux trace-narrative_*_amd64.AppImage, .deb, or .rpm If AppImage won’t run: chmod +x ./trace-narrative.AppImage.

If your OS/arch package is unavailable or blocked, use a local build fallback:

pnpm install
pnpm tauri:build:full

TL;DR

The Problem: When you code with AI (Claude, Codex, Cursor), you lose rich context—intent, dead ends, and reasoning. Git commits only show what changed, not why.

The Solution: Narrative captures the full story: AI sessions → intent → commits → timeline. It links your conversations to your code, preserving the thought process behind every line.

Why Use Narrative?

Feature What It Does
📖 Context-Aware Timeline Navigate commits with linked AI conversations, not just diffs.
🤖 AI Integration Import sessions from Claude Code, Codex CLI, and Cursor.
🔍 Atlas Search Find "that thing we discussed about caching" instantly across all sessions.
💾 Local-First All data stays in your .narrative folder. No cloud needed.

Visual Tour

Dashboard

Get high-level insights into your AI-assisted workflow, tracking session impact and productivity.

Trace Narrative Dashboard

Repository View

Navigate the commit timeline with rich context. See the "why" behind the code.

Repository View

Documentation & Knowledge

Access project documentation and knowledge items directly within the narrative interface.

Docs View


Quick Start

Build from Source

Prerequisites: Node.js, pnpm, Rust toolchain, git.

# 1. Clone the repository
git clone https://github.com/jscraik/trace-narrative.git
cd trace-narrative

# 2. Install dependencies
pnpm install

# 3. Run the development environment
pnpm tauri dev

Then open a git repository and see your commit history come to life with narrative context.


Features

  • Timeline View: A new way to look at git history, focusing on the story.
  • Session Import:
    • Claude Code: Import .json logs.
    • Codex CLI: Import session history.
    • Cursor: Drag and drop chat exports.
  • Atlas Search: Full-text search across your entire narrative history.
  • Live Updates: Watch your repo change in real-time.
  • Auto-Ingest: Automatically capture sessions from supported tools.

Commands

Command Description
pnpm install Install dependencies
pnpm tauri:dev Run desktop app in dev mode
pnpm tauri:build Build production desktop app
pnpm lint Run linter (Biome)
pnpm typecheck TypeScript type checking
pnpm test Run unit tests
pnpm build Build web assets only
pnpm check Run all quality gates
pnpm audit Security audit
pnpm docs:lint Lint documentation

Documentation


Troubleshooting

"App opens but is empty"

Click "Open repo" and select a valid git repository. If you have not selected a repo, Narrative waits for your input.

"Import failed"

Check that your log files are in the supported JSON format. See Documentation for detailed format specifications.

"Build errors"

Run pnpm install again. Ensure your Rust toolchain is up to date (rustup update).

"serve / screenshot workflow errors"

For standalone frontend-only landing-page work, see Frontend Website Rules for the complete screenshot workflow.


Community & Support


Contributing

We welcome contributions! Please read our Contributing Guide. Narrative uses tauri v2 (Rust backend + React frontend).

Ways to Contribute


License

Apache-2.0. See LICENSE.


brAInwav


brAInwav
from demo to duty

About

A new way to discover the narrative, share, and collaborate across GIT and agent traces.

Topics

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Packages

 
 
 

Contributors