vizjj is a GUI for the version control system Jujutsu. It takes advantage of Jujutsu's composable primitives to present an interactive view of your repository. Just imagine: what if you were always in the middle of an interactive rebase, but this was actually good?
vizjj is a desktop application with a keyboard & mouse interface, written in Tauri.
Binaries are available for several platforms on the releases page.
Use the .dmg
or .app.tar.gz
on MacOS, and the .msi
or .exe
on Windows.
To compile from source:
- Install the system dependencies (on Debian-likes,
apt install libpango1.0-dev libatk1.0-dev libgdk-pixbuf2.0-dev libgtk-3-dev libjavascriptcoregtk-4.1-dev libwebkit2gtk-4.1-dev
). - Install the frontend dependencies:
bun install
. - Build the application:
bun run tauri build
.
Put vizjj
on your path and run it from a Jujutsu workspace, pass the workspace directory as an argument or launch it separately and use the Repository->Open menu item. Tips:
- On MacOS, try adding
/Applications/vizjj.app/Contents/MacOS/
to your PATH environment variable. On Windows, addC:\Program Files\vizjj\
. - Using
vizjj &
on MacOS/Linux orstart vizjj
on Windows will run in the background without blocking your shell. vizjj --help
will display some possible command-line arguments.
vizjj uses jj config
; revset-aliases.immutable_heads()
is particularly important, as it determines how much history you can edit.
vizjj has some additional settings of its own, with defaults and documentation here.
vizjj doesn't require JJ to run, but you'll need it for tasks vizjj doesn't cover. What it can do:
- Use the left pane to query and browse the log. Click to select revisions, double-click to edit (if mutable) or create a new child (if immutable).
- Use the right pane to inspect and edit revisions - set descriptions, issue commands, view their parents and changes.
- Drag revisions around to rebase them; move them into or out of a revision's parents to add merges and move entire subtrees. Or just abandon them entirely.
- Drag files around to squash them into new revisions or throw away changes (restoring from parents).
- Drag bookmarks around to set or delete them.
- Right click on any of the above for more actions.
- Push and fetch git changes using the bottom bar.
- Undo anything with ⟲ in the bottom right corner.
There's no roadmap as such, but items on the to-do list may or may not be implemented in future. Just about everything is subject to change for now, including the name.
vizjj is in early development and will have bugs. In theory it can't corrupt a repository thanks to the operation log, but it never hurts to make backups.
If your repo is "too large" some features will be disabled for performance. See the default config for details.
Recommended IDE setup: VS Code + rust-analyzer + Svelte + Tauri.
Some useful commands:
bun run test
- execute unit tests.bun run gen
- update the IPC message types in src/messages from src-tauri/messages.rs.bun run fix
- format the code and fix clippy warnings.bun run tauri dev
- launch a debug build with automatic reloading.bun run tauri build -- --target universal-apple-darwin
- create a fat binary for MacOS.bun run tauri dev -- -- -- --debug
- run locally with --debug. Yes, all three--
are necessary.
DESIGN.md has some basic information about how vizjj works.