{"id":22066274,"url":"https://github.com/modlfo/fixaffinitysvg","last_synced_at":"2026-06-09T16:32:08.105Z","repository":{"id":74855048,"uuid":"147245689","full_name":"modlfo/FixAffinitySVG","owner":"modlfo","description":"Fixes the SVG files exported by Affinity Designer to work with VCV Rack","archived":false,"fork":false,"pushed_at":"2018-09-03T19:41:52.000Z","size":1,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-29T00:37:34.617Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"OCaml","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/modlfo.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-09-03T19:33:20.000Z","updated_at":"2019-04-03T00:31:30.000Z","dependencies_parsed_at":"2023-03-29T18:48:53.827Z","dependency_job_id":null,"html_url":"https://github.com/modlfo/FixAffinitySVG","commit_stats":{"total_commits":2,"total_committers":1,"mean_commits":2.0,"dds":0.0,"last_synced_commit":"bbd81662802faff4b02ef60bdfc744927d2cc6f0"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/modlfo%2FFixAffinitySVG","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/modlfo%2FFixAffinitySVG/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/modlfo%2FFixAffinitySVG/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/modlfo%2FFixAffinitySVG/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/modlfo","download_url":"https://codeload.github.com/modlfo/FixAffinitySVG/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245145945,"owners_count":20568220,"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-11-30T19:27:00.739Z","updated_at":"2026-06-09T16:32:08.013Z","avatar_url":"https://github.com/modlfo.png","language":"OCaml","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Fix Affinity SVG\n\nAffinity Designer exports SVG files that do not load correctly in VCV Rack. The main problem is that the \u003cdefs\u003e are placed at the end of the file when the renderer of Rack requires them in the beginning.\n\n# Compile\n\nYour require OCaml with at the library `xml-light` and `ocamlbuild`. You can install them using `opam`.\n\n```\n$ ocamlbuild -use-ocamlfind fixsvg.byte\n```\n\n# Run\n\nTo fix a single file:\n```\n$ fixsvg.byte file.svg\n```\n\nTo fix all files in a directory\n\n```\n$ fixsvg.byte -dir /path/to/files\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmodlfo%2Ffixaffinitysvg","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmodlfo%2Ffixaffinitysvg","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmodlfo%2Ffixaffinitysvg/lists"}