eatmyvenom / HyArcade

Backend for my system for presenting arcade games info
https://hyarcade.xyz
Mozilla Public License 2.0
2 stars 1 forks source link
Logo ## HyArcade ##### Unified system for displaying Hypixel arcade stats

Whats this

About

HyArcade is a easy to use powerful system for displaying all kinds of stats related to arcade games.

The website recieves about 25+ unique visits per day.

The discord bot is verified and is in 100+ servers and growing.

The API is once of the fastest hypixel API middleware systems available.

The whole system is recieving continuous updates and bug fixes.


Features

There are very many features availiable here, these are listed by system scope.

hyarcade.xyz

Arcade Bot

HyArcade API


Tech Stack

Step 2 - Install dependencies ***

yarn install

Step 3 - Configure

In the types/config/ directory there is a schema for each config file i have in the config/ directory.

If you do not want to use this then make sure to set the following environment variables.

# Get this from "/api new" on the hypixel server
HYARCADE_HYPIXEL_KEY

# A password for the sensitive parts of the api
HYARCADE_KEY

# A token to run the discord bot
HYARCADE_DISCORD_TOKEN

# A channel snowflake for logging
HYARCADE_LOG_CHANNEL

# A webhook url
HYARCADE_WEBHOOKV2

# A JSON representation of a webhook
HYARCADE_WEBHOOK

Step 4 - Run the API

This step depends on a mongo server running on the same system

yarn api

Step 5 - Run the Bot

yarn bot

Step 6 - Host website

The website is all really the only not self contained part of this.

To run the website u need to have some other web service hosting a directory on your system. After that all the pages need to be symlinked into that directory. Then all the game pages need to be symlinked by abbreviated name.


* Screenshots here are really images generated by the bot to look like in game screenshots.
** A key is required after a certain amount of uses per minute on a given ip address.
*** This assumes you have nodejs, yarn and all of the libcario dependiences already installed