unavi
所属分类:以太坊
开发工具:TypeScript
文件大小:5251KB
下载次数:0
上传日期:2023-05-29 21:51:17
上 传 者:
sh-1993
说明: 一个开放和去中心化的基于网络的元宇宙平台。
(An open and decentralized web-based metaverse platform.)
文件列表:
.changeset (0, 2023-06-13)
.changeset\config.json (330, 2023-06-13)
.dockerignore (322, 2023-06-13)
.eslintrc (114, 2023-06-13)
.prettierignore (577, 2023-06-13)
.prettierrc (96, 2023-06-13)
LICENSE (34888, 2023-06-13)
apps (0, 2023-06-13)
apps\client (0, 2023-06-13)
apps\client\.env (885, 2023-06-13)
apps\client\.eslintrc (261, 2023-06-13)
apps\client\CHANGELOG.md (3592, 2023-06-13)
apps\client\Dockerfile (1867, 2023-06-13)
apps\client\app (0, 2023-06-13)
apps\client\app\(navbar) (0, 2023-06-13)
apps\client\app\(navbar)\AccountButton.tsx (613, 2023-06-13)
apps\client\app\(navbar)\NavbarTab.tsx (591, 2023-06-13)
apps\client\app\(navbar)\PlayerCount.tsx (794, 2023-06-13)
apps\client\app\(navbar)\ProfileButton.tsx (824, 2023-06-13)
apps\client\app\(navbar)\ProfileMenu.tsx (1086, 2023-06-13)
apps\client\app\(navbar)\RainbowkitAuthProvider.tsx (1873, 2023-06-13)
apps\client\app\(navbar)\RainbowkitWrapper.tsx (818, 2023-06-13)
apps\client\app\(navbar)\Search.tsx (778, 2023-06-13)
... ...
UNAVI
An open and decentralized web-based metaverse platform.
## ” Features
- Built upon open standards, using the [Wired Protocol](https://github.com/wired-protocol/spec)
- Open backend, anyone can run their own servers
- Custom multi-threaded, [glTF](https://github.com/KhronosGroup/glTF)-based game engine
- [VRM](https://vrm.dev/) avatar support
- Visual editor for creating spaces
## “ What's inside?
This [turborepo](https://turborepo.org/) uses [pnpm](https://pnpm.io/) as a package manager. It includes the following apps / packages:
### Apps
- [client](apps/client): the main website used to access UNAVI
- [host](apps/host): dockerized server for hosting spaces
### Packages
- [engine](packages/engine): a multi-threaded 3D game engine
- [eslint-config-custom](packages/eslint-config-custom): custom eslint config used throughout the repo
- [gltf-extensions](packages/gltf-extensions): glTF-Transform implementations of extensions used by the engine
- [react-client](packages/react-client): React components and hooks used by the client
- [tsconfig](packages/tsconfig): tsconfigs used throughout the repo
### Utilities
- [Changesets](https://github.com/changesets/changesets) for package versioning
- [ESLint](https://eslint.org/) for code linting
- [Prettier](https://prettier.io) for code formatting
- [TypeScript](https://www.typescriptlang.org/) for static type checking
## Docker
The client can be run locally using Docker. To do so, run the following command:
```bash
pnpm docker:prod
```
This will start the client on port 3000. You can then access it at [http://localhost:3000](http://localhost:3000).
To stop the client, run the following command:
```bash
pnpm docker:stop
```
## Development
### Install
To install all apps and packages, run the following command:
```bash
pnpm install
```
> If you run into issues installing, it's probably mediasoup. Follow the steps on their [installation guide](https://mediasoup.org/documentation/v3/mediasoup/installation/) to get it to work (pay attention to the versions very carefully). Mediasoup tends to be easier to install on Linux, so if you're on Windows, consider using [Windows Subsystem for Linux (WSL)](https://docs.microsoft.com/en-us/windows/wsl/install).
### Build
To build all apps and packages, run the following command:
```bash
pnpm build
```
### Develop
To work on the client, you will need to use Docker to run services it relies on (such as the database). To do so, run the following command:
```bash
pnpm docker:dev
```
If you don't need that, you can run all apps and packages in development mode using the following command:
```bash
pnpm dev
```
近期下载者:
相关文件:
收藏者: