Skip to content
This repository has been archived by the owner on Jun 22, 2023. It is now read-only.

Hosting Lavalink on Replit has never been easier than before. Just click on run then you’re done.

License

Notifications You must be signed in to change notification settings

kajise/lavalink-replit

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

83 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

[1]  You are viewing the stable branch, this branch will use a stable version
     of Lavalink if the main branch throws an error while getting the latest version.

[2]  Version 1.1.1 Updates (version built on July 19, 2022):
     + Update lavaplayer (add missing libmpg123 DLL for windows x86-64)

⚠️ FORKER'S MESSAGE

This repository is originally from DarrenOfficial, we just decided to alter the code to use a different Lavalink build.

The original repository uses DarrenOfficial's Lavalink release, while this fork uses davidffa's release.
DavidFFA's release has support for Getyarn, Reddit, Yandex Music, and TikTok support.

If you're also planning to host this Lavalink instance on Railway, don't.
The reason is that, stream ripping websites aren't allowed on their networks and will ban your account if you do it.

A Railway helper responded to someone trying to host a Lavalink server:
You're violating Railway's TOS by re-hosting DMCA protected content

Also if you want the latest update of your Lavalink client, delete your current Lavalink.jar
It will download a fresh and updated one but your application.yml will remain unchanged.
Here's a list of released versions if you want to stay updated.

ℹ Installation

Fork this github repository. then create a new replit project.
or click me to install it automatically.

How to use

* Run the replit
* copy the replit url and put it to your bot
⚠ Make sure you remove `https://` and always connect with the port 443 

Ignore authentication fail from 172.X.X.X

It's normal, especially when you ping it with UptimeRobot or Freshworks.
it might show multiple times when you refresh the repl.it window.

\

Example bot config

botconfreplit
Test bot from https://github.com/SudhanPlayz/Discord-MusicBot


Note & such

The default port to connect is 443 and the default password is youshallnotpass
You can’t change the lavalink port since replit makes it a default PORT to receive connections from.

How to keep the replit on with freshping

Go to freshping, and set HTTP request to your app I.e. https://lavalink-replit.sexsells.repl.co/metrics and it should show that it's online. if it's show offline, go to your application.yml and make sure metrics is set to on

freshpingisbetterthanuptimerobot


These are only mandatory if the Run button doesn't work.

chmod +x start.sh
./start.sh

Additional info

The lavalink server is based on https://github.com/davidffa/lavalink and the download URL is always refreshed when a new GitHub release is pushed so everytime theres a new update it will auto grabs it from their repository.

About

Hosting Lavalink on Replit has never been easier than before. Just click on run then you’re done.

Topics

Resources

License

Stars

Watchers

Forks

Languages

  • JavaScript 80.7%
  • Shell 19.3%