This is the back-end for https://sky.coflnet.com You can get the same data and play around with it by using this project.
Some endpoints are exposed via REST, see the open-api docs: https://sky.coflnet.com/api
This project uses a kafka server to distribute workloads.
Topics produced are:
sky-newauctionsky-newbidsky-soldauctionsky-canceledauctionsky-endedauctionsky-bazaarpricesky-update-player(players whose names should be updated)sky-updated-player(players who got updated)sky-flipsfound flips, producer: flipper, consumer: light-clients
You can modify them by changing appsettings.json or setting the enviroment variables.
To get a full list check appsettings.json.
Note that to set them as enviroment variables you have to prefix them with TOPICS__ because you can't add : in an env variable.
Example:
To set "MISSING_AUCTION":"sky-canceledauction" you have to set TOPICS__MISSING_AUCTION=mycooltopic
Hello there fellow developer. Development of this project is done with docker-compose. The whole system is split into so called microservices ie multiple smaller projects each doing one thing eg. flip finding.
- Install docker and docker-compose if you are a windows user these come with docker desktop.
- create a new folder
skyblock, enter it and clone this repository withgit clone --depth=1 https://github.com/Coflnet/HypixelSkyblock.git dev - copy
docker-compose.ymlto theskyblockfolder (one folder above) - Open a terminal in the
skyblockfolder and Start up the databases withdocker-compose up -d mariadb phpmyadmin kafka redis - Clone the indexer
git clone https://github.com/Coflnet/SkyIndexer.gitThe indexer is the service that manages and indexes skyblock data in the database. Make sure to modify the migration for first setup in SkyIndexer/Program.cs. - Also clone the updater
git clone https://github.com/Coflnet/SkyUpdater.git, commandsgit clone https://github.com/Coflnet/SkyCommands.gitand the websitegit clone https://github.com/Coflnet/hypixel-react.git - Start these services with
docker-compose up -d indexer updater commands api modcommands frontendafter that is done you have a complete setup to archive and browse auctions locally. - If you want flips you will also want to clone the flipper and/or sniper flip finders
git clone https://github.com/Coflnet/SkyFlipper.git
git clone https://github.com/Coflnet/SkySniper.gitdocker-compose up -d flipper sniperNote that you only need to clone services that have abuildsection. The ones with image are just downloaded.
For basic website functunality you need
- this repo
- SkyCommands
- hypixel-react (frontend)
- SkyUpdater (downloading process)
You update something in SkyCommands. You cloned all repos in the right structure.
Since you only care about the commands service you start all others in the background with: docker-compose up -d indexer updater
Now you build and start commands with docker-compose up --build commands
git clone --depth=1 https://github.com/Coflnet/SkyItems
git clone --depth=1 https://github.com/Coflnet/SkyIndexer
git clone --depth=1 https://github.com/Coflnet/SkyCommands
git clone --depth=1 https://github.com/Coflnet/hypixel-react
git clone --depth=1 https://github.com/Coflnet/SkyApi
git clone --depth=1 https://github.com/Coflnet/SkyBackendForFrontend
git clone --depth=1 https://github.com/Coflnet/SkyFlipper
git clone --depth=1 https://github.com/Coflnet/SkyMcConnect
git clone --depth=1 https://github.com/Coflnet/SkySubscriptions
git clone --depth=1 https://github.com/Coflnet/SkyUpdater
git clone --depth=1 https://github.com/Coflnet/SkyModCommands
git clone --depth=1 https://github.com/Coflnet/SkySettings
git clone --depth=1 https://github.com/Coflnet/SkyPlayerName
git clone --depth=1 https://github.com/Coflnet/SkyFilter
git clone --depth=1 https://github.com/Coflnet/SkyCrafts
git clone --depth=1 https://github.com/Coflnet/SkyFlipTracker