marci4 / ps2alert-websocket-dev

Websocket server which subscribes to Census and collects data. Also distributes data to the website.

Home Page:https://ps2alerts.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ps2alerts/websocket

The websocket collection script that powers PS2Alerts.com.

THIS PROJECT IS UNDERGOING A VAST RE-REWITE. If you wish to contribute, please join our Discord located at: https://discord.gg/7xF65ap

Preface

I'm fully aware that the websocket code is not well structured in the slightest. This project started when I had very little experience with JavaScript and I've simply never had the time to reformat it or restructure it. I've also not fully understood the concept behind NodeJS modules as of yet.

Installation

You will need the following technologies to run this application:

  • MySQL / MariaDB (SQL Structure dump provided)
  • NodeJS
  • NPM

When you clone the rep, you'll need to run the following NPM command to acquire the modules required to run the Websocket Server:

npm install ws mysql clone cli-color time usage

Todos

  • Strip out ServerSmash related code into either it's own branch or file.
  • Code Cleanup

About

Websocket server which subscribes to Census and collects data. Also distributes data to the website.

https://ps2alerts.com

License:GNU General Public License v3.0


Languages

Language:JavaScript 99.8%Language:Dockerfile 0.1%Language:Shell 0.1%