Giter Club home page Giter Club logo

radon-games's Introduction

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": "[email protected]", // Email to send game requests to.
    "report": "[email protected]" // Email to send bug reports to.
  }
}

radon-games's People

Contributors

cohenerickson 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.