{"id":16165060,"url":"https://github.com/chrberger/cluon-javascript","last_synced_at":"2026-04-09T11:03:06.170Z","repository":{"id":150058218,"uuid":"130205538","full_name":"chrberger/cluon-javascript","owner":"chrberger","description":"Minimum viable product (MVP) demonstrating how to communicate between JavaScript and OD4Sessions using libcluon.","archived":false,"fork":false,"pushed_at":"2018-08-25T08:58:45.000Z","size":949,"stargazers_count":3,"open_issues_count":1,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-07T04:49:49.049Z","etag":null,"topics":["amd64","arm","cpp","cpp11","docker","docker-image","javascript","json","libcluon","opendlv","protobuf","websocket","websockets"],"latest_commit_sha":null,"homepage":null,"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/chrberger.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":"2018-04-19T11:27:51.000Z","updated_at":"2019-02-04T13:20:35.000Z","dependencies_parsed_at":"2023-06-04T14:15:31.224Z","dependency_job_id":null,"html_url":"https://github.com/chrberger/cluon-javascript","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/chrberger/cluon-javascript","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chrberger%2Fcluon-javascript","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chrberger%2Fcluon-javascript/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chrberger%2Fcluon-javascript/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chrberger%2Fcluon-javascript/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/chrberger","download_url":"https://codeload.github.com/chrberger/cluon-javascript/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chrberger%2Fcluon-javascript/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268229967,"owners_count":24217019,"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","status":"online","status_checked_at":"2025-08-01T02:00:08.611Z","response_time":67,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["amd64","arm","cpp","cpp11","docker","docker-image","javascript","json","libcluon","opendlv","protobuf","websocket","websockets"],"created_at":"2024-10-10T02:49:08.780Z","updated_at":"2025-12-30T21:52:17.841Z","avatar_url":"https://github.com/chrberger.png","language":"C++","readme":"# cluon-javascript\nThis project provides a minimum viable product (MVP) demonstrating how to communicate between JavaScript and [OD4Sessions](https://github.com/chalmers-revere/opendlv) using [libcluon](https://github.com/chrberger/libcluon) and hence, connecting JavaScript and C++ to exchange data bi-directionally.\n\n[![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](https://opensource.org/licenses/MIT) [![x86_64/js](https://img.shields.io/badge/js-x86_64-blue.svg)](https://hub.docker.com/r/chrberger/cluon-javascript-js-amd64/tags/) [![x86_64/cpp](https://img.shields.io/badge/cpp-x86_64-blue.svg)](https://hub.docker.com/r/chrberger/cluon-javascript-cpp-amd64/tags/) [![armhf/js](https://img.shields.io/badge/js-armhf-blue.svg)](https://hub.docker.com/r/chrberger/cluon-javascript-js-armhf/tags/) [![armhf/cpp](https://img.shields.io/badge/cpp-armhf-blue.svg)](https://hub.docker.com/r/chrberger/cluon-javascript-cpp-armhf/tags/)\n\n## Table of Contents\n* [Features](#features)\n* [Dependencies](#dependencies)\n* [Usage](#usage)\n* [Building](#building)\n* [License](#license)\n\n## Features\n* Written in highly portable and high quality C++14\n* Sending data in [Protobuf](https://developers.google.com/protocol-buffers/) from C++ to your JavaScript application\n* Sending data in [Protobuf](https://developers.google.com/protocol-buffers/) from JavaScript to your C++ application\n* Description of the [C++](https://github.com/chrberger/cluon-javascript/blob/master/cpp/README.md) part of this ping-pong application\n* Description of the [JavaScript](https://github.com/chrberger/cluon-javascript/blob/master/js/README.md) part of this ping-pong application\n\n## Dependencies\nNo dependencies! You just need a C++14-compliant compiler to compile this\nproject as it ships its dependencies as part of the source distribution:\n\n* [libcluon](https://github.com/chrberger/libcluon) - [![License: GPLv3](https://img.shields.io/badge/license-GPL--3-blue.svg\n)](https://www.gnu.org/licenses/gpl-3.0.txt)\n\n## Usage\nThis microservice is provided via Docker's public registry for:\n* [![x86_64/js](https://img.shields.io/badge/js-x86_64-blue.svg)](https://hub.docker.com/r/chrberger/cluon-javascript-js-amd64/tags/)\n* [![x86_64/cpp](https://img.shields.io/badge/cpp-x86_64-blue.svg)](https://hub.docker.com/r/chrberger/cluon-javascript-cpp-amd64/tags/)\n* [![armhf/js](https://img.shields.io/badge/js-armhf-blue.svg)](https://hub.docker.com/r/chrberger/cluon-javascript-js-armhf/tags/)\n* [![armhf/cpp](https://img.shields.io/badge/cpp-armhf-blue.svg)](https://hub.docker.com/r/chrberger/cluon-javascript-cpp-armhf/tags/)\n\n1. Running the webserver to serve the JavaScript application serving data from [OD4Session](https://github.com/chalmers-revere/opendlv) `111`:\n```\ndocker run --rm -ti --net=host chrberger/cluon-javascript-js-amd64:latest --cid=111\n```\n\n2. Running the C++ demo program to send data in time-triggered mode:\n```\ndocker run --rm -ti --net=host chrberger/cluon-javascript-cpp-amd64:latest ping-pong --cid=111\n```\n\nNow, simply point your web-browser to http://localhost:8082 and open the JavaScript console to see the output.\n\n## Building\n* Description of the [C++](https://github.com/chrberger/cluon-javascript/blob/master/cpp/README.md) part of this ping-pong application\n* Description of the [JavaScript](https://github.com/chrberger/cluon-javascript/blob/master/js/README.md) part of this ping-pong application\n\n## License\n\n* This project is released under the terms of the MIT License.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchrberger%2Fcluon-javascript","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchrberger%2Fcluon-javascript","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchrberger%2Fcluon-javascript/lists"}