Kitsune.WEBSITE

Documentation for fox-flavored libraries โ€” gathered in one cozy den.

KitsuneScript special

Documentation + tools

Libraries

List generated from folders in /docs.

Repositories

README preview from GitHub (main / configured branch).

kitsune-git

Branch: main ยท Refreshed: 2026-05-29 17:50

KitsuneGIT ๐ŸฆŠ

A lightweight, fast, universal Git GUI client โ€” built with Electron. Inspired by SourceTree, designed to be faster and cross-platform.

Features

Complete Git Operations

  • Repository: Open, Clone, Init
  • Staging: Stage/Unstage files individually or all at once, discard changes
  • Commit: Commit with message, amend support, conventional commits
  • Push / Pull / Fetch: Full remote sync with rebase option
  • Branches: Create, delete, checkout, rename (local & remote)
  • Merge & Rebase: Merge with --no-ff, rebase, abort/continue rebase
  • Tags: Create (lightweight & annotated), delete
  • Stash: Stash, list, pop, drop
  • Remotes: Add, remove, view
  • Cherry-pick: Apply specific commits
  • Revert: Revert commits
  • Reset: Soft, mixed, hard reset to any commit
  • Blame: Line-by-line annotation
  • File History: View commit history for any file
  • Diff Viewer: Inline and side-by-side diff with syntax highlighting

Visual Interface

  • Dark/Light Catppuccin-inspired theme (toggle with one click)
  • SourceTree-like layout with sidebar (branches, tags, stashes, remotes)
  • Dual file status panel (staged/unstaged) with inline diff viewer
  • Commit history table with graph, refs, and commit detail pane
  • Multi-tab repository support
  • Context menus on files, branches, tags, stashes, commits
  • Drag & drop staging
  • Modal dialogs for complex operations
  • Toast notifications
  • Resizable sidebar
  • Keyboard shortcuts
  • File watcher with auto-refresh
  • Recent repositories list
  • Auto-updater for production builds

Cross-Platform

  • Windows: NSIS installer + portable executable
  • Linux: AppImage + .deb + .rpm + .tar.gz
  • Cross-platform file watching (chokidar)

Prerequisites

Quick Start

Windows

# Option 1: Use the batch scripts
start-dev.bat          # Development mode (with DevTools)
start.bat              # Production mode

# Option 2: Manual
npm install
npm run dev            # Development
npm start              # Production

Linux

# Option 1: Use the shell scripts
chmod +x start-dev.sh build-release.sh
./start-dev.sh         # Development mode
./start.sh             # Production mode

# Option 2: Manual
npm install
npm run dev            # Development
npm start              # Production

Building Release Packages

Windows (from Windows)

# Using the build script:
build-release.bat

# Or manually:
npm install
npm run build:win

Output (CODE_0 folder):

  • CODE_0 โ€” NSIS installer (with desktop shortcut, start menu, uninstaller)
  • CODE_0 โ€” Portable executable (no install needed)

Linux (from Linux)

# Using the build script:
chmod +x build-release.sh
./build-release.sh

# Or manually:
npm install
npm run build:linux

Output (CODE_0 folder):

  • CODE_0 โ€” Universal Linux package (run anywhere)
  • CODE_0 โ€” Debian/Ubuntu package
  • CODE_0 โ€” Fedora/RHEL package
  • CODE_0 โ€” Generic archive

Both Platforms at Once

npm run build:all

This will build for Windows + Linux.

App Icons

Icons are auto-generated on first build via CODE0. To use a custom icon, replace CODE1 with your own 512x512 PNG. CODE2 auto-generates CODE3 and CODE_4 from it.

Project Structure

KitsuneGIT/
โ”œโ”€โ”€ build/
โ”‚   โ””โ”€โ”€ icon.png               # App icon (auto-generated or custom)
โ”œโ”€โ”€ scripts/
โ”‚   โ””โ”€โ”€ generate-icons.js      # Icon generation script
โ”œโ”€โ”€ src/
โ”‚   โ”œโ”€โ”€ main/
โ”‚   โ”‚   โ”œโ”€โ”€ main.js            # Electron main process
โ”‚   โ”‚   โ””โ”€โ”€ preload.js         # Context bridge (IPC)
โ”‚   โ”œโ”€โ”€ git/
โ”‚   โ”‚   โ””โ”€โ”€ git-service.js     # Git operations (simple-git wrapper)
โ”‚   โ””โ”€โ”€ renderer/
โ”‚       โ”œโ”€โ”€ index.html         # UI shell
โ”‚       โ”œโ”€โ”€ styles.css         # Dark/Light theme styles
โ”‚       โ””โ”€โ”€ app.js             # Frontend logic
โ”œโ”€โ”€ start.bat / start.sh       # Production launchers
โ”œโ”€โ”€ start-dev.bat / start-dev.sh  # Development launchers
โ”œโ”€โ”€ build-release.bat / build-release.sh  # Build scripts
โ”œโ”€โ”€ package.json
โ”œโ”€โ”€ LICENSE
โ””โ”€โ”€ README.md

Available Scripts

ScriptDescription
CODE_0Run the app in production mode
CODE_0Run with DevTools open
CODE_0Build Windows installer + portable
CODE_0Build Linux AppImage + deb + rpm + tar.gz
CODE_0Build for all platforms
CODE_0Build + publish release
CODE_0Generate app icons from source
CODE_0Package without creating installer (for testing)

Keyboard Shortcuts

ShortcutAction
CODE_0Open Repository
CODE_0Clone Repository
CODE_0Init New Repository
CODE_0Refresh
CODE_0Fetch
CODE_0Pull
CODE_0Push
CODE_0Create Branch
CODE_0Stash
CODE_0GitFlow menu
CODE_0Commit
CODE_0File Status View
CODE_0History View
CODE0 / CODE1Navigate files
CODE_0Keyboard Shortcuts

Tech Stack

  • Electron โ€” Cross-platform desktop app
  • simple-git โ€” Node.js Git interface
  • chokidar โ€” Cross-platform file watching
  • electron-builder โ€” Packaging & distribution
  • electron-updater โ€” Auto-update support

License

MIT