NewJersey123 / radon-games

An open-source unblocked games website built with simplicity in mind.

Home Page:https://radon.games

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

An open-source unblocked games website built with simplicity in mind.

Setup

git clone https://github.com/cohenerickson/radon-games
cd radon-games
npm i
pm2 start server.js -n Radon

The website listens on both port 443 and 80, the reason it listens on both is to fix some issues resolving while using cloudflare.

Configuring Domains

Configure your DNS settings to point to your webserver then run the following command for each of your domains. The server will automatically configure each of them with ssl. This step is unnecessary if you are proxied through cloudflare.

certbot certonly --standalone --preferred-challenges http -d <REPLACE WITH YOUR DOMAIN>

config.json

There are a few configuration options for the website, you can view them below.

{
  "gameProxy": true, // If true, the website will proxy games to the backend server.
  "minify": true, // If true, the website will minify the html.
  "ip": "127.0.0.1", // The ip address of the server.
  "rateLimit": {
    "enabled": false, // If true the server will limit requests to the specified rate.
    "maxRequests": 100, // The maximum number of requests allowed per 'timeWindow'.
    "timeWindow": 60 // The time window in seconds.
  },
  "mailjet": {
    "id": "c5bed272ede42c7b59569c8d51ed5485", // The mailjet API key.
    "key": "de8716cad3d4412fe3522973379a3a27" // The mailjet API secret.
  },
  "emails": {
    "request": "request@example.com", // Email to send game requests to.
    "report": "report@example.com" // Email to send bug reports to.
  }
}

About

An open-source unblocked games website built with simplicity in mind.

https://radon.games

License:GNU General Public License v3.0


Languages

Language:JavaScript 97.4%Language:EJS 2.5%Language:CSS 0.0%