# arsenic

arsenic is an open-source, privacy focused, feature rich, online gaming website built in Node.js.

### Features

* clean and simple UI
* 100+ games
* game filtering
* detailed customization
* stunning wallpapers
* about:blank and tab cloaking
* active status monitoring


# Running locally

You can run arsenic on a local device or server by running the following commands:

```bash
git clone https://github.com/smartfoloo/arsenic.git

cd arsenic

npm i

npm start
```

Or, if you are using a process manager like PM2, for example,

```bash
git clone https://github.com/smartfoloo/arsenic.git

cd arsenic

npm i

pm2 start src/index.js
```


# BYOD

You can use BYOD, or bring your own domain, with arsenic. When creating a record for your domain, just use our server IP `66.179.254.164` with an `A` record.&#x20;


# Hosting Services

To deploy our site using hosting services, simply go to [our repository URL for hosting services](https://github.com/smartfoloo/arsenic-deploy), and click on one of the buttons.


# Contributing

We are welcome to contributions on Github. If you want to contribute to our site, please clone [our repository](https://github.com/smartfoloo/arsenic) and make a pull request.&#x20;

Here are some guidelines for contributions

### Assets

All assets are stored in `/public/assets/`, with folders such as

game images located in `/public/assets/images`

game files located in `/public/assets/games`

### HTML

HTML files are straightforward, with `index.html` being the main file.

### CSS

All css code is located in `/public/css/index.css`, but make sure the code is relatively in order of the elements.

### JS

All JS code is located in `/public/js/system.js`, just make sure all of the code works before submitting a pull request.

### Adding Games

1. Download game files from whatever source you are downloading from.
2. Title the folder the game name with dashes for spaces.
3. Download game logo
4. Title it the game name without any spaces or dashes. (make sure it is in PNG format)
5. Add the game in games.json:&#x20;

```json
{
    "title": "GAME_NAME_WITH_SPACES",
    "id": "GAME_NAME_WITH_DASHES",
    "tags": [
      "TAG_NAMES"
    ]
}
```


