{"id":13800506,"url":"https://github.com/Dev1an/A-Star","last_synced_at":"2025-05-13T09:31:44.833Z","repository":{"id":63908297,"uuid":"66212236","full_name":"Dev1an/A-Star","owner":"Dev1an","description":"A* pathfinding library in Swift.","archived":false,"fork":false,"pushed_at":"2020-08-07T13:23:22.000Z","size":6214,"stargazers_count":40,"open_issues_count":2,"forks_count":10,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-25T00:12:50.207Z","etag":null,"topics":["pathfinder","pathfinding-algorithm","playground","protocol-oriented"],"latest_commit_sha":null,"homepage":"","language":"Swift","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/Dev1an.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"License.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-08-21T17:45:17.000Z","updated_at":"2025-03-29T23:16:55.000Z","dependencies_parsed_at":"2022-11-28T22:59:13.721Z","dependency_job_id":null,"html_url":"https://github.com/Dev1an/A-Star","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Dev1an%2FA-Star","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Dev1an%2FA-Star/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Dev1an%2FA-Star/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Dev1an%2FA-Star/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Dev1an","download_url":"https://codeload.github.com/Dev1an/A-Star/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252122994,"owners_count":21698339,"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":["pathfinder","pathfinding-algorithm","playground","protocol-oriented"],"created_at":"2024-08-04T00:01:13.216Z","updated_at":"2025-05-13T09:31:40.268Z","avatar_url":"https://github.com/Dev1an.png","language":"Swift","readme":"# A-Star\n\u003ca href=\"https://swift.org\"\u003e\u003cimg src=\"https://img.shields.io/badge/Swift-5.0-orange.svg?style=flat\" alt=\"Swift\" /\u003e\u003c/a\u003e [![CircleCI](https://circleci.com/gh/Dev1an/A-Star/tree/master.svg?style=svg)](https://circleci.com/gh/Dev1an/A-Star/tree/master)\n\nProtocol oriented A* (A star) pathfinding algorithm implementation in Swift 5 (Playground included).\n\nAdd pathfinding to your graph just by implementing the 3 requirements of the [Graph protocol](https://dev1an.github.io/A-Star/Protocols/Graph.html).\n\n## Playground\n\n- To use the playground: open AStar.xcodeproj\n- Build the macOS framework (select the `AStar macOS` targer and press `command` + `b`)\n- Click on Playground.playground\n\n![Playground](docs/Playground.png)\n\n## Swift Package Manager\n\nYou can now add this package to your project using SPM 🎉\n\n### Using Xcode\n\nXcode 11 has a new interface to include packages into your existing projects.\n\n- Click `File` → `Swift Packages` → `Add Package Dependency...`\n- Search for `AStar` and select this repository.\n- Follow the on screen instructions\n\n![Playground](docs/SPM-Xcode.png)\n\n### Manualy editing package file\n\nTo include it in your package manually, add the following dependency to your `Package.swift` file.\n\n```swift\n.package(url: \"https://github.com/Dev1an/A-Star.git\", .branch(\"master\"))\n```\n\nUse `import AStar` to access the APIs.\n","funding_links":[],"categories":["Theoretical Computer Science"],"sub_categories":["Algorithms and Data Structures"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FDev1an%2FA-Star","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FDev1an%2FA-Star","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FDev1an%2FA-Star/lists"}