Skip to content

HenGPlayZ/lavalink-status

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation


Lavalink-Status

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.

Notes

  • 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.

Features

  • 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.

Getting Started

Prerequisites

  • Node.js: Ensure you have Node.js installed on your system. You can download it from nodejs.org.

Installation

  1. Clone the repository:

    git clone https://github.com/HenGPlayZ/lavalink-status
    cd lavalink-status
  2. Install dependencies:

    npm install
  3. Start the Lavalink API and Website:

    node server.js

Accessing the Web Interface

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.

Preview

Contributing

Contributions are welcome! Feel free to submit a pull request or open an issue to discuss improvements or report bugs.

License

This project is licensed under the GNU General Public License v3.0. See the LICENSE file for more details.

Made with ❤️ by HenGPlayZ (Draxler)


About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published