{"id":13493021,"url":"https://github.com/Workshape/icon-font-generator","last_synced_at":"2025-03-28T11:31:18.627Z","repository":{"id":57121456,"uuid":"55078683","full_name":"Workshape/icon-font-generator","owner":"Workshape","description":"Easy-to-use, pre-configured cli tool to generate webfont icon kits from a bunch of .svg files","archived":false,"fork":false,"pushed_at":"2023-04-21T12:38:23.000Z","size":51,"stargazers_count":470,"open_issues_count":35,"forks_count":72,"subscribers_count":15,"default_branch":"master","last_synced_at":"2025-03-25T07:11:19.461Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Workshape.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2016-03-30T16:23:41.000Z","updated_at":"2024-11-22T02:32:42.000Z","dependencies_parsed_at":"2022-08-24T06:30:51.120Z","dependency_job_id":"a31a44b5-e394-4b22-8e90-628c8edc320a","html_url":"https://github.com/Workshape/icon-font-generator","commit_stats":{"total_commits":51,"total_committers":9,"mean_commits":5.666666666666667,"dds":"0.21568627450980393","last_synced_commit":"7ff7b9d749f99a1885e9b4dac4f84b891882a8ff"},"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Workshape%2Ficon-font-generator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Workshape%2Ficon-font-generator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Workshape%2Ficon-font-generator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Workshape%2Ficon-font-generator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Workshape","download_url":"https://codeload.github.com/Workshape/icon-font-generator/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246020871,"owners_count":20710836,"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","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":[],"created_at":"2024-07-31T19:01:11.398Z","updated_at":"2025-03-28T11:31:18.344Z","avatar_url":"https://github.com/Workshape.png","language":"JavaScript","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"readme":"\u003e ### :warning: **Deprecated in favour of its complete re-write - please use [fantasticon](https://github.com/tancredi/fantasticon) instead**\n\n![Icon](https://camo.githubusercontent.com/2b418776b6cc9cb7d90c68905d3381674f13d7ec/687474703a2f2f692e6375626575706c6f61642e636f6d2f4541367957612e706e67)\n\n## Icon font generator\n\n![Screenshot](https://camo.githubusercontent.com/7aaef96033be671fa29297c0efd6c50f97a502f6/68747470733a2f2f692e6375626575706c6f61642e636f6d2f65597736766a2e706e67)\n\n\u003e Easy-to-use, pre-configured cli tool to generate webfont icon kits from a bunch of .svg files\n\n### Intro\n\nThis cli utility is ment to make webfont icon sets creation from the command line really simple - It wraps and pre-configures [webfonts-generator](https://www.npmjs.com/package/webfonts-generator), but allows for some degree of customisation.\n\nIt also does a couple extra things such as creating a .json file containing the icons to unicode characters map, which may be later used in styles, templates, etc..\n\n#### Upgrading from v1.x.x\n\n**!!** If you're upgrading from `v1.x.x` to `v2.x.x` - here's the changelog and thoubleshooting: https://github.com/Workshape/icon-font-generator/releases/tag/v2.1.2\n\n**!!** `icon-font-generator` `v2.x.x \u003e=` requires Node.js `\u003e= v8.1.0` - is you wish to run on a lower version, use [v1.1.2](https://github.com/Workshape/icon-font-generator/releases/tag/v1.1.2)\n\n### Install\n\n```\nnpm install -g icon-font-generator\n```\n\n### Use\n\n##### Quick usage\n\n```\nicon-font-generator my-icons/*.svg -o icon-dist\n```\n\n##### Cli params\n\n```\nUsage   : icon-font-generator [ svg-icons-glob ] -o [ output-dir ] [ options ]\nExample : icon-font-generator src/*.svg -o dist\n\nOptions:\n  -o, --out        Output icon font set files to \u003cout\u003e directory\n  -n, --name       Name to use for generated fonts and files (Default: icons)\n  -s, --silent     Do not produce output logs other than errors (Default: false)\n  -f, --fontspath  Relative path to fonts directory to use in output files (Default: ./)\n  -c, --css        Generate CSS file if true (Default: true)\n  --csspath        CSS output path (Defaults to \u003cout\u003e/\u003cname\u003e.css)\n  --cssfontsurl    CSS fonts directory url (Defaults to relative path)\n  --csstp          CSS handlebars template path (Optional)\n  --html           Generate HTML preview file if true (Default: true)\n  --htmlpath       HTML output path (Defaults to \u003cout\u003e/\u003cname\u003e.html)\n  --types          Font types - (Defaults to 'svg, ttf, woff, woff2, eot')\n  --htmltp         HTML handlebars template path (Optional)\n  -j, --json       Generate JSON map file if true (Default: true)\n  --jsonpath       JSON output path (Defaults to \u003cout\u003e/\u003cname\u003e.json)\n  -p, --prefix     CSS classname prefix for icons (Default: icon)\n  -t, --tag        CSS base tag for icons (Default: i)\n  --selector       Use a selector instead of 'tag + prefix' (Default: null)\n  --normalize      Normalize icons sizes (Default: false)\n  --round          Setup SVG rounding (Default: 10e12)\n  --descent        Offset applied to the baseline (Default: 0)\n  --mono           Make font monospace (Default: false)\n  --height         Fixed font height value\n  --center         Center font horizontally\n```\n\n### License\n\nCopyright (c) 2014 Workshape.io Ltd. - Released under the [MIT license](https://github.com/Workshape/icon-font-generator/blob/master/LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FWorkshape%2Ficon-font-generator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FWorkshape%2Ficon-font-generator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FWorkshape%2Ficon-font-generator/lists"}