Skip to content
melthondPublic

About

A native Git and GitHub workspace launched with one command

Resources

Code of conduct

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

gitowl

A fast, native Git and GitHub workspace — open it with one command.
Stage, commit, review pull requests and fix history in a clean macOS-style window.

CI License: MIT OR Apache-2.0 Rust 1.88+ Platforms gitowl 1.0.1

Features · Installation · Usage · Troubleshooting · Contributing · Release notes

gitowl's current Changes page in light mode: file staging, a commit form, spacious diffs and comparison controls


Why gitowl?

  • One command, a real window. Type gitowl in any repository and a native desktop window opens on it. No browser tab, no account, no project import.
  • Recovery built in. Undo, history rewrites and resets save a recovery point first; force pushes use --force-with-lease; destructive actions ask before they act. Keep backups for uncommitted and untracked files.
  • GitHub without leaving the app. Review pull requests line by line, apply suggestions, manage issues, Actions, releases, secrets and repository settings through the official GitHub CLI.
  • Local by design. gitowl runs against your own Git and gh installs. Git and GitHub operations contact the remotes you select; authentication is handled by those tools.
  • One executable. The Rust binary includes the UI. Run node scripts/bench.mjs to measure operations on a generated 5,000-commit repository on your machine.

Features

Everyday Git

  • Stage files, hunks or single lines; commit with co-authors
  • Diffs with intra-line highlights, side by side, whitespace and wrap options, find, and a plain-language Explain changes summary
  • Image diffs: side by side, swipe and onion skin
  • Branches, remotes, tags, stashes, merges, pull strategies
  • Three-way conflict editor, or take one side for any conflict
  • Clean untracked files, Git LFS prompts, external diff tool

History you can fix

  • Searchable, filterable history and rename-aware file history
  • Blame, reflog browser and recovery points
  • Undo, revert, cherry-pick, reset (soft / mixed / hard)
  • Edit any commit's message or author
  • Reorder, squash, fixup or drop commits by drag and drop
  • Verified badges for signed commits

GitHub (via the GitHub CLI)

  • Pull requests: review threads, suggestions, Apply suggestion, checks, auto-merge, update branch, merge
  • Issues: edit, pin, lock, transfer, start a linked branch
  • Actions: run workflows, live logs, artifacts
  • Releases, security alerts, README, organizations
  • Secrets, variables, labels, rulesets and danger-zone settings
  • Repository settings page with searchable sections for access, branches, Actions, environments, security, webhooks, deploy keys and Pages

Built for keyboards and eyes

  • Command palette (Ctrl K) with GitHub search
  • Shortcuts for commit, fetch, pages and files
  • Light and dark mode, collapsible sidebar
  • macOS/iOS-style design, accessible names and focus rings throughout
  • Overview with review requests and your GitHub inbox
  • Repository activity heatmap with daily commit counts and year selection across local and fetched branches; works offline without GitHub sign-in
More screenshots

Screenshots show the current interface using a sample project. Repository settings shows gitowl's public GitHub repository.

Repository activity Repository settings
Overview with a heatmap of commits to this repository, daily activity and year selection GitHub repository settings with searchable sections for general settings, access, automation and security
Dark mode Settings
Changes page with GitHub-style dark colors, spaced controls and green and red diff lines Settings with appearance, sidebar, editor and keyboard shortcut controls

Command palette

Command palette filtering commands to open a folder, editor, file manager or terminal

History

History with a selected commit, undo and rewrite actions, and its highlighted diff


Installation

You can download a prebuilt release or build from source.

Requirements to run gitowl

Windows macOS Linux
OS Windows 10 or 11, 64-bit macOS 11 Big Sur or later x86_64 with GTK 3 (e.g. Ubuntu 22.04+, Debian 12+, Fedora 37+)
Webview Microsoft Edge WebView2 Runtime — preinstalled on Windows 11 and updated Windows 10 System WebKit (built in) WebKitGTK 4.1 (libwebkit2gtk-4.1-0)
Git 2.34 or newer — git-scm.com 2.34 or newer (brew install git or Xcode tools) 2.34 or newer (package manager)
GitHub CLI (optional) 2.50 or newer — only for GitHub features 2.50 or newer 2.50 or newer

gitowl is developed and tested with Git 2.45 and GitHub CLI 2.102. Local Git features work without gh; GitHub features throughout the app require it.

Option 1: Prebuilt release

Downloads: Get installers and archives from the Releases page, or build from source.

Platform Download Notes
Windows gitowl-<version>-windows-setup.exe (installer) or …-x86_64-pc-windows-msvc.zip The installer adds gitowl to your PATH.
macOS (Apple silicon) gitowl-v<version>-macos.dmg Drag gitowl.app to Applications, then set up the command below. Intel Macs: build from source.
Linux (x86_64) gitowl_<version>-1_amd64.deb or …-x86_64-unknown-linux-gnu.tar.gz Built on Ubuntu 24.04. On older distributions, build from source.

Archive names include the tag prefix, for example gitowl-v1.0.1-x86_64-pc-windows-msvc.zip. Extract the archive and put its executable in a folder on your PATH. To install a Debian package, run sudo apt install ./gitowl_1.0.1-1_amd64.deb from the download folder.

After moving the macOS app to Applications, make its command available in your terminal:

sudo mkdir -p /usr/local/bin
sudo ln -s /Applications/gitowl.app/Contents/MacOS/gitowl /usr/local/bin/gitowl
gitowl --version

Every file has a matching .sha256 checksum. Verify a download before installing:

# macOS (download both the asset and its .sha256 file into the same folder)
shasum -a 256 -c gitowl-v1.0.1-macos.dmg.sha256
# Linux
sha256sum -c gitowl_1.0.1-1_amd64.deb.sha256
# Windows: download the archive and its .sha256 file into the same folder
$asset = 'gitowl-v1.0.1-x86_64-pc-windows-msvc.zip'
$expected = (Get-Content "$asset.sha256").Split(' ')[0]
if ((Get-FileHash $asset -Algorithm SHA256).Hash -ne $expected) {
    throw 'Checksum mismatch. Download the file again before installing.'
}

Unsigned builds may show a SmartScreen ("Windows protected your PC" → More info → Run anyway) or Gatekeeper warning (right-click the app → Open).

Build from source

Build requirements

Tool Minimum version Tested with Notes
Rust (via rustup) 1.88 1.99 Edition 2024. The minimum is verified by compiling with 1.88.
Node.js 20.19+ (20.x), 22.13+ (22.x), or 24+ 26 Builds the UI. Use a supported LTS release.
npm 10 11 Ships with Node.js.
Git 2.34 2.45
Platform toolchain — — MSVC on Windows, Xcode tools on macOS, GTK/WebKitGTK headers on Linux (below).

1. Install the prerequisites

Windows 10 / 11

Run in PowerShell (uses winget, included in Windows 11):

# C++ build tools (MSVC + Windows SDK) required by Rust on Windows
winget install --id Microsoft.VisualStudio.2022.BuildTools --exact --source winget --override "--quiet --wait --norestart --add Microsoft.VisualStudio.Workload.VCTools --includeRecommended"

winget install --id Rustlang.Rustup --exact --source winget        # Rust
winget install --id OpenJS.NodeJS.LTS --exact --source winget      # Node.js + npm
winget install --id Git.Git --exact --source winget                # Git
winget install --id GitHub.cli --exact --source winget             # optional: GitHub features

# Only if WebView2 is missing (older Windows 10):
winget install --id Microsoft.EdgeWebView2Runtime --exact --source winget

Open a new terminal so the tools are on your PATH, then confirm:

rustc --version; cargo --version; node --version; npm --version; git --version

The package IDs have been verified with winget show. Installation on a clean Windows machine has not been tested; the Windows source build is checked in CI.

macOS
xcode-select --install                     # Apple command line tools (compiler, Git)
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh   # Rust
. "$HOME/.cargo/env"                       # make Cargo available in this shell
brew install node git gh                   # Node.js, a newer Git, GitHub CLI (optional)

Homebrew is the easiest way to get Node.js; the nodejs.org installer works too.

Linux — Debian / Ubuntu (tested in CI)
sudo apt update
sudo apt install -y build-essential curl git pkg-config \
  libgtk-3-dev libwebkit2gtk-4.1-dev libxdo-dev libdbus-1-dev
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh   # Rust
. "$HOME/.cargo/env"
# Node.js 22 LTS or newer: https://nodejs.org/en/download (distribution packages are often too old)
# GitHub CLI (optional): https://github.com/cli/cli/blob/trunk/docs/install_linux.md
Linux — Fedora / Arch (prerequisites tested in CI containers)
# Fedora
sudo dnf install gcc gcc-c++ curl git pkgconf-pkg-config gtk3-devel webkit2gtk4.1-devel libxdo-devel dbus-devel
# Arch
sudo pacman -Syu --needed base-devel curl git pkgconf gtk3 webkit2gtk-4.1 xdotool dbus

Then install Rust and activate Cargo:

curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
. "$HOME/.cargo/env"

Install a supported Node.js LTS release from nodejs.org (22.13+ on 22.x, or 24+). Package names follow the official Fedora and Arch repositories. CI installs these packages and checks native headers and linking. Desktop window behavior on Fedora and Arch still needs testing on those systems.

2. Build and install

git clone https://github.com/ardfaiyaz/gitowl.git
cd gitowl

npm --prefix frontend ci            # install the UI's exact dependency versions
npm --prefix frontend run build     # build the UI (embedded into the executable)
cargo install --path . --locked     # build in release mode and install the `gitowl` command

cargo install puts gitowl in Cargo's bin folder (~/.cargo/bin, or %USERPROFILE%\.cargo\bin on Windows), which rustup adds to your PATH.

On Windows you can also run scripts\build.ps1, which performs the same steps and leaves the executable at target\release\gitowl.exe.

3. Verify

gitowl --version

Updating

Pull the latest code and repeat step 2. If you installed a prebuilt release, Settings → General → Check for updates tells you when a newer release exists (it only checks when you click).

Uninstalling

cargo uninstall gitowl          # if installed from source

Windows installer builds uninstall from Settings → Apps. For a macOS app install, remove /Applications/gitowl.app and the /usr/local/bin/gitowl symlink you created. For a Debian package, run sudo apt remove gitowl. For an archive, remove the extracted files. The recent-projects list and repository recovery points remain (see Configuration).

Set up GitHub features (optional)

gitowl uses the GitHub CLI for GitHub operations. gh uses your operating system's credential store when available; otherwise it can fall back to a plaintext config file. See the GitHub CLI authentication documentation and check gh auth status to see your authentication state.

gh auth login            # choose GitHub.com, HTTPS, and log in with a browser

Some features need extra token scopes, which gh adds on request:

Feature Command
SSH / GPG key lists in Settings gh auth refresh -s read:public_key,read:gpg_key
Organization secrets and variables gh auth refresh -s admin:org (also requires organization permission)
Security alerts gh auth refresh -s security_events
Deleting a repository gh auth refresh -s delete_repo

Usage

gitowl                       # open the repository in the current folder
gitowl path/to/repository    # open a specific repository (or any folder inside it)
gitowl --library             # start on the Open folder screen
gitowl update                # check, verify and start the update (Windows Setup)
gitowl update --check        # only check whether a newer version is available
gitowl update --download-only # download the latest package without starting installation

Outside a repository, gitowl shows a welcome screen with Open Folder, Clone from GitHub and New Repository. Closing the window quits gitowl.

Command-line options

Option Description
[PATH] Repository, or a folder inside one. Defaults to the current directory.
update Check GitHub Releases, download the appropriate package and verify its SHA-256 checksum. Opens Setup on Windows or the disk image on macOS; Linux prints installation instructions.
update --check Check the installed and latest stable versions without downloading or installing.
update --download-only Download and verify the latest stable package, even if already up to date, without opening it. Prints the saved path.
--library Show the Open folder screen instead of opening the current repository.
--no-browser Headless mode for development and automated checks: no window, prints a local URL.
--port <PORT> Port for the local server. 0 (the default) picks a free port.
-h, --help Show help.
-V, --version Show the version.

Updating gitowl

The update command is available starting with 1.0.1. If you have the published 1.0.0 installer or an older version, install 1.0.1 or later manually once from Releases.

Run gitowl update from any folder. It contacts the public GitHub Releases API directly; GitHub CLI, sign-in, Rust and Node.js are not required. If you already have the latest version, it exits without installing anything. It never installs an older version or a prerelease.

  • Windows x64: downloads the setup .exe, verifies the published SHA-256 checksum, and opens the normal setup wizard, including its usual administrator prompt if needed. The command then exits so Setup can replace the executable. Close other gitowl windows and finish the wizard using the same installation location. Your repositories and settings are preserved.
  • macOS Apple Silicon: downloads and verifies the .dmg, then opens it. Quit gitowl, drag the new app to Applications, and choose Replace.
  • Linux x64 (GNU/glibc): downloads and verifies the portable .tar.gz, then prints its saved location. Extract it and replace the binary using your original installation method. If you installed the Debian package, download the latest .deb from Releases and run sudo apt install ./gitowl_*.deb in a folder containing only that downloaded package.

