https://github.com/na9da/kissvg
Convert web pages to SVG
https://github.com/na9da/kissvg
chrome-extension html html2svg purescript svg
Last synced: 9 months ago
JSON representation
Convert web pages to SVG
- Host: GitHub
- URL: https://github.com/na9da/kissvg
- Owner: na9da
- License: mit
- Created: 2018-07-21T04:38:25.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2018-08-02T03:17:46.000Z (almost 8 years ago)
- Last Synced: 2025-01-30T08:14:04.820Z (over 1 year ago)
- Topics: chrome-extension, html, html2svg, purescript, svg
- Language: PureScript
- Homepage:
- Size: 76.2 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Kissvg
Kissvg is a chrome extension for converting web pages into SVG format.
For a sample, checkout the SVG generated for the Hacker News home page.
# Installation
Head to the chrome webstore to install the [latest version](https://chrome.google.com/webstore/detail/kissvg/igcglmmgiplpcdhhfdpjkbmfjiplmdkm).
# Development
```
npm install
npm run-script build
```
You can now load the extension from the `chrome/` directory.
# Limitations
* Images are not inlined as data-urls so depending on the viewer some images
may not render. We may be able to fix this in the future when the
[chrome.automation](https://developer.chrome.com/extensions/automation) API
stabilizes.
* If the web page uses web fonts, then you need to install the fonts locally
for the SVG to render correctly.
* 100% fidelity is tough to acheive and is not our goal, so expect many things
to break