{"id":48136431,"url":"https://github.com/rauc/rauc-hawkbit-updater","last_synced_at":"2026-04-04T16:47:00.268Z","repository":{"id":37710719,"uuid":"158534467","full_name":"rauc/rauc-hawkbit-updater","owner":"rauc","description":"The RAUC hawkBit updater is a simple commandline tool/daemon that runs on your target and interfaces between RAUC and hawkBit's DDI API.","archived":false,"fork":false,"pushed_at":"2025-07-08T12:13:04.000Z","size":377,"stargazers_count":66,"open_issues_count":10,"forks_count":38,"subscribers_count":11,"default_branch":"master","last_synced_at":"2025-07-08T12:25:21.180Z","etag":null,"topics":["client","embedded","fota","hacktoberfest","hawkbit","iot","linux","ota","software-update","update"],"latest_commit_sha":null,"homepage":"https://rauc-hawkbit-updater.readthedocs.io","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"lgpl-2.1","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rauc.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGES","contributing":"docs/contributing.rst","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":"2018-11-21T10:58:54.000Z","updated_at":"2025-07-08T12:13:09.000Z","dependencies_parsed_at":"2022-09-06T19:22:43.210Z","dependency_job_id":"49daa4ac-eff9-4d8e-a068-248a9aceb472","html_url":"https://github.com/rauc/rauc-hawkbit-updater","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/rauc/rauc-hawkbit-updater","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rauc%2Frauc-hawkbit-updater","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rauc%2Frauc-hawkbit-updater/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rauc%2Frauc-hawkbit-updater/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rauc%2Frauc-hawkbit-updater/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rauc","download_url":"https://codeload.github.com/rauc/rauc-hawkbit-updater/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rauc%2Frauc-hawkbit-updater/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31406021,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-04T10:20:44.708Z","status":"ssl_error","status_checked_at":"2026-04-04T10:20:06.846Z","response_time":60,"last_error":"SSL_read: 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":["client","embedded","fota","hacktoberfest","hawkbit","iot","linux","ota","software-update","update"],"created_at":"2026-04-04T16:46:59.430Z","updated_at":"2026-04-04T16:47:00.244Z","avatar_url":"https://github.com/rauc.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"RAUC hawkBit Updater\n====================\n\n[![Build Status](https://github.com/rauc/rauc-hawkbit-updater/workflows/tests/badge.svg)](https://github.com/rauc/rauc-hawkbit-updater/actions)\n[![License](https://img.shields.io/badge/license-LGPLv2.1-blue.svg)](https://raw.githubusercontent.com/rauc/rauc-hawkbit-updater/master/LICENSE)\n[![CodeQL](https://github.com/rauc/rauc-hawkbit-updater/workflows/CodeQL/badge.svg)](https://github.com/rauc/rauc-hawkbit-updater/actions/workflows/codeql.yml)\n[![Documentation](https://readthedocs.org/projects/rauc-hawkbit-updater/badge/?version=latest)](https://rauc-hawkbit-updater.readthedocs.io/en/latest/?badge=latest)\n[![Matrix](https://img.shields.io/matrix/rauc:matrix.org?label=matrix%20chat)](https://app.element.io/#/room/#rauc:matrix.org)\n\nThe RAUC hawkBit updater is a simple command-line tool/daemon written in C (glib).\nIt is a port of the RAUC hawkBit Client written in Python.\nThe daemon runs on your target and operates as an interface between the\n[RAUC D-Bus API](https://github.com/rauc/rauc)\nand the [hawkBit DDI API](https://github.com/eclipse/hawkbit).\n\nQuickstart\n----------\n\nThe RAUC hawkBit updater is primarily meant to be used as a daemon,\nbut it also allows you to do a one-shot instantly checking and install\nnew software.\n\nTo quickly get started with hawkBit server, follow\n[this](https://github.com/eclipse/hawkbit#getting-started)\ninstruction.\n\nSetup target (device) configuration file:\n\n```ini\n  [client]\n  hawkbit_server                = hawkbit.example.com\n  target_name                   = target-1234\n  auth_token                    = bhVahL1Il1shie2aj2poojeChee6ahShu\n  #gateway_token                = chietha8eiD8Ujaxerifoxoh6Aed1koof\n  #ssl_key                      = pkcs11:token=mytoken;object=mykey\n  #ssl_cert                     = /path/to/certificate.pem\n  bundle_download_location      = /tmp/bundle.raucb\n  #tenant_id                    = DEFAULT\n  #ssl                          = true\n  #ssl_verify                   = true\n  #ssl_engine                   = pkcs11\n  #connect_timeout              = 20\n  #timeout                      = 60\n  #retry_wait                   = 300\n  #low_speed_time               = 60\n  #low_speed_rate               = 100\n  #resume_downloads             = false\n  #stream_bundle                = false\n  #post_update_reboot           = false\n  #log_level                    = message\n  #send_download_authentication = true\n\n  [device]\n  product                   = Terminator\n  model                     = T-1000\n  serialnumber              = 8922673153\n  hw_revision               = 2\n  key1                      = value\n  key2                      = value\n```\n\nAll key/values under [device] group are sent to hawkBit as data (attributes).\nThe attributes in hawkBit can be used in target filters.\n\nFinally start the updater as daemon:\n\n```shell\n$ ./rauc-hawkbit-updater -c config.conf\n```\n\n\nDebugging\n---------\n\nWhen setting the log level to 'debug' the RAUC hawkBit client will print\nJSON payload sent and received. This can be done by using option -d.\n\n```shell\n$ ./rauc-hawkbit-updater -d -c config.conf\n```\n\n\nCompile\n-------\n\nInstall build pre-requisites:\n\n* meson\n* libcurl\n* libjson-glib\n\n```shell\n$ sudo apt-get update\n$ sudo apt-get install meson libcurl4-openssl-dev libjson-glib-dev\n```\n\n```shell\n$ meson setup build\n$ ninja -C build\n```\n\nTest Suite\n----------\n\nPrepare test suite:\n\n```shell\n$ sudo apt install libcairo2-dev libgirepository1.0-dev nginx-full libnginx-mod-http-ndk libnginx-mod-http-lua\n$ python3 -m venv venv\n$ source venv/bin/activate\n(venv) $ pip install --upgrade pip\n(venv) $ pip install -r test-requirements.txt\n```\n\nRun hawkBit docker container:\n\n```shell\n$ docker pull hawkbit/hawkbit-update-server\n$ docker run -d --name hawkbit -p ::1:8080:8080 -p 127.0.0.1:8080:8080 \\\n    hawkbit/hawkbit-update-server \\\n    --hawkbit.server.security.dos.filter.enabled=false \\\n    --hawkbit.server.security.dos.maxStatusEntriesPerAction=-1 \\\n    --server.forward-headers-strategy=NATIVE\n```\n\nRun test suite:\n\n```shell\n(venv) $ ./test/wait-for-hawkbit-online \u0026\u0026 dbus-run-session -- pytest -v\n```\n\nPass `-o log_cli=true` to pytest in order to enable live logging for all test cases.\n\nUsage / Options\n---------------\n\n```shell\n$ /usr/bin/rauc-hawkbit-updater --help\nUsage:\n  rauc-hawkbit-updater [OPTION?]\n\nHelp Options:\n  -h, --help               Show help options\n\nApplication Options:\n  -c, --config-file        Configuration file\n  -v, --version            Version information\n  -d, --debug              Enable debug output\n  -r, --run-once           Check and install new software and exit\n  -s, --output-systemd     Enable output to systemd\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frauc%2Frauc-hawkbit-updater","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frauc%2Frauc-hawkbit-updater","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frauc%2Frauc-hawkbit-updater/lists"}