{"id":18450009,"url":"https://github.com/networked-aframe/naf-uws-adapter","last_synced_at":"2025-04-08T01:33:15.309Z","repository":{"id":90087262,"uuid":"108331563","full_name":"networked-aframe/naf-uws-adapter","owner":"networked-aframe","description":"ARCHIVED uws Networked-Aframe adapter. A more recent version is in the networked-aframe repository.","archived":true,"fork":false,"pushed_at":"2018-11-30T05:55:42.000Z","size":51,"stargazers_count":2,"open_issues_count":2,"forks_count":4,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-22T14:37:37.810Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/networked-aframe.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":"2017-10-25T22:09:23.000Z","updated_at":"2024-12-14T15:05:25.000Z","dependencies_parsed_at":"2023-03-02T23:00:15.009Z","dependency_job_id":null,"html_url":"https://github.com/networked-aframe/naf-uws-adapter","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/networked-aframe%2Fnaf-uws-adapter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/networked-aframe%2Fnaf-uws-adapter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/networked-aframe%2Fnaf-uws-adapter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/networked-aframe%2Fnaf-uws-adapter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/networked-aframe","download_url":"https://codeload.github.com/networked-aframe/naf-uws-adapter/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247760845,"owners_count":20991531,"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":[],"created_at":"2024-11-06T07:23:05.254Z","updated_at":"2025-04-08T01:33:15.304Z","avatar_url":"https://github.com/networked-aframe.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Networked-AFrame µWS Adapter\n\nNetwork adapter for [networked-aframe](https://github.com/networked-aframe/networked-aframe) that uses uws as a backend.\n\n## Running the Example\n\n```\ngit clone https://github.com/networked-aframe/naf-uws-adapter\ncd naf-uws-adapter\nnpm install # or use yarn\nnpm run dev # Start the local development server\n```\n\nWith the server running, browse the example at http://localhost:8080. Open another browser tab and point it to the same URL to see the other client.\n\n### Running on Glitch.com\n\n[![Remix on Glitch](https://cdn.glitch.com/2703baf2-b643-4da7-ab91-7ee2a2d00b5b%2Fremix-button.svg)](https://glitch.com/edit/#!/remix/naf-uws-adapter)\n\n### Running your own server\n\nYou can deploy the included websocket server to Heroku using the button below.\n\n[![Deploy](https://www.herokucdn.com/deploy/button.svg)](https://heroku.com/deploy)\n\nThen include and configure `naf-uws-adapter`.\n\n```html\n\u003chtml\u003e\n\u003chead\u003e\n  \u003cscript src=\"https://aframe.io/releases/0.7.0/aframe.min.js\"\u003e\u003c/script\u003e\n  \u003cscript src=\"https://unpkg.com/networked-aframe/dist/networked-aframe.min.js\"\u003e\u003c/script\u003e\n  \u003c!-- Include naf-uws-adapter *after* networked-aframe --\u003e\n  \u003cscript src=\"https://unpkg.com/naf-uws-adapter/dist/naf-uws-adapter.min.js\"\u003e\u003c/script\u003e \n\u003c/head\u003e\n\u003cbody\u003e\n    \u003c!-- Set adapter to uws and serverURL to the url of your Heroku server. --\u003e\n   \u003ca-scene networked-scene=\"\n        adapter: uws;\n        serverURL: ws://localhost:8080;\n    \"\u003e\n  \u003c/a-scene\u003e\n\u003c/body\u003e\n\u003c/html\u003e\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnetworked-aframe%2Fnaf-uws-adapter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnetworked-aframe%2Fnaf-uws-adapter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnetworked-aframe%2Fnaf-uws-adapter/lists"}