{"id":19592878,"url":"https://github.com/fauu/websocket-dbus-proxy","last_synced_at":"2025-09-09T07:34:22.716Z","repository":{"id":49633577,"uuid":"264965316","full_name":"fauu/websocket-dbus-proxy","owner":"fauu","description":"Creates a websocket server that forwards messages received through dbus","archived":false,"fork":false,"pushed_at":"2021-06-11T18:07:42.000Z","size":17,"stargazers_count":2,"open_issues_count":1,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-09T06:51:23.564Z","etag":null,"topics":["dbus","livesplit-one","speedrunning","websocket","websocket-server"],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/fauu.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-05-18T14:30:12.000Z","updated_at":"2021-12-22T21:52:47.000Z","dependencies_parsed_at":"2022-09-08T23:50:21.923Z","dependency_job_id":null,"html_url":"https://github.com/fauu/websocket-dbus-proxy","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/fauu%2Fwebsocket-dbus-proxy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fauu%2Fwebsocket-dbus-proxy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fauu%2Fwebsocket-dbus-proxy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fauu%2Fwebsocket-dbus-proxy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fauu","download_url":"https://codeload.github.com/fauu/websocket-dbus-proxy/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240867429,"owners_count":19870405,"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","livesplit-one","speedrunning","websocket","websocket-server"],"created_at":"2024-11-11T08:37:15.837Z","updated_at":"2025-02-26T14:16:05.161Z","avatar_url":"https://github.com/fauu.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# websocket-dbus-proxy\n\nCreates a websocket server that forwards messages received through dbus. Requires Python 3.\n\n## Example use-cases\n\nThe script was created to make possible controlling the [LiveSplit One](https://github.com/LiveSplit/LiveSplitOne) speedrunning timer, which is a web application, using global keyboard shortcuts.\n\n## Usage example\n\nThe following usage example is based on the particular use-case described above.\n\nFirst, clone the repository or download and unpack the source. Enter the directory.\n\nInstall dependencies, for example:\n\n````\n$ pip install -r requirements.txt\n````\n\nCreate a global keyboard shortcut that will send a dbus message to the script, containing a command recognizable by LiveSplit One. The following example binds the `space` key to the LiveSplit One command `splitorstart` in the i3 window manager configuration file:\n\n````\nbindsym space exec dbus-send --session --type=signal / com.github.fauu.websocket_dbus_proxy string:'splitorstart'\n````\n\nRun the script, specifying a port for the websocket server, for example:\n\n````\n$ python websocket-dbus-proxy.py 1111\n````\n\nThe script should report the address of the websocket server, for example:\n\n````\nWebsocket dbus proxy running at ws://localhost:1111…\n````\n\nOpen https://one.livesplit.org/.\n\nClick \"Connect to Server\" button.\n\nEnter the fully qualified websocket server address, in our example `ws://localhost:1111`.\n\nYou should now be able to start the timer or split it if it's already running using the `space` button, even with the browser window running LiveSplit One out of focus.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffauu%2Fwebsocket-dbus-proxy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffauu%2Fwebsocket-dbus-proxy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffauu%2Fwebsocket-dbus-proxy/lists"}