A web application that serves as an entry point to the Decentraland virtual world. This application allows users to launch the Decentraland Explorer desktop client or download it if not installed.
-
World/Location Preview: Displays preview cards for Decentraland locations, including:
- Custom world previews (for
.ethdomains) - Genesis City location previews (for coordinates)
- Location images, titles, and descriptions
- Custom world previews (for
-
Desktop Client Integration:
- Direct launch of Decentraland Explorer using custom protocol (
decentraland://) - Automatic detection of installed desktop client
- Download option for users without the desktop client installed
- Direct launch of Decentraland Explorer using custom protocol (
-
Dynamic URL Parameters:
position: Coordinates in the format "x,y" (defaults to "0,0")realm: Specify a realm or world (defaults to "main")
- React
- TypeScript
- Material UI (via decentraland-ui2)
- React Router
- CSS Styled components
- Vite
- Install dependencies:
npm install- Run the development server:
npm run start- Build for production:
npm run buildThe application can be accessed with the following URL patterns:
-
For Genesis City locations:
/?position=x,y -
For custom worlds:
/?realm=worldname.eth
src/components/: React componentssrc/contexts/: React contextssrc/hooks/: React hookssrc/utils.ts: Utility functions for metadata fetching and desktop client integrationsrc/assets/: Static assets including images- Styling using
@emotion/styledcomponents
This project uses Vite as its build tool, providing:
- Hot Module Replacement (HMR)
- TypeScript support
- Fast development server
- Optimized production builds
Feel free to submit issues and enhancement requests.
This project is part of the Decentraland ecosystem.