Quaver-Web is in an experimental state. Unless you have good reason to, you should not be using it, especially in conjunction with a public instance of Quaver.
Please proceed with caution. If you need help, getting it started regardless, feel free to ask your question in the Discord server above.
Quaver-Web requires a functional instance of Quaver to work.
Ensure your Quaver configuration includes the following:
"features": {
"web": {
"enabled": true,
"port": 3000,
"allowedOrigins": [
"http://localhost"
],
"encryptionKey": "Type an encryption key here",
"https": {
"enabled": false,
"key": "key.pem",
"cert": "cert.pem"
},
"dashboardURL": "http://example.com"
}
}
Please modify the configuration as necessary. You may refer to Quaver Configuration Guide for more information.
- Clone the repository and run
npm install
to install dependencies. - Create a
.env
file in the root directory of the project and add the following:
PUBLIC_WEBSOCKET_HOST=http://localhost:3000
PUBLIC_DISCORD_CLIENT_ID=123456789012345678
PUBLIC_SUPPORT_SERVER=http://discord.gg/
PUBLIC_PREMIUM_URL=http://example.com/premium
PRIVATE_SECURE=false
Note:
PRIVATE_SECURE
must be set tofalse
if you are running Quaver-Web on HTTP instead of HTTPS.
- Run
npm run build
to build the project. - Run
npm run preview
to start the preview server. (default port is 4173) - Navigate to
http://localhost:4173
to view the dashboard.