A Chrome extension that adds screenshot and video recording capabilities to NanoKVM.
- Screenshot Capture of NanoKVM Interface
- High-quality PNG image capture
- One-click saving
- Automatic timestamped filenames
- Video Recording of NanoKVM Interface
- High-quality WebM recording with VP9 codec
- Start/stop recording at any time
- Real-time recording duration display
- Visual recording indicator
- Local Storage of Captured Media
- Automatic saving with timestamped filenames
- PNG format for screenshots
- WebM format for videos
- Easy-to-use Interface Integrated with Chrome Browser
- Simple and intuitive floating controls
- Visual feedback for recording status
- Video Format: WebM with VP9 codec
- Image Format: PNG
- Browser Support: Chrome with VP9 codec support
- Interface Detection: Automatic detection of NanoKVM interface
- Performance: Optimized for minimal resource usage
- Bun 1.0.0 or later
- Chrome Browser
- Clone the repository
git clone https://github.com/koedame/webextension-nanokvm-capture.git
cd webextension-nanokvm-capture
- Install dependencies
bun install
To start development mode with hot reload:
bun run dev
To create a production build:
bun run build:prod
- Open Chrome and navigate to
chrome://extensions
- Enable "Developer mode" in the top right corner
- Click "Load unpacked" and select the
dist
directory from this project - The extension icon should appear in your browser toolbar
- After making changes to the code, the extension will automatically rebuild in development mode
- You may need to click the refresh button on the extension card in
chrome://extensions
to apply changes - Check the browser console for any errors or logs
- The extension automatically detects the NanoKVM interface by checking for specific DOM elements
MIT License
To create a ZIP file for submitting to the Chrome Web Store:
- Build the production version:
bun run build:prod
- Create a ZIP file containing the following files and directories:
VERSION=$(node -p "require('./package.json').version")
mkdir ./temp
cd dist
zip -r "../temp/nanokvm-capture-v${VERSION}.zip" ./*
cd ..
This will create nanokvm-capture-v{version}.zip
(e.g., nanokvm-capture-v1.0.0.zip
) in the project root directory, which includes:
- All contents of the
dist/
directory manifest.json
icons/
directory
The generated ZIP file is ready to be submitted to the Chrome Web Store.