Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Performant LavaLink alternative written with Node.Js

License

NotificationsYou must be signed in to change notification settings

PerformanC/NodeLink

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Performant LavaLink replacement written in Node.js.

Features

  • Lightweight
  • Real-time audio processing
  • Direct source access
  • Anonymous by default

Dependencies

Note

For most sources FFmpeg isn't required. It is currently required for timescale, seek and endTime filter. Required forlocal andhttp sources.

Note

Sodium libraries are only required if you useaead_xchacha20_poly1305_rtpsize encryption mode.

Note

Dependencies marked with an asterisk (*) are dependencies maintained by PerformanC or one of its members.

Installation

1. Clone the repository

$ git clone https://github.com/PerformanC/NodeLink$cd NodeLink

2. Install the dependencies

$ npm i

Note

If you want to use pure JavaScript, replacesodium-native withlibsodium-wrappers. Keep in mind that pure JavaScript will offer worse performance.

Note

If you are incapable of installingnode-libsamplerate or/and@flat/lame, remove its dependency frompackage.json and disablenativePlayback inconfig.js.

3. Run NodeLink

$ npm start

Using with Docker

For information on how to install NodeLink using Docker, seethe NodeLink Docker guide.

Usage

NodeLink is compatible with most LavaLink clients, as it implements most of the LavaLink API. However, some clients may not be compatible with NodeLink, as NodeLink implements changes in some behaviors and endpoints.

ClientPlatformv2 supported?NodeLink Features?NodeLink major version
Lavalink-ClientJVMYesNov1 and v2
Lavalink.ktKotlinNoNov1
DisGoLinkGoYesNov1 and v2
Lavalink.pyPythonYesNov1 and v2
MaficPythonYesNov1 and v2
WavelinkPythonYesNov1 and v2
PomicePythonYesNov1 and v2
Hikari-ongakuPythonYesNov1 and v2
Moonlink.jsTypescriptYesYesv1 and v2
MagmastreamTypescriptNoNov1
LavacordTypescriptYesNov1 and v2
ShoukakuTypescriptYesNov1 and v2
Lavalink-ClientTypescriptNoNov1
RainlinkTypescriptYesYesv1 and v2
PoruTypescriptYesYesv1 and v2
Blue.tsTypescriptNoNov1 and v2
FastLinkNode.jsYesYesv1 and v2
RiffyNode.jsYesNov1 and v2
TsumiLinkNode.jsYesYesv1 and v2
DisCatSharp.NETYesNov1 and v2
Lavalink4NET.NETYesNov1 and v2
Nomia.NETYesNov1 and v2
CogLinkCYesNov1 and v2
Lavalink-rsRust, PythonYesNov1 and v2
nyxx_lavalinkDartNoNov1

Important

Not supporting NodeLink v2often means that the client has a poor implementation of the LavaLink API, not strictly following the API formats, its field and defined purposes. The use of those clients is not recommended.

Note

The data is gotten fromLavaLink documentation, updated with manual checks.

Documentation

NodeLink onlydocuments the differences between LavaLink and NodeLink. For the rest of the documentation, please refer toLavaLink's documentation.

Troubleshoot

"Expected 200, received 403." error

In some regions like Europe, you may receive a 403 error when trying to connect to YouTube. The real reason is unknown, but The PerformanC team managed to create a proper workaround for this issue.

To fix this issue, you must login to your Google/YouTube account. The proccess of retrieving the neccessary information is explained inconfig.js file.

node: bad option: --openssl-legacy-provider

This error happens when you are using an outdated version of Node.js. To fix this issue, you must update your Node.js version to the latest version.

You can also remove the--openssl-legacy-provider flag from thepackage.json file if you wish to use an older version of Node.js.

Support

Any question or issue related to NodeLink or other PerformanC projects can be can be made inPerformanC's Discord server.

For verified issues, please also create a GitHub issue for tracking the issue.

Contributing & Code of Conduct

NodeLink follows the PerformanC'scontribution guidelines. It is necessary to follow the guidelines to contribute to NodeLink and other PerformanC projects.

License

NodeLink is licensed underBSD 2-Clause License. You can read more about it onOpen Source Initiative.


[8]ページ先頭

©2009-2025 Movatter.jp