{"id":20161547,"url":"https://github.com/openipc/uget","last_synced_at":"2025-04-10T00:13:41.923Z","repository":{"id":97291952,"uuid":"263432822","full_name":"OpenIPC/uget","owner":"OpenIPC","description":"Simple but compact wget replacement for embedded devices","archived":false,"fork":false,"pushed_at":"2024-01-17T10:06:53.000Z","size":21,"stargazers_count":23,"open_issues_count":1,"forks_count":4,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-10T00:13:34.286Z","etag":null,"topics":["cli","openipc","tools"],"latest_commit_sha":null,"homepage":"https://openipc.org","language":"C","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/OpenIPC.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}},"created_at":"2020-05-12T19:30:09.000Z","updated_at":"2025-03-04T12:50:23.000Z","dependencies_parsed_at":null,"dependency_job_id":"d19911c7-11ac-4796-9546-84367fec3677","html_url":"https://github.com/OpenIPC/uget","commit_stats":{"total_commits":19,"total_committers":3,"mean_commits":6.333333333333333,"dds":0.1578947368421053,"last_synced_commit":"1026f67f6d4cd1ec8a70ae662cb726773e061b81"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OpenIPC%2Fuget","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OpenIPC%2Fuget/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OpenIPC%2Fuget/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OpenIPC%2Fuget/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/OpenIPC","download_url":"https://codeload.github.com/OpenIPC/uget/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248131315,"owners_count":21052819,"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":["cli","openipc","tools"],"created_at":"2024-11-14T00:19:28.203Z","updated_at":"2025-04-10T00:13:41.902Z","avatar_url":"https://github.com/OpenIPC.png","language":"C","readme":"# μget\n\nSimple utility to help CI guys do their job in constrained environments to\ndownload and run binaries in `/tmp`. Size of μget is around 4Kb.\n\n## Features\n\n* Could be used as `curl` or `wget` replacement. In my case it's convenient to\n  PUT binary to S3 bucket and then run it on device\n\n* Supports only `HTTP` (we need deal with size), no redirects yet\n\n* No fancy error messages inside binary, returns only exit codes from defined\n  preset (see `Error codes` section).\n\n## Usage\n\n* As `curl` replacement: `uget ifconfig.me`\n\n* Ad-hoc utility to download and run binary:\n\n```sh\n$ ./uget run openipc.s3-eu-west-1.amazonaws.com/ipc_chip_info\n```\n\n## Transferring to device using telnet\n\n```console\n# on your Linux workstation\n$ ./bin2sh uget \u003e uget.sh\n# login via telnet to embedded device, copy-paste text from uget.sh\n# target binary will reside in /tmp\n$ ./uget example.com\n\n# if target system doesn't support printf use\n$ ./bin2sh -echo uget \u003e uget.sh\n```\n\n## Demo\n\n[![asciicast](https://asciinema.org/a/QeQTnRudeNPOMW6s1KCZXosf5.svg)](https://asciinema.org/a/QeQTnRudeNPOMW6s1KCZXosf5)\n\n## Error codes\n\n|Error code|Description|\n|---|---|\n| 0 | everything is ok |\n| 1 | general error code |\n| 2 | socket creation error |\n| 3 | DNS resolution error |\n| 4 | connection error |\n| 5 | send error |\n| 6 | incorrect command line options |\n\n* HTTP response codes other than 2XX are transformed from `XYZ` number to `XZ` exit\n  code (so `44` means `404`, or `52` means `502`)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopenipc%2Fuget","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fopenipc%2Fuget","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopenipc%2Fuget/lists"}