← All projects
In progress

LocalGit Studio

A local-first Git workspace that helps developers inspect branches, changes, diffs, commits, and remotes while keeping the real repository on their computer.

Tools / technologies

  • JavaScript
  • React
  • Vite
  • Node.js
  • Express
  • Git
  • AWS SDK / S3

The idea

I built LocalGit Studio for developers who want a focused way to review a real Git working tree without moving their project into a hosted workspace. The repository on disk remains the source of truth, and the same files stay available in VS Code or another editor.

What it supports

  • Open an existing repository or choose a workspace containing repositories.
  • Review branches, staged and unstaged changes, diffs, recent commits, and remotes.
  • Stage or unstage files, commit changes, create or switch branches, fetch, fast-forward pull, and push.
  • Back up selected files manually to an S3-compatible bucket, with SHA-256 verification.

Technical approach

The interface uses React and Vite. A local Node.js and Express API works with the installed Git executable for a bounded set of Git operations. The app binds to loopback, validates local requests, checks workspace paths against traversal and symlink escapes, and applies a per-process CSRF token to mutations. Git commands are invoked without a shell and have bounded output and timeouts.

S3 is an optional manual backup path, not a Git remote or shared storage service. The app does not require Docker or MongoDB and does not send repository files to the portfolio site.

Current status

The project is in progress. Its source and project information are available in the Exploring-Tech repository and on the project information page. The repository uses the PolyForm Strict 1.0.0 license; check its terms before reuse.