{"id":23409230,"url":"https://github.com/pilebones/go-gpsd","last_synced_at":"2025-04-09T01:46:39.053Z","repository":{"id":26249745,"uuid":"98889802","full_name":"pilebones/go-gpsd","owner":"pilebones","description":"Go daemon to provides a human readable interface of GPS-device informations","archived":false,"fork":false,"pushed_at":"2022-02-19T02:31:20.000Z","size":48,"stargazers_count":4,"open_issues_count":2,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-02-14T20:35:47.514Z","etag":null,"topics":["go","golang","gps-tracking","gpsd"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pilebones.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":"2017-07-31T13:07:29.000Z","updated_at":"2023-07-14T05:39:23.000Z","dependencies_parsed_at":"2022-08-07T12:00:08.757Z","dependency_job_id":null,"html_url":"https://github.com/pilebones/go-gpsd","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pilebones%2Fgo-gpsd","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pilebones%2Fgo-gpsd/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pilebones%2Fgo-gpsd/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pilebones%2Fgo-gpsd/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pilebones","download_url":"https://codeload.github.com/pilebones/go-gpsd/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247958706,"owners_count":21024827,"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":["go","golang","gps-tracking","gpsd"],"created_at":"2024-12-22T15:33:16.289Z","updated_at":"2025-04-09T01:46:39.032Z","avatar_url":"https://github.com/pilebones.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# go-gpsd [![Go Report Card](https://goreportcard.com/badge/github.com/pilebones/go-gpsd)](https://goreportcard.com/report/github.com/pilebones/go-gpsd) [![GitHub Repo stars](https://img.shields.io/github/stars/pilebones/go-gpsd)](https://somsubhra.github.io/github-release-stats/?username=pilebones\u0026repository=go-gpsd) [![GoDoc](https://godoc.org/github.com/pilebones/go-gpsd?status.svg)](https://godoc.org/github.com/pilebones/go-gpsd) [![Release](https://img.shields.io/github/release/pilebones/go-gpsd.svg)](https://github.com/pilebones/go-gpsd/releases/latest) [![License](https://img.shields.io/github/license/pilebones/go-gpsd)](/LICENSE) ![Build Status](https://github.com/pilebones/go-gpsd/workflows/CI/badge.svg) [![Coverage Status](https://coveralls.io/repos/github/pilebones/go-gpsd/badge.svg?branch=master)](https://coveralls.io/github/pilebones/go-gpsd?branch=master)\n\nGPSd provides a human readable and HTTP interface about GPS-device informations.\n\n__/!\\ Work in progress /!\\__\n\nTested with this [GPS Module](http://wiki.52pi.com/index.php/USB-Port-GPS_Module_SKU:EZ-0048) cover [L80 gps protocol specification v1.0.pdf](http://wiki.52pi.com/index.php/File:L80_gps_protocol_specification_v1.0.pdf).\n\n## Features\n\n- Read GPS message from USB-Serial device like `/dev/ttyUSBx`.\n- Auto-detect GPS device mode (hot-plug like udev or lookup existing device).\n- Provide HTTP API to get GPS informations and state.\n\n## How to\n\n### Get sources\n\n```\ngo get github.com/pilebones/go-gpsd\n```\n\n### Unit test\n\n```\ngo test ./...\n```\n\n### Compile\n\n```\ngo build\n```\n\n### Usage\n\n```\n./go-gpsd -help\n  -autodetect\n        Allow to enable auto-detection of the GPS device (already plugged or hot-plugged)\n  -autodetect-timeout duration\n        Time spent to try to autodetect the GPS device (exit 2 if fail) (default 5s)\n  -input string\n        Char device path related to the serial port of the GPS device (default \"/dev/ttyUSB0\")\n  -target string\n        HTTP listener to get GPS state (default \"127.0.0.1:1234\")\n  -timeout duration\n        Max duration allowed to read and parse a GPS sentence from serial-port (default 5s)\n```\n\nNote: you should run binary by user with elevated privileges to have access to /dev kernel struct.\n\n### Example\n\nTo auto-detect GPS device and handle GPS message:\n\n```\n(sudo) ./go-gpsd -autodetect\n```\n\n## Throubleshooting\n\nDon't hesitate to notice if you detect a problem with this tool or library.\n\n## Documentation\n\n- [GoDoc Reference](http://godoc.org/github.com/pilebones/go-gpsd).\n\n## License\n\ngo-udev is available under the [GNU GPL v3 - Clause License](https://opensource.org/licenses/GPL-3.0).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpilebones%2Fgo-gpsd","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpilebones%2Fgo-gpsd","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpilebones%2Fgo-gpsd/lists"}