Skip to content

🏡 Metaverse Workplace with fully Geo-distributed edge architecture

License

Notifications You must be signed in to change notification settings

yomorun/metaverse-workplace-cloudflare-frontend

Repository files navigation

A Metaverse Workplace deployed on the edge

Open https://yona.pink to try out fully geo-distributed edge architecture open-sourced metaverse workplace.

image

Architecture

Development

First, build Next.js project by

npm run export

Then, start Cloudflare Pages local dev:

npx wrangler pages dev ./out --binding NEXT_PUBLIC_AGORA_APP_ID={AGORA_APP_ID} \
NEXT_AGORA_APP_CERTIFICATE={YOUR_AGORA_APP_CERTIFICATE} \
NEXT_PUBLIC_RTCTOKENKEY=RTCTOKEN

Deploy on Cloudflare

There are four Environment Variables need to be added on Cloudflare Pages:

  • NEXT_PUBLIC_AGORA_APP_ID
  • NEXT_AGORA_APP_CERTIFICATE
  • NEXT_PUBLIC_RTCTOKENKEY
  • NODE_VERSION

image

About

🏡 Metaverse Workplace with fully Geo-distributed edge architecture

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published