---
title: "ToolDock — case study"
description: "Browser-only toolkit for Azure DevOps engineers. Fourteen focused tools for variable groups, App Service settings and release variables, plus guided migrations between projects, organizations and Jira."
url: "https://nishantxrana.com/projects/tooldock"
updated: "2026-11-30T00:00:00.000Z"
---

# ToolDock

Browser-only toolkit for Azure DevOps engineers. Fourteen focused tools for variable groups, App Service settings and release variables, plus guided migrations between projects, organizations and Jira.

- **Role:** Solo engineer · product, design, build
- **Year:** 2026
- **Status:** Open source
- **Stack:** React, TypeScript, Vite, Zustand, ExcelJS, IndexedDB, Web Crypto, Vercel Edge Middleware
- **Live:** https://tooldock.nishantxrana.com
- **Source:** https://github.com/nishantxrana/tooldock

## Highlights

- No backend, no database, no telemetry; the PAT lives only in memory unless you opt in
- Opt-in session vault encrypts the PAT with AES-GCM under a non-extractable key
- Resumable migrations for variable groups, repos, pipelines, Boards and Jira, each ending in an actionable report

## Architecture

```mermaid
flowchart LR
  spa["ToolDock SPA<br/>PAT in memory"]
  vault["IndexedDB vault<br/>AES-GCM · opt-in"]
  edge["Edge proxy<br/>allow-listed methods"]
  ado["dev.azure.com<br/>projects · groups"]
  vsrm["vsrm.dev.azure.com<br/>release defs"]
  jira["Jira Cloud<br/>read-only"]
  spa --> vault
  spa -->|"same-origin"| edge
  edge -->|"/ado"| ado
  edge -->|"/vsrm"| vsrm
  edge -->|"/jira"| jira
```

## The problem

Managing Azure DevOps variable groups across environments usually means the portal, a spreadsheet and a lot of copy-paste. Finding where a key is used, diffing two environments or moving a project to another organization is slow and error-prone, and most third-party tools want your token on their server.

## What I built

Fourteen focused tools that run entirely in the browser: search a key across every group, diff two groups or compare up to eight side by side, generate App Service settings, check groups against pasted App Settings, export to CSV, JSON, TXT or multi-sheet XLSX, and map which release stages consume each group. Only three tools write, and each shows the exact change plan and asks for confirmation first.

**Migrate mode** moves variable groups, repositories, pipelines and Boards between projects or organizations, and brings Jira Cloud into Azure Boards. Jobs are resumable from IndexedDB, honour `Retry-After` and rate-limit headers, and finish with a checklist report linking to every item left to do.

## Key decisions

**Your token stays with you.** By default the PAT lives only in memory. Refresh the page and it's gone. Staying signed in is opt-in: the PAT is encrypted with AES-GCM-256 under a non-extractable `CryptoKey`, and the ciphertext sits in IndexedDB for a sliding 30-minute window.

**A proxy that only allows what the app uses.** Azure DevOps sends no CORS headers, so requests go through same-origin paths. Edge middleware forwards `GET` and `PUT`, allows `POST`, `PATCH` and `DELETE` only for the exact endpoints the app calls, and rejects any request without `Sec-Fetch-Site: same-origin`.

**Secrets are never silently lost.** Azure DevOps can't return secret values, so every export keeps *secret*, *empty* and *not set* distinct, and CSV re-imports skip secret rows so a round trip never wipes a real secret.

**Hardened by default.** A strict Content-Security-Policy (`connect-src 'self'`, hashed inline script), `frame-ancestors 'none'`, HSTS and a locked-down Permissions-Policy, with tests that fail if the inline-script hash drifts.

---

Canonical: https://nishantxrana.com/projects/tooldock · Index for agents: https://nishantxrana.com/llms.txt · Contact: nishantxrana@gmail.com
