jj Sync

by Ben Sykes
5
4
3
2
1
Score: 35/100
New Plugin

Description

This plugin has not been manually reviewed by Obsidian staff. Sync your vault using jj (Jujutsu) VCS with conventional commits.

Reviews

No reviews yet.

Stats

stars
downloads
0
forks
0
days
NaN
days
NaN
days
0
total PRs
0
open PRs
0
closed PRs
0
merged PRs
0
total issues
0
open issues
0
closed issues
0
commits

Latest Version

Invalid date

Changelog

README file from

Github

jj-sync

Sync your Obsidian vault using jj (Jujutsu) VCS with conventional commits.

Features

  • One-click vault sync via ribbon icon or command palette
  • Conventional commit messages for every sync operation
  • Guided jj repository initialization for new vaults
  • Auto-sync on startup and on a configurable interval
  • Configurable notice levels to control UI noise
  • Desktop only (wraps jj CLI)

Development

Prerequisites

Setup

task install       # install dependencies via bun
lefthook install   # set up pre-commit hooks

Build and develop

task dev           # watch mode — rebuilds on file changes
task build         # production build (type-checks then bundles)
task lint          # run ESLint
task test          # run vitest unit tests
task typecheck     # run TypeScript type checker only
task check         # run all quality gates (lint, typecheck, test, build)

Run task with no arguments to see all available tasks.

Test vault

A gitignored test-vault/ directory is used for manual integration testing:

task test-vault:setup

This creates the directory, symlinks build output into the plugin folder, initializes a jj repo, and creates a local bare git remote. Then open test-vault/ as a vault in Obsidian and enable the plugin.

License

MIT