{"id":23814350,"url":"https://github.com/stuartpb/spaggers","last_synced_at":"2026-06-13T20:03:14.467Z","repository":{"id":9016065,"uuid":"10771942","full_name":"stuartpb/spaggers","owner":"stuartpb","description":"Modules for simplifying fonts into arrays of vertex lists","archived":false,"fork":false,"pushed_at":"2013-06-26T02:30:07.000Z","size":156,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-21T20:17:07.561Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/stuartpb.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-06-18T19:41:37.000Z","updated_at":"2021-11-08T10:21:52.000Z","dependencies_parsed_at":"2022-07-09T22:00:48.222Z","dependency_job_id":null,"html_url":"https://github.com/stuartpb/spaggers","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/stuartpb/spaggers","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stuartpb%2Fspaggers","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stuartpb%2Fspaggers/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stuartpb%2Fspaggers/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stuartpb%2Fspaggers/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/stuartpb","download_url":"https://codeload.github.com/stuartpb/spaggers/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stuartpb%2Fspaggers/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34298265,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-13T02:00:06.617Z","response_time":62,"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":[],"created_at":"2025-01-02T03:47:20.435Z","updated_at":"2026-06-13T20:03:14.436Z","avatar_url":"https://github.com/stuartpb.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# spaggers\n\nThis is a collection of converters to the font format used by [Spiff.scad][].\n\n[Spiff.scad]: https://github.com/stuartpb/Spiff.scad\n\n## yaml2scad.js\n\nA node.js script for converting a YAML-based definition of glyph points to a\nSpiff.scad-compatible font. Takes the input filename as the first command line\nparameter and the output filename as the second command line parameter.\n\n### Expected YAML format\n\n- **name**: The name of the font (eg. Spiff Sans). Output as comment.\n- **author**, **version**: Also output as comments. Pretty self-explanatory.\n- **prefix**: The name of the variable to assign the font to.\n- **glyphs**: Mapping of glyphs to point definitions. Glyph definitions can be\n  represented as an object with **paths** and **width** values, or as just the\n  content of the **paths** value (in which case the **width** will be\n  calculated as the rightmost-point in the paths). **paths** can be represented\n  as a single path or array of paths (if the glyph is constructed of multiple\n  paths), and each individual path can be represented as either an array of\n  point coordinate pair arrays (eg. `[[2,2],[2,4],[4,4],[4,2]]`) or a string\n  separating each coordinate by space or comma, a la SVG (eg.\n  `\"2,2 2,4 4,4 4,2\"`). \n- **noglyph**: The fallback glyph to use.\n\nSee [spiffsans.yaml][] for an example.\n\n[spiffsans.yaml]: https://github.com/stuartpb/spiffsans/blob/master/spiffsans.yaml\n\n### Example usage\n\n    node bin/yaml2scad.js spiffsans.yaml spiffsans.scad\n\n## Coming soon\n\nA browser-based SVG font converter (and maybe a browser implementation of\nyaml2scad).","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstuartpb%2Fspaggers","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstuartpb%2Fspaggers","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstuartpb%2Fspaggers/lists"}