Git Product home page Git Product logo

nightingale's Introduction

Nightingale

An audio provider node based on Songbird

Nightingale does not aim to replace Lavalink, instead it aims to be another option as lightweight and as feature rich as possible, so users can choose the one that fits their needs better.

Features

  • Powered by Songbird
  • Minimal resource consumption
  • Nightingale can play from any source supported by yt-dlp
  • WebSocket gateway for event-related communication
  • REST API for controlling Nightingale players and connections such as changing volume, and more...
  • Password authentication
  • In-server queue management
  • IP Whitelisting

Roadmap

  • Allow forcing tracks to play at arrival
  • Playback seeking route
  • Playback skip route
  • Player information route
  • Clear queue route
  • System information such as CPU and Memory usage
  • Prometheus Metrics
  • Allow writing logs to file
  • Routes for searching from different sources (only youtube supported right now)
  • Allow adding playlists directly

Usage

Nightingale requires a nightingale.toml configuration file, which has the following structure:

[server]
address = "127.0.0.1"
port = 8081
password = "mypassword"

[logging]
enable = true
level = "info"

Note

Types marked as ? mean are not required but optional

Server

Field Data type Explanation Example
address String The IP address the server will listen on 127.0.0.1
or
"[::1]"
port Integer The port the server will listen on 8080
password String The password used to authenticate on Nightingale routes mypassword
http2 Boolean? (default false) Whether if nightingale should use Http2 false
ssl SSlOptions? (default null) Options for nightingale to use SSL <Empty>
filter_ips IpFilter? (default null) Options to filter IPs that interact with Nightingale <Empty>

SSlOptions

Field Data type Explanation Example
cert_path String The path to the SSl certificate certs/cert.pem
key_path String The path to the key of the certificate certs/key.pem

IpFilter

Field Data type Explanation Example
v4 Ip/Mask (CIDR notation) The v4 IPs allowed to connect to the server 192.168.0.0/24
v6 Ip/Mask (CIDR notation) The v6 IPs allowed to connect to the server fd00::/32

Logging

Field Data type Explanation Example
enable Boolean Whether to enable logging or not true
level LoggingLevel? (defaults info) The level of logging to use info

LoggingLevel consists of 5 options: error, warn, info, debug and trace. Ordered from more to less critical.

nightingale's People

Contributors

alvaroms25 avatar

Stargazers

Munish Khatri avatar KagChi avatar  avatar

Watchers

 avatar

Forkers

munishkhatri720

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.