{"id":20770748,"url":"https://github.com/ably/protocol-demo","last_synced_at":"2026-02-04T09:48:15.376Z","repository":{"id":150054219,"uuid":"358627297","full_name":"ably/protocol-demo","owner":"ably","description":null,"archived":false,"fork":false,"pushed_at":"2024-06-18T05:22:29.000Z","size":56,"stargazers_count":2,"open_issues_count":1,"forks_count":1,"subscribers_count":23,"default_branch":"main","last_synced_at":"2025-05-18T01:36:54.275Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/ably.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-04-16T14:33:43.000Z","updated_at":"2022-03-18T01:00:23.000Z","dependencies_parsed_at":"2025-01-18T07:10:20.965Z","dependency_job_id":"2fac940f-8335-45ef-a696-97d995df5935","html_url":"https://github.com/ably/protocol-demo","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ably/protocol-demo","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ably%2Fprotocol-demo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ably%2Fprotocol-demo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ably%2Fprotocol-demo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ably%2Fprotocol-demo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ably","download_url":"https://codeload.github.com/ably/protocol-demo/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ably%2Fprotocol-demo/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266732587,"owners_count":23976059,"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-07-23T02:00:09.312Z","response_time":66,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"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":[],"created_at":"2024-11-17T12:11:44.908Z","updated_at":"2026-02-04T09:48:15.370Z","avatar_url":"https://github.com/ably.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Ably Realtime Protocol Demo\n\n## Introduction\n\nThe code in this repository was presented by [Owen Pearson](https://github.com/owenpearson) during the Ably Summit week in April 2021 under the title \"Using NodeJS to integrate directly with the Ably realtime service\", then presented again the following week under the title \"Exploring the Ably Protocol\".\n\nDuring Owen's summit presentation he started off by doing some initial exploration of the basics of connecting to the Realtime service using the [websocat](https://github.com/vi/websocat) command-line tool, demonstrating the basics of creating a secure WebSocket connection to the service and presenting an Ably API `key` via the URL query parameter.\n\nFollowing on from that he then moved to Node.js to build out this codebase from scaffolding he had already put in place.\n\n## Running locally\n\nTo run locally you need NodeJS installed, it should work on all the current LTS versions of Node.\n\nTo install the dependencies run `npm install` inside the project directory.\n\nThe app needs the `ABLY_API_KEY` environment variable to be set to run. For convenience you can use place a `.env` file in the root of this project with `ABLY_API_KEY=yourkey`.\n\nTo install the app to your global `PATH` run `npm link` inside the project and then you can run the app with the `ably-cli` command. You can change the name of the command in the `bin` section of `package.json` if you want it to be called something else. If you are using a version manager such as `asdf` you may also need to reshim for this to work.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fably%2Fprotocol-demo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fably%2Fprotocol-demo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fably%2Fprotocol-demo/lists"}