{"id":16241551,"url":"https://github.com/tve/hologw","last_synced_at":"2025-04-08T09:53:09.458Z","repository":{"id":146951446,"uuid":"100141813","full_name":"tve/hologw","owner":"tve","description":"UDP gateway for hologram cell service","archived":false,"fork":false,"pushed_at":"2017-08-13T05:14:37.000Z","size":1594,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-14T06:51:11.632Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","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/tve.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}},"created_at":"2017-08-12T22:58:59.000Z","updated_at":"2018-05-18T19:14:49.000Z","dependencies_parsed_at":null,"dependency_job_id":"a6590490-9cb3-4148-870a-96625888b838","html_url":"https://github.com/tve/hologw","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tve%2Fhologw","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tve%2Fhologw/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tve%2Fhologw/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tve%2Fhologw/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tve","download_url":"https://codeload.github.com/tve/hologw/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247819946,"owners_count":21001394,"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":[],"created_at":"2024-10-10T14:07:59.042Z","updated_at":"2025-04-08T09:53:09.401Z","avatar_url":"https://github.com/tve.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# hologram UDP gateway\n\n_UDP gateway for hologram cell service_\n\nThe hologw is a very simple gateway between UDP and the hologram IoT\nservice in order to submit data to Hologram.\nThe cellular device sends a UDP packet to port 9999 on which hologw runs,\nthe hologw forwards that packet via TCP to Hologram, reads the response, and\nsends that back via UDP to the cellular device.\n\nOne added feature is that if the JSON message object contains a field\nnamed \"a\" that is an integer then the GW delays the UDP response by\nthat many seconds. This provided to be able to test the UDP NAT timeout\nof the cellular carrier.\n\nThere are no command-line options, so just run `./hologw` on an internet-accessible\nserver. Assuming your cellular device is a unix box, send it a packet\nlike so:\n```\necho '{\"a\":10, \"k\":\"XXXXXXXX\",\"d\":\"Hello, World!\",\"t\":\"test\"}' | nc -q 20 -u your.host.or.ip 9999\n```\n\nThis will submit the whole message to Hologram (which doesn't seem to mind the extra \"a\":10,\nget a \"[0,0]\" response, then delay 10 seconds, and finally send it via UDP.\nThe `-q 20` causes nc to linger 20 seconds for the response.\n\nThe `hologw` binary is a Linux x64 executable that will run on any Linux distro.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftve%2Fhologw","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftve%2Fhologw","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftve%2Fhologw/lists"}