Quaver-Web Svelte Themes

Quaver Web

Web dashboard add-on for Quaver.

Quaver-Web

Web dashboard add-on for Quaver.

Discord

⚠️ Warning

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.

🚀 Getting Started

Prerequisites

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.

Setup

  1. Clone the repository and run npm install to install dependencies.
  2. 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 to false if you are running Quaver-Web on HTTP instead of HTTPS.

  1. Run npm run build to build the project.
  2. Run npm run preview to start the preview server. (default port is 4173)
  3. Navigate to http://localhost:4173 to view the dashboard.

Top categories

Loading Svelte Themes