{"id":16122894,"url":"https://github.com/hyblocker/hekky-osc","last_synced_at":"2026-02-23T13:33:54.405Z","repository":{"id":209507358,"uuid":"570855448","full_name":"hyblocker/hekky-osc","owner":"hyblocker","description":"An OSC Library for C++","archived":false,"fork":false,"pushed_at":"2025-03-11T11:21:17.000Z","size":122,"stargazers_count":8,"open_issues_count":1,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-02T15:21:18.594Z","etag":null,"topics":["cpp","open-sound-control","osc","vrchat"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hyblocker.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":"2022-11-26T10:57:30.000Z","updated_at":"2024-12-19T20:41:58.000Z","dependencies_parsed_at":"2025-03-10T01:39:05.497Z","dependency_job_id":null,"html_url":"https://github.com/hyblocker/hekky-osc","commit_stats":null,"previous_names":["hyblocker/hekky-osc"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/hyblocker/hekky-osc","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hyblocker%2Fhekky-osc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hyblocker%2Fhekky-osc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hyblocker%2Fhekky-osc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hyblocker%2Fhekky-osc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hyblocker","download_url":"https://codeload.github.com/hyblocker/hekky-osc/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hyblocker%2Fhekky-osc/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29743853,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-23T07:44:07.782Z","status":"ssl_error","status_checked_at":"2026-02-23T07:44:07.432Z","response_time":90,"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":["cpp","open-sound-control","osc","vrchat"],"created_at":"2024-10-09T21:13:56.553Z","updated_at":"2026-02-23T13:33:54.374Z","avatar_url":"https://github.com/hyblocker.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Hekky OSC\n\nAn OSC Library for C++, initially based on [CoreOSC](https://github.com/PaciStardust/CoreOSC-UTF8).\n\n### Motivation\n\n\u003cp align=\"center\"\u003e\n\u003cimg alt=\"XKCD 927 - Standards\" src=\"https://user-images.githubusercontent.com/7695629/204110847-b113dea6-32cc-48e5-8b40-8e1f36ab085b.png\"\u003e\n\u003c/p\u003e\n\n\u003e [XKCD 927](https://xkcd.com/927/)\n\nOSC libraries in C++ suck. The APIs are either extremely verbose, the library has too many dependencies and is a nightmare to get working, or difficult to use without leaking memory.\n\nI'm also using this library as an excuse to learn C++ better and improve my ability to write good C++ code.\n\n### License\n\nThis project is licensed under the MIT license. CoreOSC is also licensed under the MIT license.\n\n---\n\n# Example\n\n```cpp\n#include \u003ciostream\u003e\n\n#include \"hekky-osc.hpp\"\n\nint main()\n{\n    // Open a UDP socket, pointing to localhost on port 9000\n    auto udpSender = hekky::osc::UdpSender(\"127.0.0.1\", 9000, 9001);\n\n    auto message = hekky::osc::OscMessage(\"/osc/test/int32\");\n    message.Push(12);\n    udpSender.Send(message);\n\n    auto message2 = hekky::osc::OscMessage(\"/osc/test/double\");\n    message2.Push(3.14159265358979323846264338327950288419716939937510);\n    udpSender.Send(message2);\n\n    auto message3 = hekky::osc::OscMessage(\"/osc/test/int64\");\n    message3.Push(2345678890123456789LL);\n    message3.Push(80LL);\n    udpSender.Send(message3);\n\n    auto message4 = hekky::osc::OscMessage(\"/osc/test/string\");\n    message4.Push(\"Hello World!\");\n    udpSender.Send(message4);\n\n    auto serialPacking = hekky::osc::OscMessage(\"/osc/vector/float32\");\n    serialPacking.Push(1.4142135624f); // sqrt(2)\n    serialPacking.Push(3.1415926536f); // pi\n    serialPacking.Push(2.7182818285f); // e\n    udpSender.Send(serialPacking);\n\n    // Alternatively, you can encode the same message like this:\n    auto chainPacking = hekky::osc::OscMessage(\"/osc/vector/float32\");\n    chainPacking.Push(1.4142135624f).Push(3.1415926536f).Push(2.7182818285f);\n    udpSender.Send(chainPacking);\n\n    // Closing it manually isn't needed, it gets closed via the destructor automatically!\n    // udpSender.Close();\n\n    std::cout \u003c\u003c \"Done!\\n\";\n}\n```\n\n## Supported platforms\n\n| Platform | Supported |\n| -------- | --------- |\n| Windows  | ✅         |\n| MacOS    | ❌         |\n| Linux    | ❌         |\n\n## Goal\n\nThis library aims to provide a simple and easy to use API for using OSC. It aims to conform to the entire OSC 1.0 specification. (Not yet achieved)\n\n| Feature                                         | Supported |\n| ----------------------------------------------- | --------- |\n| Sending OSC messages                            | ✅         |\n| Receiving OSC messages                          | ❌         |\n| Sending primitive data types (int, float, etc.) | ✅         |\n| 32-bit RGBA color                               | ❌         |\n| OSC Timetag                                     | ❌         |\n| MIDI                                            | ❌         |\n| Null                                            | ❌         |\n| Arrays                                          | ❌         |\n| Bundles                                         | ❌         |\n| ASCII Character                                 | ❌         |\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhyblocker%2Fhekky-osc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhyblocker%2Fhekky-osc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhyblocker%2Fhekky-osc/lists"}