A Chrome extension that detects OpenAPI specifications and renders them using Scalar’s beautiful API reference UI.

swagger.json links on any webpage and adds an “Open in Scalar” button next to themswagger.json and injects “Open in Scalar” buttonschrome://extensions/# Install dependencies
npm install
# Build the extension
npm run build
# Development mode with auto-rebuild
npm run dev
Then load the dist folder in Chrome:
chrome://extensions/dist folderswagger.json links├── public/
│ ├── manifest.json # Chrome extension manifest (v3)
│ └── icons/ # Extension icons
├── src/
│ ├── background.ts # Service worker for messaging
│ ├── content.ts # Injects buttons on web pages
│ ├── components/ # Shared React components
│ ├── lib/ # Utilities
│ ├── popup/ # Extension popup UI
│ └── viewer/ # Full-page API reference viewer
├── popup.html # Popup entry point
└── viewer.html # Viewer entry point
MIT — Do whatever you want with it, but contribute back if possible.