RepoRaccoon

riigait/RepoRaccoon Checked 3 days ago

RepoRaccoon - sniffs out your git repositories anywhere.

Sniffs out your git repositories anywhere. RepoRaccoon locates git repositories (folders containing .git) across every environment you work in. The command is reporaccoon. One tool to answer: *"Where are all my git repos, local and remote?"*

Summary extracted from the README.

RepoRaccoon

Sniffs out your git repositories anywhere.

RepoRaccoon locates git repositories (folders containing .git) across every environment you work in. The command is reporaccoon.

  • Windows terminal — PowerShell, CMD, Git Bash
  • Windows apps — File Explorer, desktop app windows
  • macOS terminal — zsh / bash
  • Linux terminal — Ubuntu (including WSL)
  • Web / remote — GitHub connection (list your remote repos) and other git hosts
  • MCP server — expose repo search to AI assistants (Claude, etc.) over stdio

Goal

One tool to answer: "Where are all my git repos, local and remote?"

Status

  • Windows terminal (PowerShell 5.1 / 7, CMD, Windows Terminal)
  • Local web UI (reporaccoon -w) — raccoon mascot, activity heatmap, most active repos, filters, pagination
  • Automatic scanning (daily scheduled task + auto-scan when the web UI opens with old results)
  • MCP server (find_repositories over stdio)
  • Nested repositories (submodules, repos inside repos) — CLI -nested, web UI tree view, MCP includeNested
  • Windows app windows
  • macOS terminal
  • Linux / Ubuntu terminal
  • GitHub / web

Roadmap

  1. Ubuntu / macOS version (one bash script)
  2. GitHub tab — list your GitHub repos, mark which are cloned on this PC
  3. Windows app feel — Start menu / desktop shortcut with the raccoon icon, hidden server
    • Daily auto scan (reporaccoon -install)
  4. Extras — git status column (uncommitted / unpushed), last commit date, export button in web UI
    • Duplicate clones (copies badge + filter)

Changelog

  • 1.1.1 — Nested repositories: Include nested repos option in the web UI with an expandable tree table, includeNested option for the MCP server.
  • 1.1.0 — MCP server for AI assistants.
  • 1.0.0 — First release with one-line installer.

Windows usage

Install

Requirements: Windows 10/11 or Windows Server 2016+, Windows PowerShell 5.1 (built in). No admin rights, no other installs.

One line (PowerShell) — downloads the latest release:

irm https://raw.githubusercontent.com/riigait/RepoRaccoon/main/install.ps1 | iex

Or from the zip — download RepoRaccoon.zip from Releases, extract it, then run:

powershell -ExecutionPolicy Bypass -File install.ps1

Both copy the files to %LOCALAPPDATA%\Programs\RepoRaccoon and add that folder to your user PATH. Open a new terminal and reporaccoon works from any folder in CMD, PowerShell and Windows Terminal. Run the installer again to update.

If PowerShell's execution policy blocks scripts (Restricted), CMD still works; for PowerShell run Set-ExecutionPolicy -Scope CurrentUser RemoteSigned or use reporaccoon.cmd.

Uninstall (stops the web server, removes the daily scan task, the files and the PATH entry):

powershell -ExecutionPolicy Bypass -File "%LOCALAPPDATA%\Programs\RepoRaccoon\install.ps1" -Uninstall

Examples

reporaccoon                :: find all git repos on all drives (C:, D:, USB...)
reporaccoon -d D           :: all repos on drive D:
reporaccoon -d C,D         :: drives C: and D:
reporaccoon pappime        :: repos whose folder name contains "pappime"
reporaccoon api -d D       :: name filter + drive
reporaccoon -p D:\vs -m 3  :: scan a folder, max 3 levels deep
reporaccoon -c             :: last full scan, instant (cache)
reporaccoon -c api         :: search the cache by name
reporaccoon -f json -o repos.json
reporaccoon -h             :: help

Options

Option Meaning
[name], -n Repo folder name (contains). Wildcards * ? allowed
-d Drive(s) to scan: D, D:, D:\, C,D
-p Folder path(s) to scan
-m Max folder depth, 0 = unlimited (default)
-f table (default), list, json, csv, path
-o Save output to file
-c Use cache from last full scan (no scanning)
-l List available drives
-a Also scan AppData (skipped by default — tool caches)
-x Extra folder names to skip: -x build,dist
-nested Keep scanning inside repos (submodules, nested repos)
-v Version
-h, --help, /? Help

Cache: a full scan (plain reporaccoon) is saved to %LOCALAPPDATA%\RepoRaccoon\cache.json.

MCP server

The source checkout includes reporaccoon-mcp.ps1, a dependency-free stdio MCP server for Windows PowerShell 5.1 or 7. Configure your MCP client to launch powershell.exe with these arguments (replace the script path for your checkout):

{
  "mcpServers": {
    "reporaccoon": {
      "command": "powershell.exe",
      "args": ["-NoLogo", "-NoProfile", "-ExecutionPolicy", "Bypass", "-File", "D:\\vs\\RepoRaccoon\\reporaccoon-mcp.ps1"]
    }
  }
}

Clients with different configuration formats can use the same command and arguments. The client starts and stops the process; there is no HTTP port or background service. The adapter implements MCP stdio with protocol version 2025-06-18.