gitowl update --check only checks. gitowl update --download-only saves the latest package and checksum in a unique temporary folder without launching the installer, including when your version is already current. You can delete that folder after updating. Missing packages, interrupted downloads and checksum mismatches stop the update before installation.

The settings page's Check for updates button still reports availability; it does not install updates. To open a repository directory literally named update, use gitowl ./update.

Keyboard shortcuts

Action Shortcut
Command palette Ctrl K (⌘ K on macOS)
Switch page Ctrl 1–7
Commit staged changes Ctrl Enter in the message box
Fetch Ctrl ⇧ F
Next / previous changed file J / K
Toggle sidebar Ctrl B
Move a commit in History Alt ↑ / ↓

Shortcuts don't fire while you're typing in a field (except Ctrl K and Ctrl Enter). The full list is in Settings → General. Use ⌘ in place of Ctrl on macOS.

Configuration

gitowl keeps almost no state of its own:

What Where
Recent projects %LOCALAPPDATA%\gitowl\recent.json (Windows), $XDG_CONFIG_HOME/gitowl/recent.json or ~/.config/gitowl/recent.json
WebView2 browser data (Windows) %LOCALAPPDATA%\gitowl\WebView2
Theme, sidebar, editor choice The app window's local storage; the native window uses an incognito session, so these preferences may reset when it closes
Commit identity, signing, diff tool Your normal Git config (git config) — gitowl reads and writes it there
Recovery points refs/gitowl/recovery/* inside each repository; manage them in Settings → Recovery & packages
GitHub sign-in The GitHub CLI's own config and credential store

Troubleshooting

Windows v0.1.0: WebView2 error 0x80070005 ("Access is denied")

The v0.1.0 installer puts the executable in Program Files, but that build tries to create WebView2's data folder beside it. Use a writable folder for the current PowerShell session:

$env:WEBVIEW2_USER_DATA_FOLDER = "$env:LOCALAPPDATA\gitowl\WebView2"
gitowl

Upgrade to v0.1.1 or later to use this location automatically. Administrator rights are not required to run gitowl.

The window is blank, or shows an old interface

The UI is embedded at build time. Run npm --prefix frontend run build, then rebuild (cargo run or cargo install --path . --locked).

Windows: "WebView2 Runtime is missing" or the window doesn't open

Install the runtime: winget install --id Microsoft.EdgeWebView2Runtime --exact --source winget, or download the Evergreen installer from Microsoft.

Windows: link.exe not found / MSVC errors while building

Install the Visual Studio Build Tools with the Desktop development with C++ workload (command in step 1), then open a new terminal.

Linux: webkit2gtk-4.1 or gtk+-3.0 not found while building

Install the development packages for your distribution from step 1. WebKitGTK must be version 4.1; the older libwebkit2gtk-4.0 does not work.

gitowl: command not found

Add Cargo's bin folder to your PATH (~/.cargo/bin or %USERPROFILE%\.cargo\bin) and open a new terminal.

The GitHub page asks me to sign in

Run gh auth login in a terminal, then click Check again. Run gh auth status to see which account gh uses.

A push or pull waits and then fails

gitowl can't answer interactive password prompts. Make sure Git can authenticate on its own (a credential helper or SSH key), for example by running git fetch once in a terminal. Git commands time out after 120 seconds.

Still stuck? Open an issue with your OS, gitowl --version and git --version.


How it works

gitowl is a Rust program (axum server + tao/wry window) with a React + TypeScript interface built by Vite and embedded into the executable. The window talks to a server bound to 127.0.0.1 with a random per-session token. Every action runs the real git or gh executable with separate arguments (never through a shell), so gitowl behaves exactly like Git does in your terminal — hooks, signing and credential helpers included. See SECURITY.md for the full security model.

Contributing

Contributions are welcome — bug reports, ideas, documentation and code. Start with CONTRIBUTING.md for the development setup, project layout, checks and design rules, and please follow the Code of Conduct.

Quick start for developers:

npm --prefix frontend ci && npm --prefix frontend run build
cargo run

License

gitowl is dual-licensed under either of

at your option. Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in gitowl shall be dual-licensed as above, without any additional terms or conditions.

Acknowledgements

About

A native Git and GitHub workspace launched with one command

Resources

Code of conduct

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Releases

Contributors

Languages