{"id":22052080,"url":"https://github.com/balena-io-examples/balena-cpp-hello-world","last_synced_at":"2025-05-11T07:41:50.372Z","repository":{"id":37967677,"uuid":"59204231","full_name":"balena-io-examples/balena-cpp-hello-world","owner":"balena-io-examples","description":"Example of how to deploy C++ code on a balena supported device.","archived":false,"fork":false,"pushed_at":"2025-05-07T11:09:42.000Z","size":404,"stargazers_count":7,"open_issues_count":0,"forks_count":11,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-11T07:41:41.432Z","etag":null,"topics":["balena","balena-hello-world","cpp","lithium"],"latest_commit_sha":null,"homepage":"https://www.balena.io/docs/learn/getting-started/raspberrypi3/cpp/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/balena-io-examples.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"license.md","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":"2016-05-19T12:28:20.000Z","updated_at":"2025-05-07T11:09:45.000Z","dependencies_parsed_at":"2024-04-19T18:30:36.900Z","dependency_job_id":"5a93ae17-a7c7-4190-b3f8-030eb5018f2f","html_url":"https://github.com/balena-io-examples/balena-cpp-hello-world","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/balena-io-examples%2Fbalena-cpp-hello-world","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/balena-io-examples%2Fbalena-cpp-hello-world/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/balena-io-examples%2Fbalena-cpp-hello-world/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/balena-io-examples%2Fbalena-cpp-hello-world/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/balena-io-examples","download_url":"https://codeload.github.com/balena-io-examples/balena-cpp-hello-world/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253534558,"owners_count":21923528,"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":["balena","balena-hello-world","cpp","lithium"],"created_at":"2024-11-30T15:13:05.276Z","updated_at":"2025-05-11T07:41:50.302Z","avatar_url":"https://github.com/balena-io-examples.png","language":"JavaScript","readme":"# A Simple Server with C++ Lithium\n\n[![balena deploy button](https://www.balena.io/deploy.svg)](https://dashboard.balena-cloud.com/deploy?repoUrl=https://github.com/balena-io-examples/balena-cpp-hello-world)\n\nThis is a simple skeleton C++ server project that works on any of the [devices supported][devices-supported] by [balena][balena-link].\n\nThis project serves up a welcome page on port `:80` of your balena device.\n\nTo get this project up and running, you will need to [sign-up][signup-page] for a balena account. Have a look at our [Getting Started tutorial][gettingStarted-link] to help you kickstart your journey in creating a fleet of devices. Once you are set up with balena, you will need to clone or download this repository. \n\nAfter downloading, navigate to the directory and run the `balena push` command using the [balena CLI][balena-cli]. This command will package up and push the code to the balena builders, where it will be compiled, built and deployed to every device in the fleet. When it completes, you'll have a C++ powered web server running on your device and you can see some logs on your [device dashboard][balena-dashboard].\n\n```bash\ncd balena-cpp-hello-world/\nbalena push \u003cFLEET_NAME\u003e\n```\n\nTo give your device a public URL, access the device page on the [balenaCloud dashboard][balena-dashboard], and choose the _Public Device URL_ toggle. Once the device is updated, check the Public Device URL to find the welcome page showing up from your device. That's it, you have deployed your first balena device!\n\n[balena-cli]:https://www.balena.io/docs/reference/cli/\n[balena-dashboard]:https://dashboard.balena-cloud.com/\n[balena-link]:https://balena.io/ \n[devices-supported]:https://www.balena.io/docs/reference/hardware/devices/\n[gettingStarted-link]:https://www.balena.io/docs/learn/getting-started/raspberrypi3/rust/\n[signup-page]:https://dashboard.balena-cloud.com/signup\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbalena-io-examples%2Fbalena-cpp-hello-world","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbalena-io-examples%2Fbalena-cpp-hello-world","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbalena-io-examples%2Fbalena-cpp-hello-world/lists"}