Tool: find_repositories, requiring an absolute path, with optional name and maxDepth (1-10, default 3), plus includeNested (boolean, default false). For example, ask your assistant to find repositories under D:\vs with depth 2. Results include names, branches and paths, without remote URLs or file contents. Scans reuse the existing finder, do not change repositories or refresh the cache, and stop descending when they find a repository unless includeNested is true. Nested scans still respect the depth limit and excluded folders. The local client can request any folder accessible to its Windows user. Scans run sequentially; cancellation does not interrupt a running scan. The release installer does not install this adapter; use its source checkout path.

Automatic scanning

reporaccoon -install            :: scan every day at 12:30 and 5 min after logon (hidden)
reporaccoon -install -at 09:00  :: other time
reporaccoon -uninstall          :: remove it
  • Creates a Windows scheduled task "RepoRaccoon daily scan" for your user (no admin needed). It runs a full scan in the background and refreshes the cache, so reporaccoon -c and the web UI are always current. Missed runs (PC off) run as soon as possible.
  • Log: %LOCALAPPDATA%\RepoRaccoon\background.log (last 100 lines).
  • The web UI also scans all drives automatically when you open it and the saved results are missing or older than 1 day (press Stop to cancel).

Web UI

reporaccoon -w             :: open the web UI (server starts hidden in the background)
reporaccoon -stop          :: stop the background server now
reporaccoon -w -fg         :: run the server in this window instead (visible log, Ctrl+C to stop)
reporaccoon -w -port 7718  :: other port
  • Live raccoon mascot: blinks, follows your mouse, digs while scanning, holds up its find when done, hides when a scan fails. Respects Windows "reduce motion".
  • Pick drives, folder, name, depth → Scan. Stop cancels a scan.
  • Enable Include nested repos to scan inside repositories and discover submodules. The main table groups children beneath their nearest listed parent, with expand/collapse controls and the existing row actions. Sorting applies within each branch; pagination keeps each parent and its children together. Filters show matching repositories even when their parent is filtered out.
  • Most active panel beside the heatmap: top 5 repos for 30d / 90d / 1y (or the selected day); click one to filter the table.
  • Opens with the last full scan (cache). Live search + sortable columns. Warns when the cache is older than 1 day (Rescan all).
  • Activity graph (GitHub-style): commits made on this PC per day over the last year, pushed or not, read from each repo's local reflog (.git/logs/HEAD). Pulled/cloned commits are not counted. Click a day to show only repos active that day. Note: git may prune reflog entries older than ~90 days.
  • Per repo: Code (VS Code) plus a ⋯ menu — open folder (Explorer), open terminal here, copy path, copy remote URL. Remote links open on GitHub.
  • The server runs hidden (no terminal window). Closing the browser tab keeps it running; it stops by itself 10 minutes after the last page is closed (open pages send a small heartbeat every minute; a running scan also keeps it alive). Running reporaccoon -w again reuses a running server or starts a new one.
  • Stop it immediately with reporaccoon -stop. With -fg, stop with Ctrl+C.
  • Switch between the raccoon page and the classic page with the Raccoon | Classic switch at the top right.
  • Local only: listens on localhost, API accepts only requests from its own page, and open buttons only work on repo paths from scan results.

Files: reporaccoon-web.ps1 (server, built-in PowerShell HttpListener, no installs), web/index.html (page). The previous design is kept at http://localhost:7717/classic (web/classic.html).

Notes

  • Output: name, branch, origin remote, path, last modified. Reads .git files directly — git.exe not required.
  • Credentials in remote URLs are masked (https://***@github.com/...).
  • Skips: Windows, $Recycle.Bin, System Volume Information, node_modules, .venv, venv, __pycache__, .cache, AppData, symlinks/junctions.
  • Detects normal repos, worktrees and submodules (.git file).
  • Uninstall: see Install.

Icon

assets/reporaccoon.svg is the source. It is used as the web UI favicon and logo (served at /icon.svg).

Windows icon: assets/reporaccoon.ico (16–256 px) and assets/reporaccoon-256.png. Rebuild after editing the SVG:

powershell -ExecutionPolicy Bypass -File assets\build-icon.ps1

Uses headless Microsoft Edge to render each size — no extra installs.

Contributing

Contributors are welcome! Feel free to improve the app and make it more useful for everyone — bug fixes, new features, docs, and ideas all help.

  1. Open an issue to report a bug or suggest an idea.
  2. Fork the repo, make your change on a new branch, and test it on Windows PowerShell 5.1.
  3. Open a pull request with a short description of what changed and why.

See CONTRIBUTING.md for details.

License

The RepoRaccoon source code is available under the MIT License. You may use, copy, modify, and distribute the code under the terms of that license.

Name and branding

“RepoRaccoon,” the RepoRaccoon logo, and related visual branding identify the official RepoRaccoon project and are not covered by the software license.

You may refer to RepoRaccoon when describing this project or an unmodified copy. You may not use the RepoRaccoon name, logo, or branding to imply that a modified or independently distributed version is official, endorsed by, or affiliated with the RepoRaccoon project.

Please use a different name and branding for modified versions, forks distributed as separate products, or projects based on this code. You may not use the RepoRaccoon logo or create confusingly similar branding without written permission from the project owner.

This notice does not change the rights granted by the software license. It also does not grant permission to use third-party names, logos, or other assets included in the project.