{"id":13420479,"url":"https://github.com/swift-nav/libswiftnav","last_synced_at":"2026-02-20T12:32:23.911Z","repository":{"id":975624,"uuid":"315447703","full_name":"swift-nav/libswiftnav","owner":"swift-nav","description":"A portable C library implementing GNSS related functions and algorithms.","archived":false,"fork":false,"pushed_at":"2025-11-24T22:15:46.000Z","size":11672,"stargazers_count":22,"open_issues_count":3,"forks_count":21,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-12-10T06:47:11.418Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Pawn","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"lgpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/swift-nav.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}},"created_at":"2020-11-23T21:42:00.000Z","updated_at":"2025-11-09T07:47:41.000Z","dependencies_parsed_at":"2023-07-06T10:46:15.138Z","dependency_job_id":"ed848ec4-a208-44a5-9896-5fc6f1b1e256","html_url":"https://github.com/swift-nav/libswiftnav","commit_stats":{"total_commits":224,"total_committers":42,"mean_commits":5.333333333333333,"dds":0.8303571428571428,"last_synced_commit":"5eb306de9983c21ac72446a2b2dd8ef5846fddae"},"previous_names":[],"tags_count":20,"template":false,"template_full_name":null,"purl":"pkg:github/swift-nav/libswiftnav","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/swift-nav%2Flibswiftnav","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/swift-nav%2Flibswiftnav/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/swift-nav%2Flibswiftnav/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/swift-nav%2Flibswiftnav/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/swift-nav","download_url":"https://codeload.github.com/swift-nav/libswiftnav/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/swift-nav%2Flibswiftnav/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29650867,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-20T09:27:29.698Z","status":"ssl_error","status_checked_at":"2026-02-20T09:26:12.373Z","response_time":59,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: 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":[],"created_at":"2024-07-30T22:01:34.507Z","updated_at":"2026-02-20T12:32:23.892Z","avatar_url":"https://github.com/swift-nav.png","language":"Pawn","funding_links":[],"categories":["TODO scan for Android support in followings","Spacecraft"],"sub_categories":["Spacecraft Hardware"],"readme":"[![CI](https://github.com/swift-nav/libswiftnav/actions/workflows/ci.yaml/badge.svg)](https://github.com/swift-nav/libswiftnav/actions/workflows/ci.yaml)\n[![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=swift-nav_libswiftnav\u0026metric=alert_status)](https://sonarcloud.io/dashboard?id=swift-nav_libswiftnav)\n\n\nlibswiftnav\n===========\n\nLibswiftnav (LSN) is a platform independent library that implements GNSS utility functions for use by software-defined GNSS receivers or software requiring GNSS functionality. It is intended to be as portable as possible and is written in standards compliant C with no dependancies\n\nLSN does not provide any functionality for communicating with Swift Navigation receivers.  See [libsbp](https://github.com/swift-nav/libsbp) to communicate with receivers using Swift Binary Protocol (SBP).\n\nTo checkout the library run the following commands in an appropriate directory\n```\ngit clone git@github.com:swift-nav/libswiftnav.git\n```\nWhich should checkout the source code\n\n### Build\nTo build the library, run the following commands from the LSN root directory - LSN depends on the latest xcode for MacOSX and cmake\n```\nmkdir ./build\ncd ./build\ncmake ../\nmake -j4\n```\n\n# Build on Docker\n\nThe `libswiftnav` docker image is using a ECR-hosted base image `swift-build` that contains most swift build tools.\n\n#### Get `swift-build` base image from ECR\n\nTo be able to pull this base image from ECR, you need to log into AWS (select the SSO-Build-User role) and then into \nECR:\n\n    aws-google-auth -S 115297745755 -I C02x4yyeb -p default -a -u \u003cusername\u003e@swift-nav.com\n    $(aws ecr get-login --no-include-email --region us-west-2 --registry-ids 571934480752)\n\n#### Build the `swift-build` base image yourself (without ECR)\n\nAlternatively to the AWS/ECR pull, you can build the base image yourself from the Dockerfile.base:\n(replace \\\u003ctag\\\u003e with the one used by Dockerfile's FROM statement, e.g. 2018-12-20)\n\n    docker build -t 571934480752.dkr.ecr.us-west-2.amazonaws.com/swift-build:\u003ctag\u003e modules/docker-recipes/swift-build\n\n### Build the `libswiftnav` image and run container\n\nNow you can build and run the libswiftnav image with\n\n    docker-compose build libswiftnav\n    docker-compose run libswiftnav \n\n#### Run a shell in docker\n\n    make docker\n\n- Starts a shell in a container, with the workspace mounted as /mnt/workspace.\n\n#### Run build in docker\n\n    make docker-build\n    \n#### Run clang-format\n\n    make docker-lint\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fswift-nav%2Flibswiftnav","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fswift-nav%2Flibswiftnav","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fswift-nav%2Flibswiftnav/lists"}