{"id":25516196,"url":"https://github.com/wesleimp/vroom-elixir","last_synced_at":"2025-06-30T20:06:57.138Z","repository":{"id":52787247,"uuid":"357697291","full_name":"wesleimp/vroom-elixir","owner":"wesleimp","description":"Implementation of VROOM (Vehicle Routing Open-Source Optimization Machine) HTTP client.","archived":false,"fork":false,"pushed_at":"2021-07-15T18:48:31.000Z","size":44,"stargazers_count":7,"open_issues_count":2,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-30T20:06:51.387Z","etag":null,"topics":["elixir","osrm","vroom"],"latest_commit_sha":null,"homepage":"https://hexdocs.pm/vroom/readme.html","language":"Elixir","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/wesleimp.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}},"created_at":"2021-04-13T21:49:53.000Z","updated_at":"2024-07-06T10:08:08.000Z","dependencies_parsed_at":"2022-08-23T02:41:04.108Z","dependency_job_id":null,"html_url":"https://github.com/wesleimp/vroom-elixir","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/wesleimp/vroom-elixir","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wesleimp%2Fvroom-elixir","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wesleimp%2Fvroom-elixir/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wesleimp%2Fvroom-elixir/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wesleimp%2Fvroom-elixir/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wesleimp","download_url":"https://codeload.github.com/wesleimp/vroom-elixir/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wesleimp%2Fvroom-elixir/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262842922,"owners_count":23373167,"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":["elixir","osrm","vroom"],"created_at":"2025-02-19T14:18:21.320Z","updated_at":"2025-06-30T20:06:52.116Z","avatar_url":"https://github.com/wesleimp.png","language":"Elixir","funding_links":[],"categories":[],"sub_categories":[],"readme":"# vroom-elixir\n\nImplementation of VROOM (Vehicle Routing Open-Source Optimization Machine) HTTP client for Elixir.\n\n## Usage\n\n### Install\n\n```elixir\ndefp deps() do\n  [\n    {:vroom, \"~\u003e 0.1.0\"}\n  ]\nend\n```\n\n### Configuration\n\n```elixir\n# config/config.exs\n\nconfig :vroom,\n    url: \"VROOM URL\",\n    timeout: 15000\n\n# config/prod.exs\n\nconfig :vroom,\n    url: \"VROOM URL PROD\"\n```\n\n### Example\n\n```elixir\ndefmodule Router do\n  def solve_route do\n    shipment = %VROOM.Shipment{\n      amount: [1],\n      pickup: %VROOM.Shipment.Step{\n        id: 1,\n        description: \"Pickup #1\",\n        location: [\n          -49.273080825805664,\n          -25.437422762495064\n        ]\n      },\n      delivery: %VROOM.Shipment.Step{\n        id: 2,\n        description: \"Delivery #1\",\n        location: [\n          -49.264068603515625,\n          -25.436686416884992\n        ]\n      }\n    }\n\n    vehicle = %VROOM.Vehicle{\n      capacity: [3],\n      description: \"John Doe\",\n      id: 1,\n      profile: \"car\",\n      start: [\n        -49.273080825805664,\n        -25.437422762495064\n      ]\n    }\n\n    %{\"code\" =\u003e 0, \"routes\" =\u003e routes} = VROOM.solve([vehicle], [shipment], [], %{g: true})\n\n    routes\n  end\nend\n```\n\nFor more info, check out the [docs](https://hexdocs.pm/vroom)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwesleimp%2Fvroom-elixir","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwesleimp%2Fvroom-elixir","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwesleimp%2Fvroom-elixir/lists"}