{"id":22319446,"url":"https://github.com/ebay/sketchsvg","last_synced_at":"2025-08-30T16:11:07.714Z","repository":{"id":44218713,"uuid":"189485275","full_name":"eBay/SketchSVG","owner":"eBay","description":"Have icons in a Sketch file but don't want to manually extract and compress them as SVGs? Let our SketchSVG tool do it!","archived":false,"fork":false,"pushed_at":"2023-09-27T20:40:36.000Z","size":411,"stargazers_count":25,"open_issues_count":3,"forks_count":9,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-07-29T13:58:32.191Z","etag":null,"topics":["icons","javascript","node","sketch","svg","svg-icons","svgs"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/eBay.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2019-05-30T21:32:29.000Z","updated_at":"2023-07-03T13:58:37.000Z","dependencies_parsed_at":"2025-06-08T02:42:58.039Z","dependency_job_id":"41e08dd9-b55d-4c47-a839-ed72898b9a2c","html_url":"https://github.com/eBay/SketchSVG","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/eBay/SketchSVG","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eBay%2FSketchSVG","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eBay%2FSketchSVG/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eBay%2FSketchSVG/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eBay%2FSketchSVG/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/eBay","download_url":"https://codeload.github.com/eBay/SketchSVG/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eBay%2FSketchSVG/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":272873042,"owners_count":25007462,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-30T02:00:09.474Z","response_time":77,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["icons","javascript","node","sketch","svg","svg-icons","svgs"],"created_at":"2024-12-04T00:09:06.196Z","updated_at":"2025-08-30T16:11:07.669Z","avatar_url":"https://github.com/eBay.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SketchSVG\n\n### What is it?\n\nSketchSVG is a CLI that is intended to convert icons made in Sketch to compressed, easy to use SVGs for use on the web. SketchSVG also will convert these to a Base64 encoded value so they can be used in conjunction with the CSS `url` property.\n\n### Installation\n\n**Important: It should be noted that this is for Mac only, since Sketch is only on Mac OS**\n`npm install sketchsvg -g`  \n**or if you prefer yarn**\n`yarn global add sketchsvg`\n\n### Usage\n\nOnce installed, run `sketchsvg` like so:\n\n`sketchsvg /full/path/to/file`\n\nFrom there, SketchSVG will convert your icons to SVGs as well as Base64s and output them like so:\n\n![alt text](https://i.imgur.com/YMmTeVZ.png \"Logo Title Text 1\")\n\n**SketchSVG will also generate a basic HTML page with a bare bones editor for you to test out your icons, change the colors, sizes, etc. Here is a screenshot of this:**\n\n![Screen Shot 2022-08-25 at 2 33 28 PM](https://user-images.githubusercontent.com/4923719/186773008-041b3734-d3bf-43f8-af73-4535c7f3a243.png)\n\n\n## Demo\n\nWe have included a couple of test files for single as well as multiple icons in a single sketch file. To try it out download our sample files in the `/sample` folder. \n\nFirst install `sketchsvg` and grab our `.sketch` files from the repo. Then:\n\n`sketchsvg /path/to/multitest.sketch`\n\n## Contributing\n\nInterested in contributing? That's awesome! Please check out our [Contributing Guidelines](https://github.corp.ebay.com/pcanella/sketchsvg/blob/dev/CONTRIBUTING.md). \n\n## Questions/Comments\n\nFeel free to reach out to `patrickcanella AT gmail DOT com` for any questions or comments regarding this tool. Feel free to open an Issue or a Pull Request as you see fit. Thanks!\n\n\n## License\n\nCopyright 2019 eBay Inc. \u003cBR\u003e\nDeveloper: Patrick Canella\n\nUse of this source code is governed by an MIT-style license that can be found in the LICENSE file or at https://opensource.org/licenses/MIT.\n\n## 3rd Party Code\nSketch is a third party tool, not provided with this code, and will need to be licensed separately. For details, see:\nhttps://www.sketch.com/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Febay%2Fsketchsvg","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Febay%2Fsketchsvg","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Febay%2Fsketchsvg/lists"}