# html2svg **Repository Path**: bidcms/html2svg ## Basic Information - **Project Name**: html2svg - **Description**: No description available - **Primary Language**: Unknown - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2025-04-21 - **Last Updated**: 2025-04-21 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # Saves the given URL to an SVG file A simple web service that saves the given URL to an SVG image. Run with `docker run -p 8080:8080 gcr.io/as-a-service-dev/html-to-svg` [![Run on Google Cloud](https://storage.googleapis.com/cloudrun/button.svg)](https://deploy.cloud.run) ## API ### URL parameters: * `url`: The URL of the website to capture * (`width`): The viewport width (in pixels), defaults to 1280 * (`height`): The viewport height (in pixels), defaults to 800 Example: `/?url=https://steren.fr` ## Running the server locally * Build with `docker build . -t html-to-svg` * Start with `docker run -p 8080:8080 html-to-svg` * Open in your browser at `http://localhost:8080/?url=https://steren.fr` ![CloudBuild](https://badger-l7zawt5jsq-uw.a.run.app/build/status?project=as-a-service-dev&id=6fd4fa14-6e16-4a60-a754-9fd4ffe8872d)