This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* global performance THREE AFRAME NAF MediaStream setTimeout */ | |
import configs from "../utils/configs"; | |
import GIFWorker from "../workers/gifparsing.worker.js"; | |
import errorImageSrc from "!!url-loader!../assets/images/media-error.gif"; | |
import audioIcon from "../assets/images/audio.png"; | |
import { paths } from "../systems/userinput/paths"; | |
import HLS from "hls.js"; | |
import { MediaPlayer } from "dashjs"; | |
import { addAndArrangeMedia, createImageTexture, createBasisTexture } from "../utils/media-utils"; | |
import { proxiedUrlFor } from "../utils/media-url-utils"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { | |
VideoTexture, | |
LinearFilter, | |
sRGBEncoding, | |
PlaneBufferGeometry, | |
MeshBasicMaterial, | |
DoubleSide, | |
Mesh, | |
SphereBufferGeometry, | |
RGBAFormat |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { createReadStream, readFileSync, existsSync, unlinkSync } from "fs"; | |
import { exec } from "child_process"; | |
import rmdir from "rimraf"; | |
import tar from "tar"; | |
import ora from "ora"; | |
import FormData from "form-data"; | |
import fetch from "node-fetch"; | |
if (!existsSync(".ret.credentials")) { | |
console.log("Not logged in, so cannot deploy. To log in, run yarn run login."); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import readline from "readline"; | |
import { connectToReticulum } from "../src/utils/phoenix-utils"; | |
import Store from "../src/storage/store"; | |
import AuthChannel from "../src/utils/auth-channel"; | |
import configs from "../src/utils/configs.js"; | |
import { Socket } from "phoenix-channels"; | |
import { writeFileSync } from "fs"; | |
const rl = readline.createInterface({ input: process.stdin, output: process.stdout }); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": "hubs", | |
"version": "0.0.1", | |
"description": "Duck-themed multi-user virtual spaces in WebVR.", | |
"main": "src/index.js", | |
"license": "MPL-2.0", | |
"homepage": "https://github.com/mozilla/hubs#readme", | |
"repository": { | |
"type": "git", | |
"url": "https://github.com/mozilla/hubs.git" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: 2 | |
jobs: | |
build: | |
docker: | |
- image: circleci/node:10-browsers | |
working_directory: ~/repo | |
steps: | |
- checkout | |
- restore_cache: | |
keys: |