Giter VIP home page Giter VIP logo

bzlist / bzlist.net Goto Github PK

View Code? Open in Web Editor NEW
4.0 2.0 1.0 23.79 MB

Socket.io + React = (kind of) real-time server stats for BZFlag.

Home Page: https://bzlist.net/

License: MIT License

HTML 7.38% JavaScript 0.67% TypeScript 77.86% SCSS 14.09%
react reactjs web-app pwa bzlist bzflag stats livedata socket-io data-visualization lints single-page-app mobile-web mobile-friendly server-stats socket

bzlist.net's Introduction

BZList

GitHub license GitHub package.json version Build Status CD Netlify

Socket.io + React = (kind of) real-time server stats for BZFlag.

The app is running at bzlist.net. The origonal version was made with Angular, and can be found here.

You can view the changelog here.

Get started

It's easy to get started, just follow the few steps below.

Get the code

You can get the code by either cloning the reposity (which is recommended) or downloading it as a ZIP file.

To clone the repository run the following (you must have Git installed).

git clone https://github.com/bzlist/bzlist.net.git
cd bzlist.net

The latest ZIP file can be found at here.

Install npm packages

npm install

Available Scripts

npm start

Runs the app in the development mode. Open http://localhost:3000 to view it in your browser and the page will live reload when you make edits.

npm run lint

Lints the TypeScript and SCSS files in src.

npm run build

Builds the app for production and outputs it to build. It correctly bundles React in production mode and optimizes the build for the best performance.

License

Licensed under the MIT license.

bzlist.net's People

Contributors

royantar0311 avatar the-noah avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

royantar0311

bzlist.net's Issues

Servers without domains should appear in listings

Describe the bug
Servers which don't have/use domains aren't listed.

To Reproduce
Steps to reproduce the behavior:

  1. View "Public Servers Online"
  2. Search for a public server which does not use a domain.
  3. Find no servers which fit the category.

Expected behavior
Finding servers which do not use a domain if there is any.

Screenshots
N/A

Desktop (please complete the following information):
N/A

Smartphone (please complete the following information):
N/A

Additional context
Basically in short, the list server provides the following info:
domain:port (stuff) ipAddress
domain can also be an IP Address, but in the case that it is, we get matching data, both the "domain" and "ipAddress" are the same. (I may later check to see how it's handled.)

Blank screen while hovering top server due to react error

Describe the bug
On the home page while hovering mouse over the top server "Planet-M...com:4200" the page breaks with several console errors similar to the below (full log here):

Objects are not valid as a React child (found: object with keys {callsign, team, server, timestamp}). If you meant to render a collection of children, use an array instead.

To Reproduce
Steps to reproduce the behavior:

  1. Go to home page
  2. Hover top server

Screenshots
image

Desktop (please complete the following information):

  • OS: Windows 10
  • Browser: Chrome
  • Version: 89.0.4389.128

Country flag images missing

Describe the bug
Country flag images are currently missing as the third-party webserver is currently down. Perhaps they could be hosted locally?

To Reproduce

  1. Go to home page

Expected behavior
Flags should always show

Screenshots
image
image

Favorite button causes navigation on mobile

Describe the bug
If you favorite a server on mobile it causes navigation to the server details page.

To Reproduce
Steps to reproduce the behavior:

  1. Make sure the mobile layout is used (cards)
  2. Favorite any server on the homepage.

Expected behavior
Favoriting a server on mobile shouldn't cause navigation, just like on desktop.

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.