https://github.com/kociumba/skydriver
Bazaar info in your terminal
https://github.com/kociumba/skydriver
cli go skyblock
Last synced: 3 months ago
JSON representation
Bazaar info in your terminal
- Host: GitHub
- URL: https://github.com/kociumba/skydriver
- Owner: kociumba
- License: mit
- Created: 2024-07-29T23:44:14.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-11-15T22:49:58.000Z (about 1 year ago)
- Last Synced: 2025-01-22T01:14:40.351Z (about 1 year ago)
- Topics: cli, go, skyblock
- Language: Go
- Homepage: https://kociumba.github.io/SkyDriver/
- Size: 9.82 MB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# SkyDriver
- [SkyDriver](#skydriver)
- [Features](#features)
- [Usage](#usage)
- [Examples](#examples)
- [FAQ (not actually because this has 0 users π)](#faq-not-actually-because-this-has-0-users-)
SkyDriver is a companion application for Hypixel Skyblock, currently in early development.
## Features
> [!IMPORTANT]
> There is a big update in v0.0.4 with a new prediction algorithm.
> To read more about it go to [notes](notes.md)
> [!WARNING]
> **Do not depend on the predictions.**
> They are purely for providing broad insights into the market.
> Always do your own research before flipping lots of coins.
The primary focus of SkyDriver is on bazaar data and flipping, with plans for future expansion. If you have ideas or suggestions for improvements, please [open an issue](https://github.com/kociumba/SkyDriver/issues/new/choose).
SkyDriver generates a detailed breakdown of bazaar data sourced from the Hypixel API. This data is accessible via a public endpoint, meaning you do not need a Hypixel API key to utilize SkyDriver.
The current output format is as follows:
- Command:
```console
SkyDriver -limit 100000 -sell 100000
```
- Output:
```
βββββββββββββββββββββββββββββββββ¦ββββββββββ¦βββββββββ¦βββββββββββ¦ββββββββββββββββββββββββββββββββ¦βββββββββββββββββββββ
βProduct/price limit: 100000.00 βSellPriceβBuyPriceβDifferenceβ Weekly Trafic βPredicted/Confidenceβ
β ββββββββββββββββββββββββββββββββ¬ββββββββββ¬βββββββββ¬βββββββββββ¬ββββββββββββββββββββββββββββββββ¬βββββββββββββββββββββ£
β1. FINE_AQUAMARINE_GEM β22217.20 β39409.20β17192.00 βSell:317284 | Buy:190413 ββΌ -43.47/100.00% β
β2. ENCHANTED_CAKE β18028.53 β34975.14β16946.61 βSell:102213 | Buy:149330 ββ² 0.32/60.00% β
β3. MAGMA_CREAM_DISTILLATE β4611.41 β16657.69β12046.28 βSell:110370 | Buy:31200 ββΌ -63.92/100.00% β
β4. HAMSTER_WHEEL β59745.58 β68212.58β8466.99 βSell:432596 | Buy:429592 ββΌ -57.53/100.00% β
β5. GLACITE_JEWEL β44873.70 β53025.92β8152.22 βSell:199886 | Buy:122002 ββΌ -12.57/80.00% β
β6. GOBLIN_EGG_YELLOW β2503.59 β9990.90 β7487.31 βSell:112769 | Buy:74976 ββΌ -70.28/100.00% β
β7. FOUL_FLESH β27898.44 β34999.35β7100.91 βSell:337081 | Buy:301615 ββΌ -58.41/100.00% β
β8. ENCHANTMENT_REJUVENATE_1 β19854.46 β26949.95β7095.49 βSell:317132 | Buy:35152 ββΌ -59.01/100.00% β
β9. ENCHANTED_GLOWSTONE β51016.56 β56943.24β5926.68 βSell:167883 | Buy:147181 ββ² 17.95/40.00% β
β10. FINE_PERIDOT_GEM β42509.63 β48399.20β5889.57 βSell:644392 | Buy:749316 ββΌ -37.09/80.00% β
βββββββββββββββββββββββββββββββββ©ββββββββββ©βββββββββ©βββββββββββ©ββββββββββββββββββββββββββββββββ©βββββββββββββββββββββ
```
## Usage
To use SkyDriver, download the latest release from [releases](https://github.com/kociumba/SkyDriver/releases).
> [!TIP]
> If you have the latest version of [go](https://golang.org/doc/install) installed, you can run `go install -ldflags="-s -w" github.com/kociumba/SkyDriver` to install SkyDriver and automatically add it to path.
>
> On windows the built binary will lack an icon and any other typical data when istalled this way.
You can run SkyDriver to retrieve a list of the 10 products with the highest price differences, or use the `-limit` option to filter items within your flipping budget.
Use the `-sell` option followed by the number of sales per week to filter out items with fewer sales than specified.
**New in v0.0.4**
The `-search` option allows you to search for items by part of their name. For example, searching for flawless will include all items with "flawless" in their name. To display a specific number of items, use the `-max` flag to set the maximum number of items to display.
With the release of v0.0.4, you can now set these flags in the cli interface.
If a value of the arguments is not passed, SkyDriver will prompt you to enter it in.
This can be skipped by just leaving the prompts blank or passing the `-skip` flag.
**New in v0.0.6**
You can now use the `-json` flag to export results in JSON in this [schema](api/schema.json). This is all of the data shown in the normal table output.
The output is in a human readable format and ready for processing in tools like [jq](https://stedolan.github.io/jq/).
> [!TIP]
> The `-json` flag disables the prompts so you will have to set the parameters using other flags.
**New in v0.0.7**
The prediction output now uses smoothing functions to normalize the values. You can now choose between different smoothing functions using the `-smooth` flag:
- `none`: Raw values without modification *(Skydriver experience before v0.0.7)*
- `sigmoid`: Sigmoid function *(The default if no -smooth flag is passed in, seemd to give the best results)*
- `tanh`: Hyperbolic tangent function
- `saturating`: Saturating linear function
- `piecewise`: Piecewise smoothing function
All smoothing functions are documented in detail in [notes.md](notes.md).
**New in v0.0.8**
The app now uses a configuration file to store the prediction weights. The file is located in `~/.skydriver/config.toml` *That is `C:\Users\\.skydriver\config.toml` for windows users*. Right now only the wights for the prediction are configurable but there are plans to add more, like for example themes.
## Examples
```console
SkyDriver -search flawless -max 100
```
This command will display up to 100 items that contain the word "flawless" in their name.
```console
SkyDriver -json -search flawless -max 100 | jq '.results | length'
```
This command will pipe the output from SkyDriver into jq and return the number of search results found on the bazaar.
```console
SkyDriver -limit 10000000 -sell 100000 -max 100
```
This command will display the top 100 items that have more than 100,000 sales per week and a sell price below 10,000,000.
> [!NOTE]
> SkyDriver filters items that have less than 100 buy and sell price, as well as items that are sold less than 10 times a week.
>
> This behaviour is turned off when searching and only items with 0 sell price and 0 buy price are filtered.
Pro tip π
> [!TIP]
> Run `SkyDriver -max 10000000` to show a very long table of all the items on the bazaar.
## FAQ (not actually because this has 0 users π)
**Q:** Why?
**A:** I enjoy command line interfaces, and retrieving data this way feels more intuitive to me. π
**Q:** Why not create a mod?
**A:** I am most familiar with Go, and the Java ecosystem is a shithole (my condolences to all java devs out there π).
**Q:** How do I [blank]?
**A:** If you are having trouble with using SkyDriver, read any
resource out there on cli apps and if you get past opening the app and your issues persists,
please [open an issue](https://github.com/kociumba/SkyDriver/issues/new/choose)
**Q:** What is the prediction?
**A:** The prediction comes from data collected through the bazaar API and helps you figure out if flipping an item will be profitable. If the prediction is positive, it means you're likely to make a profit; if it's negative, it's probably not worth it. The bigger the number, the higher the expected profit. Confidence shows how many of the seven internal indicators agree on whether the item will be profitable or not. For more info, check out the [model](notes.md)
> [!CAUTION]
> This model was made by me (a dumbass) and you should not soly rely on it.
> If you loose all your coins because you bet on something SkyDriver said was going to be profitable, that's on you.