This repository contains a custom Lavalink REST API server and a web interface to monitor Lavalink statistics. The API and the website are powered by Node.js, Express, and a simple frontend in the public
folder.
-
User Friendliness: This code is tailored to specific needs, so it may be a bit messy and not very user-friendly. It might require tweaks based on your environment.
-
Personal Use: I created this project for my own use and didn't plan to make it public. As a result, it’s a bit messy and not designed to be easily modified. I apologize for any inconvenience—I'm just a beginner.
-
Configuration: Lavalink API settings are centralized in
config.js
for easy modification or addition of instances.
- Lavalink API Integration: RESTful API endpoints for interacting with multiple Lavalink instances.
- Web Interface: Simple frontend for monitoring Lavalink stats like CPU usage, memory, and players.
- Lavalink Players Badge: Displays active player count at
http://localhost:3000/version/badge/connections
. - Real-Time Updates: Dynamic web interface updates via JavaScript.
- Node.js: Ensure you have Node.js installed on your system. You can download it from nodejs.org.
-
Clone the repository:
git clone https://github.com/HenGPlayZ/lavalink-status cd lavalink-status
-
Install dependencies:
npm install
-
Start the Lavalink API and Website:
node server.js
Once the server is running, you can access the web interface by navigating to http://localhost:3000
(or the port you have configured) in your web browser.
- Web Interface: https://status.lavalink.rocks
- Rest API: https://api.lavalink.rocks/v4
- Rest API: https://api.lavalink.rocks/v3
- connections badge:
- connections badge:
Contributions are welcome! Feel free to submit a pull request or open an issue to discuss improvements or report bugs.
This project is licensed under the GNU General Public License v3.0. See the LICENSE file for more details.
Made with ❤️ by HenGPlayZ (Draxler)