rossmoody/svg-gobbler
Über uns
Open-Source-Browsererweiterung zum Suchen, Bearbeiten, Exportieren, Optimieren und Verwalten von SVG-Inhalten.
Design und MedienGemessener Sternzuwachs
- in 24h
- 0
- in 7 days
- +2
- in 15 days
- +2
- in 1 month
- -1
Nettoänderungen in überlappenden Zeiträumen, keine Tagessummen. Fehlende Messwerte bleiben leer. Sterne zeigen Interesse, nicht Qualität.
README.md
OriginalSVG Gobbler
An open-source browser extension that finds, optimizes, and exports SVG content from any webpage.
📦 Installation
Get SVG Gobbler from your browser's extension marketplace:
✨ Features
🔍 Find SVGs
- Discover SVGs on any webpage across various
mimetypes - Handle CORs-restricted SVGs with ease
- Find and rebuild individual sprite SVG instances
📤 Export SVGs
- Create SVG sprites from a collection of icons
- Export in multiple formats: SVG, PNG, WEBP, JPEG, and more
- Transform SVGs into minified Data URIs
- Convert SVGs to React components using SVGR
- Optimize and minify SVGs with SVGO
🗂️ Organize SVGs
- Group and categorize SVGs by domain or custom collection name
- Move, copy, duplicate, and optimize icons before sharing
- Save and store uploaded SVGs for optimization
🛠️ Development Setup
Prerequisites
Getting Started
Clone the repository
git clone https://github.com/yourusername/svg-gobbler.git cd svg-gobblerInstall dependencies
pnpm iStart the development build
pnpm startThis builds assets to the
distfolder and watches for changes. For subsequent builds:pnpm devServer setup (optional) Most functionality works without a server, but for local fetch calls:
cd server pnpm i pnpm build pnpm serve # In a separate terminal session
Firefox Development
Build a release
pnpm releaseLaunch in Firefox
pnpm dev-ffRebuild on changes
pnpm release
Loading the Extension in Chrome
- Navigate to
chrome://extensions - Enable "Developer mode" in the top right corner
- Click "Load unpacked" and select the
distfolder
🧰 Technology Stack
SVG Gobbler leverages these powerful open-source technologies:
- Vite - Frontend tooling and build processes
- CRXJS - Chrome extension build automation
- Tailwind CSS - Utility-first CSS framework
- SVGR - SVG to React component transformation
- SVGO - SVG optimization
- CodeMirror - Extensible code editor
- Radix UI - Unstyled, accessible components
- JSZip - JavaScript library for creating ZIP files
- Mini SVG Data URI - SVG data URI minification
- React Router - Routing for React applications
- DND-Kit - Drag and drop toolkit
📝 About
SVG Gobbler started over 7 years ago as a project to improve upon the SVG Crowbar tool (no longer maintained by NY Times). Now in its 5th major version, it continues to evolve.
🔒 Privacy
This extension is open source and doesn't collect any user information. It's completely free and made available because I enjoy creating useful tools for the web community.
🤝 Contributing
Contributions are welcome! Please feel free to submit a Pull Request or open an Issue with ideas, bug fixes, or feature requests.
🔗 More Projects
Check out what I'm working on lately.
Made with ❤️ by Ross Moody
Ähnliche Projekte entdecken
Wird geladen…