Brotwurst
A Chrome extension that detects and downloads media files from web pages.
Installation for Development
- Clone the repository:
git clone https://github.com/ipai/brotwurst.git
cd brotwurst
- Load the extension in Chrome:
- Open Chrome and navigate to
chrome://extensions/
- Enable “Developer mode” in the top right
- Click “Load unpacked” and select the extension directory
Development
Key Components
- Media Detection: Uses advanced parsing to find media elements and their sources
- Size Detection: Makes HEAD requests to determine file sizes when available
- HLS Support: Parses .m3u8 manifests to extract different quality variants
- UI: Modern interface with smooth animations and responsive design
Local Development
- Make changes to the source files
- If you modify manifest.json, reload the extension in Chrome
- For other files, just click the extension icon to load the new changes
- Use Chrome DevTools to debug:
- Right-click the extension icon and select “Inspect popup”
- Check the console for logs and errors
Testing
- Test on various websites with different types of media
- Verify file size detection works
- Check HLS manifest parsing on streaming sites
- Ensure the UI is responsive and animations are smooth
- Verify downloads work correctly
Packaging
zip -r brotwurst.zip . --exclude @.zipignore
Contributing
- Fork the repository
- Create a feature branch
- Make your changes
- Submit a pull request
License
MIT License - feel free to use and modify as needed.