{"id":18914688,"url":"https://github.com/helium/ebus","last_synced_at":"2025-04-15T08:31:32.318Z","repository":{"id":43253894,"uuid":"143796630","full_name":"helium/ebus","owner":"helium","description":"An Erlang binding to libdbus","archived":false,"fork":false,"pushed_at":"2022-07-20T11:22:52.000Z","size":2411,"stargazers_count":13,"open_issues_count":1,"forks_count":5,"subscribers_count":26,"default_branch":"master","last_synced_at":"2025-03-28T18:55:16.794Z","etag":null,"topics":["dbus","erlang"],"latest_commit_sha":null,"homepage":null,"language":"Erlang","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/helium.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-08-07T00:10:46.000Z","updated_at":"2025-03-13T04:29:50.000Z","dependencies_parsed_at":"2022-09-03T01:50:18.051Z","dependency_job_id":null,"html_url":"https://github.com/helium/ebus","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/helium%2Febus","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/helium%2Febus/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/helium%2Febus/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/helium%2Febus/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/helium","download_url":"https://codeload.github.com/helium/ebus/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249035559,"owners_count":21202112,"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":["dbus","erlang"],"created_at":"2024-11-08T10:12:28.968Z","updated_at":"2025-04-15T08:31:32.043Z","avatar_url":"https://github.com/helium.png","language":"Erlang","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Travis][travis badge]][travis]\n[![Hex.pm Version][hex version badge]][hex]\n[![License][license badge]][license]\n[![Erlang Versions][erlang version badge]][erlang]\n[![Build Tool][build tool]][rebar]\n\n# ebus\n\n\nThe `ebus` library provides an Erlang binding for the canonical\n[libdbus](https://cgit.freedesktop.org/dbus/dbus/) IPC mechanism.\n\n\n  * [Features](#features)\n  * [Install](#install)\n  * [Examples](#examples)\n  * [Building](#building)\n\n\n## Features\n\n  * A native binding to libdbus\n  * A callback based service implemenatation scaffold to make it easy\n    to implement a dbus service\n  * A proxy object to make it easy to call a dbus service\n\n## Install\n\nAdd `ebus` to your `deps` section in `rebar.config`:\n\n``` shell\n{deps, [ebus]}.\n```\n\n## Examples\n\nHere's an example of talking to [connman] to get the current list of\nconnectivity related technologies:\n\n```erlang\nEshell V10.1  (abort with ^G)E\n1\u003e  {ok, B} = ebus:start(system).\n{ok,\u003c0.221.0\u003e}\n2\u003e  {ok, P} = ebus_proxy:start(B, \"net.connman\", \"/\", []).\n{ok,\u003c0.224.0\u003e}\n3\u003e ebus_proxy:call(P, \"net.connman.Manager.GetTechnologies\").\n{ok,[[{\"/net/connman/technology/p2p\",\n       #{\"Connected\" =\u003e false,\"Name\" =\u003e \"P2P\",\"Powered\" =\u003e false,\n         \"Tethering\" =\u003e false,\"Type\" =\u003e \"p2p\"}},\n      {\"/net/connman/technology/ethernet\",\n       #{\"Connected\" =\u003e false,\"Name\" =\u003e \"Wired\",\"Powered\" =\u003e true,\n         \"Tethering\" =\u003e false,\"Type\" =\u003e \"ethernet\"}},\n      {\"/net/connman/technology/wifi\",\n       #{\"Connected\" =\u003e true,\"Name\" =\u003e \"WiFi\",\"Powered\" =\u003e true,\n         \"Tethering\" =\u003e false,\"Type\" =\u003e \"wifi\"}},\n      {\"/net/connman/technology/bluetooth\",\n       #{\"Connected\" =\u003e false,\"Name\" =\u003e \"Bluetooth\",\n         \"Powered\" =\u003e false,\"Tethering\" =\u003e false,\n         \"Type\" =\u003e \"bluetooth\"}}]]}\n```\n\n## Building\n\nFork the repo and simply use `make` to build the library. You will\nneed the `libdbus` development libraries and headers installed on your\nsystem.\n\nTo run the tests run `make test`.\n\n\n\u003c!-- Badges --\u003e\n[travis]: https://travis-ci.com/helium/ebus\n[travis badge]: https://img.shields.io/travis/com/helium/ebus/master.svg?style=flat-square\n[hex]: https://hex.pm/packages/ebus\n[license]: https://github.com/helium/ebus/blob/master/LICENSE\n[license badge]: https://img.shields.io/github/license/helium/ebus.svg\n[hex version badge]: https://img.shields.io/hexpm/v/ebus.svg?style=flat-square\n[erlang version badge]: https://img.shields.io/badge/erlang-21.1-blue.svg?style=flat-square\n[build tool]: https://img.shields.io/badge/build%20tool-rebar3-orange.svg?style=flat-square\n\n\u003c!-- Links --\u003e\n[connman]: https://01.org/connman\n[rebar]: http://rebar3.org\n[erlang]: http://erlang.org\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhelium%2Febus","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhelium%2Febus","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhelium%2Febus/lists"}