rossmoody/svg-gobbler
소개
SVG 콘텐츠를 찾고, 편집하고, 내보내고, 최적화하고, 관리할 수 있는 오픈 소스 브라우저 확장 프로그램입니다.
디자인 및 미디어측정된 스타 증가
- in 24h
- 0
- in 7 days
- +2
- in 15 days
- +2
- in 1 month
- -1
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
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
관련 프로젝트 살펴보기
불러오는 중…