{"id":44332384,"url":"https://github.com/bringauto/transparent-module","last_synced_at":"2026-02-11T10:09:55.285Z","repository":{"id":257733275,"uuid":"859169796","full_name":"bringauto/transparent-module","owner":"bringauto","description":"Transparent module for forwarding data without any internal logic","archived":false,"fork":false,"pushed_at":"2025-04-09T13:56:10.000Z","size":15,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-08-01T21:59:30.986Z","etag":null,"topics":["fleet-protocol","fleet-protocol-module"],"latest_commit_sha":null,"homepage":"","language":"C++","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/bringauto.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":"2024-09-18T07:56:10.000Z","updated_at":"2025-04-09T13:54:48.000Z","dependencies_parsed_at":null,"dependency_job_id":"dbd423ba-5e90-4b7d-afe9-28da5788b798","html_url":"https://github.com/bringauto/transparent-module","commit_stats":null,"previous_names":["bringauto/transparent-module"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/bringauto/transparent-module","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bringauto%2Ftransparent-module","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bringauto%2Ftransparent-module/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bringauto%2Ftransparent-module/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bringauto%2Ftransparent-module/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bringauto","download_url":"https://codeload.github.com/bringauto/transparent-module/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bringauto%2Ftransparent-module/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29331744,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-11T06:13:03.264Z","status":"ssl_error","status_checked_at":"2026-02-11T06:12:55.843Z","response_time":97,"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":["fleet-protocol","fleet-protocol-module"],"created_at":"2026-02-11T10:09:54.466Z","updated_at":"2026-02-11T10:09:55.279Z","avatar_url":"https://github.com/bringauto.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Transparent Module\n\nThe Transparent Module serves primarily for testing purposes. It has no specific internal function beyond relaying data from input to output, making it ideal for testing.\n\n## Module specification\n\n- Module ID: 3\n- Module does not implement any logic for specific device types.\n- All device numbers are valid but do not affect the module's function.\n- Names and roles of connected devices must match the following regular expression: `^[a-z0-9_]*$`.\n- As the default command (the command that is sent before any command is received), the module sends the raw string `\"default_command\"`.\n\n## Requirements\n\n- [CMakeLib](https://github.com/cmakelib/cmakelib)\n\n## Build\n\n```bash\nmkdir _build \u0026\u0026 cd _build\ncmake .. -DCMLIB_DIR=\u003cpath-to-cmakelib-dir\u003e\nmake\n```\n\n## Command structure\n\nTo send data from `http_api` to the module, use the following JSON structure:\n\n```json\n[\n  {\n    \"device_id\":     {\n      \"module_id\": 3,\n      \"name\": \"yellow_testing_device\",\n      \"role\": \"testing_device\",\n      \"type\": 0\n    },\n    \"payload\": {\n      \"data\": \"your payload\",\n      \"encoding\": \"BASE64\",\n      \"message_type\": \"COMMAND\"\n    }\n  }\n]\n```\n\nWhere `device_id.name`, `device_id.role` and `device_id.type` have to be the same as the connected device.\nAnd in `payload.data` you can put any string you want to send.\n\n## Sending status\n\nThe module represents all sent data as strings, including JSON objects. When sending a JSON, it is serialized (dumped) into a string format before being sent. This allows the module to handle all data types uniformly, ensuring flexibility.\n\n## Example\n\nAn example script, `example.py`, is provided in the `example` subdirectory. This script demonstrates how the module can be utilized for sending data between devices.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbringauto%2Ftransparent-module","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbringauto%2Ftransparent-module","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbringauto%2Ftransparent-module/lists"}