Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/felixfbecker/svg-screenshots

πŸ“ΈπŸ§© Browser extension to take scalable, semantic, accessible screenshots of websites in SVG format.
https://github.com/felixfbecker/svg-screenshots

accessible browser-extension chrome chrome-extension firefox-addon semantic svg

Last synced: about 1 month ago
JSON representation

πŸ“ΈπŸ§© Browser extension to take scalable, semantic, accessible screenshots of websites in SVG format.

Awesome Lists containing this project

README

        

# SVG Screenshots Browser Extension

[![Chrome Web Store](https://img.shields.io/chrome-web-store/v/nfakpcpmhhilkdpphcjgnokknpbpdllg?logo=google-chrome&logoColor=white)](https://chrome.google.com/webstore/detail/svg-screenshot/nfakpcpmhhilkdpphcjgnokknpbpdllg)
[![Firefox Add-on](https://img.shields.io/amo/v/svg-screenshots?logo=firefox&logoColor=white&label=firefox+add-on)](https://addons.mozilla.org/en-US/firefox/addon/svg-screenshots/)
[![main build status](https://img.shields.io/github/actions/workflow/status/felixfbecker/svg-screenshots/build.yml?branch=main&label=main&logo=github)](https://github.com/felixfbecker/svg-screenshots/actions?query=branch%3Amain)
[![release build status](https://img.shields.io/github/actions/workflow/status/felixfbecker/svg-screenshots/build.yml?branch=main&label=release&logo=github)](https://github.com/felixfbecker/svg-screenshots/actions/build.yml?query=branch%3Arelease)
![license: MIT](https://img.shields.io/github/license/felixfbecker/dom-to-svg)
[![semantic-release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg)](https://github.com/semantic-release/semantic-release)

Browser extension to take semantic, scalable, accessible screenshots of websites, as SVG - as simple as taking a PNG screenshot.

## Why use this?

SVG screenshots offer various benefits over normal PNG screenshots, while keeping the good parts:

- **πŸ–Ό Flexible**: Freely select the region of the website you want to capture or capture the whole page.
- **πŸ’’ Scalable graphics**: Screenshots never get pixelated when zooming in.
- **πŸ“ Semantic**: Text can still be selected and copied to clipboard.
- **🦻 Accessible**: SVG is annotated with ARIA attributes and can be read by screen readers.
- **πŸ–₯ Paste into design tools**: SVGs will work in design tools like Illustrator, Figma, Sketch etc.
- **πŸ”— Interactive**: Links are still clickable.
- **πŸ“¦ Self-contained**: Inlines external resources like images, fonts, etc.
- **πŸ“Έ Static**: Styles and layout are recorded at the time of snapshot and will not change.
- **πŸ—œ Small**: Depending on the content, SVGs can be magnitudes smaller than PNGs and compress loslessly.
- **πŸ›‘ Secure**: The SVG will not run any JavaScript.

## Install

Install from the official extension stores:

- [Chrome](https://chrome.google.com/webstore/detail/svg-screenshot/nfakpcpmhhilkdpphcjgnokknpbpdllg)
- [Firefox](https://addons.mozilla.org/en-US/firefox/addon/svg-screenshots/)

## Examples

These full-page SVG screenshots were taken with the browser extension:

![Google](examples/google.svg)

![Hacker News](examples/hackernews.svg)