{"id":30687646,"url":"https://github.com/query-farm/radio","last_synced_at":"2026-03-06T02:36:16.523Z","repository":{"id":296957636,"uuid":"985999404","full_name":"Query-farm/radio","owner":"Query-farm","description":"Radio is a DuckDB extension by Query.Farm that brings real-time event streams into your SQL workflows. It enables DuckDB to receive and send events over systems like WebSocket and Redis Pub/Sub.","archived":false,"fork":false,"pushed_at":"2025-06-12T22:08:40.000Z","size":260,"stargazers_count":14,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-12T23:23:57.553Z","etag":null,"topics":["duckdb","duckdb-extension","event-processing","events","redis","redis-pubsub","streaming","websocket","websocket-client","websockets"],"latest_commit_sha":null,"homepage":"https://query.farm/duckdb_extension_radio.html","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/Query-farm.png","metadata":{"files":{"readme":"docs/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,"zenodo":null}},"created_at":"2025-05-19T00:25:39.000Z","updated_at":"2025-06-12T22:08:43.000Z","dependencies_parsed_at":"2025-06-03T16:12:49.665Z","dependency_job_id":"7f9e2c0f-087c-4109-a139-35454ce73c5d","html_url":"https://github.com/Query-farm/radio","commit_stats":null,"previous_names":["query-farm/radio"],"tags_count":0,"template":false,"template_full_name":"duckdb/extension-template","purl":"pkg:github/Query-farm/radio","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Query-farm%2Fradio","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Query-farm%2Fradio/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Query-farm%2Fradio/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Query-farm%2Fradio/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Query-farm","download_url":"https://codeload.github.com/Query-farm/radio/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Query-farm%2Fradio/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273208777,"owners_count":25064204,"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-09-01T02:00:09.058Z","response_time":120,"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":["duckdb","duckdb-extension","event-processing","events","redis","redis-pubsub","streaming","websocket","websocket-client","websockets"],"created_at":"2025-09-02T00:03:48.826Z","updated_at":"2026-03-06T02:36:16.510Z","avatar_url":"https://github.com/Query-farm.png","language":"C++","readme":"# DuckDB Radio Extension\n\nThe **Radio** extension by **Query.Farm** enables DuckDB to interact seamlessly with real-time event systems such as WebSocket servers, message queues, and event buses. It allows DuckDB to both **receive** and **send** events: incoming messages are buffered and queryable with standard SQL, while outgoing events are also buffered and support delivery tracking.\n\nThe extension is named *Radio* because it effectively equips DuckDB with a two-way radio—allowing it to **listen for** and **broadcast** messages across event-driven systems.\n\n## Installation\n\n```sql\nINSTALL radio FROM community;\nLOAD radio;\n```\n\n# Documentation\n\nSee the [extension documentation](https://query.farm/duckdb_extension_radio.html).\n\n\n## Building\n### Managing dependencies\nDuckDB extensions uses VCPKG for dependency management. Enabling VCPKG is very simple: follow the [installation instructions](https://vcpkg.io/en/getting-started) or just run the following:\n```shell\ncd \u003cyour-working-dir-not-the-plugin-repo\u003e\ngit clone https://github.com/Microsoft/vcpkg.git\nsh ./vcpkg/scripts/bootstrap.sh -disableMetrics\nexport VCPKG_TOOLCHAIN_PATH=`pwd`/vcpkg/scripts/buildsystems/vcpkg.cmake\n```\nNote: VCPKG is only required for extensions that want to rely on it for dependency management. If you want to develop an extension without dependencies, or want to do your own dependency management, just skip this step. Note that the example extension uses VCPKG to build with a dependency for instructive purposes, so when skipping this step the build may not work without removing the dependency.\n\n### Build steps\nNow to build the extension, run:\n```sh\nmake\n```\nThe main binaries that will be built are:\n```sh\n./build/release/duckdb\n./build/release/test/unittest\n./build/release/extension/\u003cextension_name\u003e/\u003cextension_name\u003e.duckdb_extension\n```\n- `duckdb` is the binary for the duckdb shell with the extension code automatically loaded.\n- `unittest` is the test runner of duckdb. Again, the extension is already linked into the binary.\n- `\u003cextension_name\u003e.duckdb_extension` is the loadable binary as it would be distributed.\n\n### Tips for speedy builds\nDuckDB extensions currently rely on DuckDB's build system to provide easy testing and distributing. This does however come at the downside of requiring the template to build DuckDB and its unittest binary every time you build your extension. To mitigate this, we highly recommend installing [ccache](https://ccache.dev/) and [ninja](https://ninja-build.org/). This will ensure you only need to build core DuckDB once and allows for rapid rebuilds.\n\nTo build using ninja and ccache ensure both are installed and run:\n\n```sh\nGEN=ninja make\n```\n\n## Running the extension\nTo run the extension code, simply start the shell with `./build/release/duckdb`. This shell will have the extension pre-loaded.\n\n## Running the tests\nDifferent tests can be created for DuckDB extensions. The primary way of testing DuckDB extensions should be the SQL tests in `./test/sql`. These SQL tests can be run using:\n```sh\nmake test\n```\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fquery-farm%2Fradio","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fquery-farm%2Fradio","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fquery-farm%2Fradio/lists"}