Skip to content

hey-august/nginx-redirects-checker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Redirect Checker

Visual review tool for nginx redirect maps. Shows side-by-side iframe previews of the old (from) and new (to) URLs so you can approve, flag, or annotate each redirect.

Screenshot 2026-03-17 at 11 48 57 AM

Setup

Grab the redirect map from the Devon/new-redirects branch of signalwire/docs and place it in this directory:

curl -fLo redirects.map "https://raw.githubusercontent.com/signalwire/docs/Devon/new-redirects/website/provisioning/nginx/redirects.map"

Then:

cd tools/redirect-checker
python3 server.py
# Open http://localhost:3000

Keyboard shortcuts

Key Action
A Approve
F Flag
R Reset to pending
J / Next
K / Previous
N Focus notes
/ Focus search

Persistence

Review state auto-saves to both localStorage and review-state.csv on disk. Timestamped snapshots are kept in history/ every 10 status changes (max 200). On reload, the CSV is loaded first, falling back to localStorage, then a fresh parse of redirects.map.

Export

  • Export flagged — CSV of flagged redirects with notes
  • Export all — full CSV snapshot
  • Save — download session as JSON
  • Import — restore from a previously saved JSON session

About

4-pane UI for testing nginx redirects in production

Resources

Stars

Watchers

Forks

Contributors