{"id":49413910,"url":"https://github.com/sadatech/sadata-osrm-frontend","last_synced_at":"2026-04-29T02:10:08.819Z","repository":{"id":350422490,"uuid":"1206764150","full_name":"sadatech/sadata-osrm-frontend","owner":"sadatech","description":null,"archived":false,"fork":false,"pushed_at":"2026-04-10T09:36:15.000Z","size":1123,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2026-04-10T10:34:28.306Z","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":"bsd-2-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sadatech.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,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-04-10T08:26:18.000Z","updated_at":"2026-04-10T09:36:19.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/sadatech/sadata-osrm-frontend","commit_stats":null,"previous_names":["sadatech/sadata-osrm-frontend"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/sadatech/sadata-osrm-frontend","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sadatech%2Fsadata-osrm-frontend","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sadatech%2Fsadata-osrm-frontend/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sadatech%2Fsadata-osrm-frontend/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sadatech%2Fsadata-osrm-frontend/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sadatech","download_url":"https://codeload.github.com/sadatech/sadata-osrm-frontend/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sadatech%2Fsadata-osrm-frontend/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32407191,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-28T19:38:08.556Z","status":"online","status_checked_at":"2026-04-29T02:00:06.602Z","response_time":110,"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":"2026-04-29T02:10:04.917Z","updated_at":"2026-04-29T02:10:08.814Z","avatar_url":"https://github.com/sadatech.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# osrm-frontend\n\nThis is the frontend served at https://map.project-osrm.org.\nThis frontend builds heavily on top of [Leaflet Routing Machine](https://github.com/perliedman/leaflet-routing-machine).\nIf you need a simple OSRM integration in your webpage, you should start from there.\n\n\n## Using Docker\n\nThe easiest and quickest way to setup your own routing engine backend is to use Docker images we provide.\nWe base [our Docker images](https://hub.docker.com/r/osrm/osrm-frontend/) on Alpine Linux and make sure they are as lightweight as possible.\n\nServes the frontend at `http://localhost:9966` running queries against the routing engine backend:\n\n```\ndocker run -p 9966:9966 ghcr.io/project-osrm/osrm-frontend:latest\n```\n\nPer default routing requests are made against the backend at `http://localhost:5000`.\nYou can change the backend by using `-e OSRM_BACKEND='http://localhost:5001'` in the `docker run` command.\n\nIn case Docker complains about not being able to connect to the Docker daemon make sure you are in the `docker` group.\n\n```\nsudo usermod -aG docker $USER\n```\n\nTo build the docker image locally:\n\n```bash\ndocker build . -f docker/Dockerfile -t osrm-frontend\ndocker run -p 9966:9966 osrm-frontend\n```\n\n## Development\n\nInstall dependencies via\n\n```bash\nnpm install\n```\n\nThen compile assets and start the local server with\n\n```bash\nnpm start\n```\n\nOn Windows with no Unix tools installed (`bash` and `cp`) the server could be started with two other commands\nexecuted by `npm start` internally:\n\n```bash\nnpm run compile\nnpm run start-index\n```\n\n## Changing Backends\n\nIn `src/leaflet_options.js` adjust:\n\n```\nservices: [{\n  label: 'Car (fastest)',\n  path: 'http://localhost:5000/route/v1'\n}],\n```\n\nFor debug tiles showing speeds and small components available at `/debug` adjust in `debug/index.html`\n\n```\n\"osrm\": {\n  \"type\": \"vector\",\n  \"tiles\" : [\"http://localhost:5000/tile/v1/car/tile({x},{y},{z}).mvt\"]\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsadatech%2Fsadata-osrm-frontend","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsadatech%2Fsadata-osrm-frontend","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsadatech%2Fsadata-osrm-frontend/lists"}