Skip to content

toohard2explain/copyfox

Repository files navigation

License

About Copyfox

Copyfox is a chrome-addon to copy the current DOM as SVG. It is designed to quickly import the current DOM into Figma, which can be used for UI design, marketing assets and prototyping.

Results may vary based on the complexity of the page and the CSS used. Copyfox is best suited for simple to moderately complex pages. Please also note that the SVG output is an approximation and may not perfectly match the original page, especially for complex layouts and styles.

Features

  • Right-click context menu for copying the visible viewport.
  • Right-click context menu for copying the full page.
  • DOM-based SVG output for backgrounds, borders, text, and images.
  • TypeScript, ESLint, Prettier, Vitest, and Vite.

Development

pnpm install
pnpm check

Load In Chrome

  1. Run pnpm build.
  2. Open chrome://extensions.
  3. Enable developer mode.
  4. Load the dist folder as an unpacked extension.

Notes

The SVG is a practical vector approximation, not a pixel-perfect browser render. Complex CSS effects, iframes, canvas content, videos, and pseudo-elements may be skipped or simplified.

License

Copyfox is a The Zu Company Product, licensed under the MIT License.

About

Chrome addon to copy the current website as SVG.

Topics

Resources

License

Stars

Watchers

Forks

Contributors