Skip to content

LiloLookup/Lilo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

48 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Welcome to Lilo 💻

Navigation

    › What is Lilo?
    › Deploying
    › Using Nginx as a Reverse Proxy
    › Special thanks

› What is Lilo?

Lilo keeps track of Minecraft: Java Edition servers by pinging them in a specific time-range and saving the response results. Lilo also detects if a server went down or is just experiencing packet losses and sends those warnings through a Discord Webhook. There's also a web interface available running on port 3000 which you can use to index a server by typing the address into the search bar. From there you can also see all the statistics Lilo scraped from the server.

› Deploying

Node.js & a Node.js package manager, that's it!
  1. Run the install command from your favorite package manager (e.g. npm i, pnpm i, bun i)
  2. Run ts-node -r tsconfig-paths/register apps/lilo/src/index.ts You can also run it detached with `screen`, pm2, etc..
  3. Enjoy using Lilo :)
Soon, Lilo will switch over to bun, a fast all-in-one JavaScript runtime, as soon as DNS/TLS support is available.

› Using Nginx as a Reverse Proxy

Add this entry to your Nginx hosts/sites config (e.g. /etc/nginx/sites-enabled/default:
server {
    listen 80;
    server_name lilo.company.com; # Must match with "LILO_HOST" from your .env file
    location / {
        proxy_pass http://localhost:3000; # Must match with "LILO_PORT"
        proxy_http_version 1.1;
        proxy_set_header Upgrade $http_upgrade;
        proxy_set_header Connection "upgrade";
        proxy_set_header Host $host;
    }
}
After you have added this entry and modified it with the correct values, you can reload/restart your Nginx server. Lilo should now be available on your specified address.

› Special thanks to...

@unordentlich for the wonderful CSS & general contribution
@DevMoritz for the auto update feature
@Duckulus for the main idea
@l3nnartt for awesome feedback regarding features & their implementations as well as ideas

About

Quick Minecraft Server Lookup & Analytics 🧱

Topics

Resources

License

Security policy

Stars

Watchers

Forks

Contributors 3

  •  
  •  
  •