svg-gobbler
Open source browser extension for finding, editing, exporting, optimizing, and managing SVG content.
Top Related Projects
Universal icon framework. One syntax for FontAwesome, Material Design Icons, DashIcons, Feather Icons, EmojiOne, Noto Emoji and many other open source icon sets (over 200 icon sets and ~300k icons). SVG framework, React, Vue and Svelte components!
A set of over 6100 free MIT-licensed high-quality SVG icons for you to use in your web projects.
Simply beautiful open-source icons
A scalable set of icons handcrafted with ❤️ by GitHub
Premium hand-crafted icons built by Ionic, for Ionic apps and web apps everywhere 🌎
The iconic SVG, font, and CSS toolkit
Quick Overview
SVG Gobbler is a browser extension that allows users to easily extract and download SVG images from web pages. It provides a convenient way to find, optimize, and save SVG files for use in design projects or other applications.
Pros
- Easy-to-use interface for finding and extracting SVGs from web pages
- Offers SVG optimization options to reduce file size
- Provides multiple download formats (SVG, PNG, JSX)
- Supports batch downloading of multiple SVGs at once
Cons
- Limited to browser extension format, not available as a standalone application
- May not work on all websites due to varying implementations of SVG
- Optimization features may not be as comprehensive as dedicated SVG optimization tools
- Requires permissions to access website data, which may raise privacy concerns for some users
Getting Started
- Install the SVG Gobbler extension from the Chrome Web Store or Firefox Add-ons marketplace.
- Navigate to a website containing SVG images.
- Click on the SVG Gobbler icon in your browser's toolbar.
- Select the SVGs you want to download from the list provided.
- Choose your desired download format and optimization options.
- Click the download button to save the selected SVGs.
Competitor Comparisons
Universal icon framework. One syntax for FontAwesome, Material Design Icons, DashIcons, Feather Icons, EmojiOne, Noto Emoji and many other open source icon sets (over 200 icon sets and ~300k icons). SVG framework, React, Vue and Svelte components!
Pros of Iconify
- Extensive icon library with over 100,000 icons from various icon sets
- Provides a unified API for accessing and using icons across different frameworks
- Offers icon customization options like color, size, and transformations
Cons of Iconify
- Requires additional setup and integration into projects
- May have a steeper learning curve for beginners
- Larger file size due to the comprehensive icon library
Code Comparison
Iconify usage:
import { Icon } from '@iconify/react';
function MyComponent() {
return <Icon icon="mdi:home" />;
}
SVG Gobbler usage:
// No direct code comparison available as SVG Gobbler is a browser extension
// It extracts SVGs from web pages rather than providing a programming interface
Key Differences
- SVG Gobbler is a browser extension for extracting SVGs from web pages, while Iconify is a comprehensive icon framework
- Iconify provides a programmatic way to use icons in various projects, whereas SVG Gobbler is focused on icon extraction
- SVG Gobbler is more suitable for designers and developers looking to collect SVGs from existing websites, while Iconify is better for implementing icon systems in new projects
Use Cases
- Use SVG Gobbler when you need to quickly extract SVGs from websites for inspiration or reuse
- Choose Iconify when you want a consistent and customizable icon system across multiple projects or frameworks
A set of over 6100 free MIT-licensed high-quality SVG icons for you to use in your web projects.
Pros of Tabler Icons
- Extensive collection of over 4,200 free SVG icons
- Well-organized and categorized icons for easy browsing
- Regular updates and additions to the icon set
Cons of Tabler Icons
- Limited to predefined icons, less flexibility for custom designs
- Requires manual download and integration into projects
Code Comparison
Tabler Icons usage:
<svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-user" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round">
<path stroke="none" d="M0 0h24v24H0z" fill="none"/>
<circle cx="12" cy="7" r="4" />
<path d="M6 21v-2a4 4 0 0 1 4 -4h4a4 4 0 0 1 4 4v2" />
</svg>
SVG Gobbler usage:
// SVG Gobbler is a browser extension, so there's no direct code usage.
// It extracts SVGs from web pages and allows for customization.
Summary
Tabler Icons offers a vast collection of ready-to-use icons, making it ideal for projects requiring a consistent icon set. SVG Gobbler, on the other hand, provides more flexibility by allowing users to extract and customize SVGs from existing web pages. While Tabler Icons is better suited for quick implementation of predefined icons, SVG Gobbler excels in scenarios where custom icon extraction and modification are needed.
Simply beautiful open-source icons
Pros of Feather
- Extensive library of pre-designed, consistent icons
- Well-documented API for easy integration
- Active community and regular updates
Cons of Feather
- Limited to a specific icon style
- Requires importing the entire library or using a build tool for individual icons
Code Comparison
Feather usage:
import { feather } from 'feather-icons'
feather.icons.heart.toSvg()
SVG Gobbler usage:
// No direct JavaScript API for icon creation
// SVG Gobbler is primarily a browser extension for extracting SVGs
Key Differences
SVG Gobbler is a tool for extracting and optimizing existing SVGs from web pages, while Feather is a curated icon library. SVG Gobbler offers more flexibility in terms of icon styles and sources, but requires manual extraction. Feather provides a consistent set of icons with easy integration, but is limited to its own style.
Use Cases
- Choose Feather for projects requiring a cohesive icon set with minimal setup
- Opt for SVG Gobbler when working with diverse icon sources or extracting SVGs from existing websites
Community and Support
Feather has a larger community and more extensive documentation, making it easier for beginners. SVG Gobbler, while useful, has a smaller user base and fewer resources available.
A scalable set of icons handcrafted with ❤️ by GitHub
Pros of Octicons
- Comprehensive set of pre-designed icons specifically for GitHub's design system
- Well-maintained and regularly updated by GitHub's design team
- Includes multiple file formats (SVG, PNG) and size options
Cons of Octicons
- Limited to GitHub's specific design style, which may not fit all projects
- Requires installation and integration into your project
- Less flexibility for customization compared to on-the-fly SVG extraction
Code Comparison
Octicons usage:
import { Octicon, BeakerIcon } from '@primer/octicons-react'
function MyComponent() {
return <Octicon icon={BeakerIcon} size="medium" />
}
SVG Gobbler doesn't have a direct code usage example, as it's a browser extension for extracting SVGs from web pages.
Summary
Octicons is a curated icon set tailored for GitHub's ecosystem, offering consistency and ease of use within that context. SVG Gobbler, on the other hand, is a flexible tool for extracting and customizing SVGs from any website, providing more versatility but requiring more manual work. The choice between them depends on whether you need a specific, polished icon set or a tool for gathering diverse SVG assets.
Premium hand-crafted icons built by Ionic, for Ionic apps and web apps everywhere 🌎
Pros of Ionicons
- Extensive library of over 1,200 high-quality, customizable icons
- Well-maintained and regularly updated by the Ionic team
- Seamless integration with Ionic Framework and other web projects
Cons of Ionicons
- Larger file size due to the comprehensive icon set
- May require additional setup for non-Ionic projects
- Limited to predefined icon styles and designs
Code Comparison
SVG Gobbler:
chrome.runtime.onMessage.addListener((request, sender, sendResponse) => {
if (request.message === 'get_svgs') {
const svgs = document.getElementsByTagName('svg');
sendResponse({ svgs: Array.from(svgs).map(svg => svg.outerHTML) });
}
});
Ionicons:
import { addIcons } from 'ionicons';
import { logoGithub, logoTwitter, menuOutline } from 'ionicons/icons';
addIcons({
'logo-github': logoGithub,
'logo-twitter': logoTwitter,
'menu-outline': menuOutline
});
SVG Gobbler focuses on extracting SVGs from web pages, while Ionicons provides a comprehensive icon library for easy integration into web projects. SVG Gobbler offers more flexibility in acquiring custom SVGs, whereas Ionicons provides a standardized set of high-quality icons with consistent styling.
The iconic SVG, font, and CSS toolkit
Pros of Font-Awesome
- Extensive library of icons (over 7,000) covering a wide range of categories
- Well-established and widely adopted, with strong community support
- Offers both free and paid versions with additional features
Cons of Font-Awesome
- Larger file size due to the comprehensive icon set
- Requires more setup and integration compared to SVG Gobbler's simplicity
- May include unnecessary icons, potentially impacting performance
Code Comparison
Font-Awesome (HTML usage):
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.3/css/all.min.css">
<i class="fas fa-user"></i>
SVG Gobbler (JavaScript usage):
import { extractSvgs } from 'svg-gobbler';
const svgs = extractSvgs(document);
console.log(svgs);
Font-Awesome focuses on providing a comprehensive icon library with various styling options, while SVG Gobbler is designed to extract and manipulate existing SVGs from web pages. Font-Awesome requires including the library and using specific classes, whereas SVG Gobbler offers a more programmatic approach to working with SVGs already present in the DOM.
Convert
designs to code with AI
Introducing Visual Copilot: A new AI model to turn Figma designs to high quality code using your components.
Try Visual CopilotREADME
SVG 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-gobbler -
Install dependencies
pnpm i -
Start the development build
pnpm startThis builds assets to the
distfolder and watches for changes. For subsequent builds:pnpm dev -
Server 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 release -
Launch in Firefox
pnpm dev-ff -
Rebuild 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
Top Related Projects
Universal icon framework. One syntax for FontAwesome, Material Design Icons, DashIcons, Feather Icons, EmojiOne, Noto Emoji and many other open source icon sets (over 200 icon sets and ~300k icons). SVG framework, React, Vue and Svelte components!
A set of over 6100 free MIT-licensed high-quality SVG icons for you to use in your web projects.
Simply beautiful open-source icons
A scalable set of icons handcrafted with ❤️ by GitHub
Premium hand-crafted icons built by Ionic, for Ionic apps and web apps everywhere 🌎
The iconic SVG, font, and CSS toolkit
Convert
designs to code with AI
Introducing Visual Copilot: A new AI model to turn Figma designs to high quality code using your components.
Try Visual Copilot