Skip to content

scoegrams/hyperfy

 
 

Repository files navigation

Hyperfy ⚡️

Overview

Hyperfy Ecosystem

🧬 Features

  • Standalone persistent world
  • Host them on your own domain
  • Connect via Hyperfy for portable avatars
  • Realtime content creation in-world
  • Realtime coding in-world (for devs)
  • Fully interactive and interoperable app format
  • Highly extensible

🦹‍♀️ Use Cases

  • Live events
  • Storefronts
  • Podcasts
  • Gaming
  • Social

🚀 Quick Start

Prerequisites

  • Node 22.11.0+ (eg via nvm)

Install

git clone https://github.com/hyperfy-xyz/hyperfy.git my-world
cd my-world
cp .env.example .env
npm install
npm run dev

🌱 Alpha

This project is still in alpha as we transition all of our reference platform code into fully self hostable worlds. Most features are already here in this repo but still need to be connected up to work with self hosting in mind. Note that APIs are highly likely to change during this time.

🐳 Docker Deployment

The project can be run using Docker. Make sure you have Docker installed on your system.

  1. Build the image and run the container:
docker build -t hyperfydemo . && docker run -d -p 3000:3000 \
  -v "$(pwd)/src:/app/src" \
  -v "$(pwd)/world:/app/world" \
  -v "$(pwd)/.env:/app/.env" \
  -e DOMAIN=demo.hyperfy.host \
  -e PORT=3000 \
  -e ASSETS_DIR=/world/assets \
  -e PUBLIC_WS_URL=https://demo.hyperfy.host/ws \
  -e PUBLIC_API_URL=https://demo.hyperfy.host/api \
  -e PUBLIC_ASSETS_URL=https://demo.hyperfy.host/assets \
  hyperfydemo

This command:

  • Builds the Docker image tagged as 'hyperfydemo'
  • Mounts local src/, world/ directories and .env file into the container
  • Exposes port 3000
  • Sets up required environment variables
  • Runs the container in detached mode (-d)

Note: Adjust the URLs and domain according to your specific setup.

About

No description, website, or topics provided.

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 99.9%
  • Other 0.1%