GithubHelp home page GithubHelp logo

yggverse / hlstate Goto Github PK

View Code? Open in Web Editor NEW
1.0 2.0 0.0 292 KB

Web Monitor for Half-Life Servers

License: MIT License

PHP 58.27% CSS 5.03% Twig 36.69%
half-life half-life-servers symfony web-catalog xash3d yggdrasil half-life-monitor half-life-registry half-life-stats js-less

hlstate's Introduction

HLState

Web monitor for Half-Life game servers based on Xash3D FWGS masters crawler.

Project initially written to explore Yggdrasil servers, but compatible with any other network

Features

  • Live scrape of each server for online status, active map, players total
  • Game session info: names, frags, time in game, etc
  • Subscription for online updates and players join to server with RSS
  • History keeping in SQLite DB for any charts building
  • New instances crawler based on multiple master nodes
  • Flexible environment settings

Examples

  • http://94.140.114.89/hl/ - Clearnet
  • http://[201:5eb5:f061:678e:7565:6338:c02c:5251]/hl/ - Yggdrasil
  • http://hl.ygg - Alfis DNS

Install

  • apt install git composer curl memcached php php-xml php-intl php-mbstring php-curl php-sqlite3 php-memcached
  • git clone https://github.com/YGGverse/HLState.git
  • cd HLState
  • composer install
  • php bin/console doctrine:migrations:migrate

Setup

  • chown -R www-data:www-data var
  • cp .env .env.local
  • crontab -e > * * * * * /usr/bin/curl --silent http://localhost/crontab/index &> /dev/null

Update

  • git pull
  • git merge
  • composer update
  • php bin/console doctrine:migrations:migrate
  • APP_ENV=prod APP_DEBUG=0 php bin/console cache:clear

Contribution

Please create new branch from main before make PR

  • git checkout main
  • git checkout -b 'new-commit-branch'

License

Versioning

Semantic Versioning 2.0.0

Components

Support

Blog

See also

hlstate's People

Contributors

d47081 avatar

Stargazers

 avatar

Watchers

 avatar  avatar

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.