# devproxy-browser-extension **Repository Path**: jakrely/devproxy-browser-extension ## Basic Information - **Project Name**: devproxy-browser-extension - **Description**: No description available - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2025-06-13 - **Last Updated**: 2025-06-13 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # DevProxy Browser Extension A Chrome extension for listing and accessing local sites served by [DevProxy](https://github.com/dontfreakout/dev-proxy). ## Features - 🔄 Auto-refreshing list of virtual hosts - 🌙 Light/dark/system theme support - 📊 Grouped hosts by domain - 📱 Compact, responsive interface - â„šī¸ Configuration help ## Installation ### Development Mode 1. Clone this repository: ``` git clone https://github.com/yourusername/devproxy-browser-extension.git ``` 2. Open Chrome and navigate to `chrome://extensions/` 3. Enable "Developer mode" by toggling the switch in the top right corner 4. Click "Load unpacked" and select the directory containing this extension 5. The extension should now be installed and visible in your Chrome toolbar ### Using the Extension 1. Click the DevProxy icon in your Chrome toolbar to open the extension popup 2. The extension will automatically fetch and display virtual hosts from your local DevProxy instance 3. Click on any host to open it in a new tab 4. Use the theme toggle to switch between light, dark, or system theme 5. Click the auto-refresh indicator to pause/resume automatic updates 6. Click the settings icon (⚙) to configure the URL for the vhosts.json file 7. Click the help button for configuration instructions ## Configuration The extension expects DevProxy to serve a `vhosts.json` file at `https://localhost/vhosts.json` by default. You can configure a different URL for the `vhosts.json` file using the settings option: 1. Click the settings icon (⚙) in the extension popup 2. Enter your custom URL in the settings form 3. Click "Save" to apply the changes Your custom URL will be saved and used for future requests. You can reset to the default URL at any time by clicking "Reset to Default" in the settings. ## Development ### Project Structure ``` devproxy-browser-extension/ ├── manifest.json # Extension configuration ├── popup.html # Popup interface ├── help.html # Help page for configuration instructions ├── help.js # Logic for help page ├── background.js # Background script for handling events ├── popup.js # Popup logic ├── styles/ │ └── popup.css # Styling └── icons/ ├── icon16.png # 16x16 icon ├── icon48.png # 48x48 icon └── icon128.png # 128x128 icon ``` ### Building for Production #### Manual Build To package the extension for production manually: 1. Make sure all files are in place, including the icon files 2. Zip the contents of the directory (not the directory itself) 3. The resulting ZIP file can be uploaded to the Chrome Web Store #### Automated Release This project uses GitHub Actions to automatically create releases when a new tag is pushed: 1. Make your changes to the codebase 2. Commit your changes 3. Create and push a new tag with the version number: ``` git tag v1.0.1 git push origin v1.0.1 ``` 4. GitHub Actions will automatically: - Update the version in `manifest.json` to match the tag - Build the extension (create a ZIP file) - Create a GitHub release with the ZIP file attached 5. Download the ZIP file from the GitHub release and upload it to the Chrome Web Store ## License See the [LICENSE](LICENSE) file for details.