Duck-themed multi-user virtual spaces in WebVR. Built with A-Frame.
Перейти к файлу
Brandon Patterson 8b98f55868 wip 2023-08-29 14:26:19 -04:00
.github wip 2023-08-29 14:26:19 -04:00
.storybook remove storybook-addon-designs 2023-06-14 14:39:39 -04:00
.vscode Add some prettier defaults, cleanup vscode settings 2023-02-23 12:18:27 +01:00
admin Attempt with original package first 2023-06-15 14:43:00 -04:00
doc Remove generated docs 2022-12-03 18:56:25 -05:00
habitat Update node version in plan.sh to 16.16.0 2022-07-28 19:19:47 -07:00
scripts Merge pull request #5936 from mozilla/deploy-fix 2023-02-15 14:17:35 +01:00
src fix: hot key t now closes the chat sidebar when not in focus 2023-06-27 17:03:40 -04:00
test Update browserstack ie11 test to use /demo 2022-12-10 21:23:39 -08:00
types Remove unnecessary video property 2023-05-30 16:43:48 +02:00
.browserslistrc Move to .browserslistrc so it applies to webpack 2022-08-01 17:43:53 -07:00
.defaults.env Add hubs-upload-cdn.com to NON_CORS_PROXY_DOMAINS in .defaults.env 2022-07-28 22:29:53 -07:00
.eslintignore eslintignore + scripts/docker/turkey-swaps 2022-03-17 16:46:32 -04:00
.eslintrc.js Remove eslint rules to restore defaults 2022-11-28 12:37:58 -05:00
.gitignore Put blank line back 2023-06-15 14:43:45 -04:00
.htmlhintrc Upgrade some minor dependencies to shut up npm audit 2019-02-22 15:51:20 -08:00
.prettierignore fix themes in dev / fix action buttons theme when theme is default, add /scenes, /avatars, /link paths to dev / exclude basis_transcoder.worker.js from prettier 2022-06-16 13:22:50 +08:00
.prettierrc.json Add some prettier defaults, cleanup vscode settings 2023-02-23 12:18:27 +01:00
.stylelintrc Scale canvas 200% wide so no eye buffers on desktop 2018-11-04 18:09:30 +00:00
CODE_OF_CONDUCT.md Add Mozilla Code of Conduct file 2019-03-29 23:42:09 -07:00
CONTRIBUTING.md Update docs on node version in README/CONTRIBUTING 2022-08-02 17:08:59 -07:00
Jenkinsfile fixed error in jenkins build 2021-08-20 13:02:56 -07:00
LICENSE Initial Commit 2017-09-25 19:25:06 -07:00
PRIVACY.md Revert privacy and terms mds and link to the new location 2022-07-07 17:08:04 +02:00
PROMOTION.md Surface promotion, remixing and attribution 2019-05-14 14:18:51 -07:00
README.md Update README.md 2023-03-08 20:21:53 -05:00
REMIXING.md Update privacy policy and terms URLs 2022-07-07 16:20:27 +02:00
RetPageOriginDockerfile need to have legacy for react delta 2023-03-01 15:43:46 -08:00
SECURITY.md Create SECURITY.md 2022-04-20 12:51:08 -04:00
TERMS.md Revert privacy and terms mds and link to the new location 2022-07-07 17:08:04 +02:00
babel.config.js Remove duplicate exclude block 2022-09-01 13:49:13 -07:00
package-lock.json fix for emojis crash 2023-06-19 12:54:34 -04:00
package.json Merge pull request #6127 from mozilla/settings-and-emoji-bug-fix 2023-06-20 10:03:37 -04:00
retpack.sh fixes 2023-03-07 11:55:37 -05:00
themes.json Revert "Remove tool bar UI background" 2022-07-14 18:18:16 +02:00
tsconfig.json Use babel for ts and update/configure core-js 2022-08-23 17:59:20 -07:00
webpack.config.js remove logs 2023-05-23 15:10:55 -04:00

README.md

Mozilla Hubs

License: MPL 2.0 Build Status Discord

The client-side code for Mozilla Hubs, an online 3D collaboration platform that works for desktop, mobile, and VR platforms.

Learn more about Hubs

Getting Started

If you would like to run Hubs on your own servers, check out Hubs Cloud.

If you would like to deploy a custom client to your existing Hubs Cloud instance please refer to this guide.

If you would like to contribute to the main fork of the Hubs client please see the contributor guide.

If you just want to check out how Hubs works and make your own modifications continue on to our Quick Start Guide.

Quick Start

Install NodeJS if you haven't already. We use 16.16.0 on our build servers. If you work on multiple javascript projects it may be useful to use something like NVM to manage multiple versions of node for you.

Run the following commands:

git clone https://github.com/mozilla/hubs.git
cd hubs
# nvm use v16.16.0 # if using NVM
npm ci
npm run dev

The backend dev server is configured with CORS to only accept connections from "hubs.local:8080", so you will need to access it from that host. To do this, you likely want to add "hubs.local" and "hubs-proxy.local" to the local "hosts" file on your computer:

127.0.0.1	hubs.local
127.0.0.1	hubs-proxy.local

Then visit https://hubs.local:8080 (note: HTTPS is required, you'll need to accept the warning for the self-signed SSL certificate)

Note: When running the Hubs client locally, you will still connect to the development versions of our Janus WebRTC and reticulum servers. These servers do not allow being accessed outside of localhost. If you want to host your own Hubs servers, please check out Hubs Cloud.

Documentation

The Hubs documentation can be found here.

Community

Join us on our Discord Server or follow us on Twitter.

Contributing

Read our contributor guide to learn how you can submit bug reports, feature requests, and pull requests.

We're also looking for help with localization. The Hubs redesign has a lot of new text and we need help from people like you to translate it. Follow the localization docs to get started.

Contributors are expected to abide by the project's Code of Conduct and to be respectful of the project and people working on it.

Additional Resources

Privacy

Mozilla and Hubs believe that privacy is fundamental to a healthy internet. Read our privacy policy for more info.

License

Hubs is licensed with the Mozilla Public License 2.0