||2 months ago|
|flag||3 months ago|
|COMIC.TTF||3 months ago|
|LICENSE.txt||5 months ago|
|README.md||3 months ago|
|banner.php||3 months ago|
|bg.png||3 months ago|
|buddy.png||3 months ago|
|buddy_alone.png||3 months ago|
|list.json||3 months ago|
|mumble-ping.php||2 months ago|
|mumble-scrape.php||3 months ago|
|mumble.php||3 months ago|
Mumble ping API
A simple PHP module to ping mumble serbers.
How to install
- Run this thing:
git clone https://git.lolcat.ca/lolcat/mumble-ping/
- Download the latest release of geoip2.phar: https://github.com/maxmind/GeoIP2-php/releases
- Sign up for maxmind's bullshit site and get the country GeoLite2 .mmdb file
- Make sure curl is installed.
sudo apt install curl php-curlshould set everything up.
- Drop all the shit you downloaded in the root of this repo
Now, just drop all of that crap inside a webserber that supports PHP and access the mumble.php file. Don't forget to make mumble-scrape inaccessible!
To be able to show users the serber name and website, you need to scrape the official mumble serber list using mumble-scrape.php. This repo comes with a pre-compiled list.json, but it is probably outdated. Use
screen and run mumble-scrape.php in the background. By default, it gets a list of all serbers every 24 hours and resolves the DNS for all domains!
or for banners:
So yeah, the port is optional. IPs and port is sanitized.
Try it out