{"id":32172762,"url":"https://github.com/zstix/victor","last_synced_at":"2026-02-21T13:01:16.162Z","repository":{"id":62430708,"uuid":"294849865","full_name":"zstix/victor","owner":"zstix","description":"A simple solution for creating SVGs in Elixir.","archived":false,"fork":false,"pushed_at":"2020-09-26T04:47:52.000Z","size":21,"stargazers_count":1,"open_issues_count":2,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-09-28T14:06:06.023Z","etag":null,"topics":["elixir","svg"],"latest_commit_sha":null,"homepage":"","language":"Elixir","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/zstix.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2020-09-12T01:56:46.000Z","updated_at":"2020-11-25T00:39:04.000Z","dependencies_parsed_at":"2022-11-01T20:30:59.660Z","dependency_job_id":null,"html_url":"https://github.com/zstix/victor","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/zstix/victor","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zstix%2Fvictor","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zstix%2Fvictor/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zstix%2Fvictor/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zstix%2Fvictor/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zstix","download_url":"https://codeload.github.com/zstix/victor/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zstix%2Fvictor/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29681468,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-21T12:30:22.644Z","status":"ssl_error","status_checked_at":"2026-02-21T12:29:55.402Z","response_time":107,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["elixir","svg"],"created_at":"2025-10-21T18:43:23.003Z","updated_at":"2026-02-21T13:01:16.157Z","avatar_url":"https://github.com/zstix.png","language":"Elixir","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Victor\n\n[![Hex.pm](https://img.shields.io/hexpm/v/victor.svg)](https://hex.pm/packages/victor)\n\nA simple solution for creating SVGs in Elixir.\n\n_What's your vector victor?_\n\nFull documentation can be found at [https://hexdocs.pm/victor](https://hexdocs.pm/victor).\n\n## Installation\n\nThe package can be installed by adding `victor` to your list of dependencies\nin `mix.exs`:\n\n```elixir\ndef deps do\n  [{:victor, \"~\u003e 0.1.1\"}]\nend\n```\n\n## Basic Usage\n\n```elixir\ndef make_art do\n  Victor.new()\n  |\u003e Victor.add(:rect, %{x: 20, y: 20, width: 60, height: 10})\n  |\u003e Victor.add(:circle, %{cx: 10, cy: 50, r: 10}, %{fill: \"blue\"})\n  |\u003e Victor.add(:text, %{x: 40, y: 50, content: \"Tada!\"})\n  |\u003e Victor.get_svg()\n  |\u003e Victor.write_file(\"/tmp/art.svg\")\nend\n```\n\n![Example](https://github.com/zstix/victor/blob/master/examples/art.svg?raw=true)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzstix%2Fvictor","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzstix%2Fvictor","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzstix%2Fvictor/lists"}