Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
56 commits
Select commit Hold shift + click to select a range
b8c4920
Add gtihub pipeline
MartinNemi03 Sep 5, 2025
e628025
feat(dev): added conn pool with sync.RWMutex
WarpWing Sep 6, 2025
43d32c7
exp: try disabling prefork mode
MartinNemi03 Sep 11, 2025
a409e9a
refactor: small changes, wiki links & resource pack links
DuckySoLucky Sep 15, 2025
a45798f
fix: warp's sill issue
DuckySoLucky Sep 15, 2025
4188b29
Merge pull request #1 from WarpWing/patch-1
DuckySoLucky Sep 15, 2025
4b18779
refactor: small changes to the nw calc and types
DuckySoLucky Sep 16, 2025
eec6f62
refactor: enable prefork, do not copy deps
DuckySoLucky Sep 17, 2025
fbbb5c7
fix: uncomment this since my wifi works fine now-
DuckySoLucky Sep 22, 2025
882cdd4
fix: gh actions
DuckySoLucky Sep 22, 2025
d901acf
refactor: change the way we pass in URLs
DuckySoLucky Sep 23, 2025
7d513e9
wth was i doing here?
DuckySoLucky Sep 23, 2025
40292b1
fix: resource packs
DuckySoLucky Sep 23, 2025
60addf3
fix: yes
DuckySoLucky Sep 23, 2025
385185a
yes
DuckySoLucky Sep 23, 2025
eb29dc6
fix: leather endpoint
DuckySoLucky Sep 23, 2025
eec1cfa
fix: potions
DuckySoLucky Sep 23, 2025
b95ec66
feat: yes
DuckySoLucky Sep 24, 2025
b2bc858
fix: it's not localhost anymore
DuckySoLucky Sep 24, 2025
8acefd2
refactor: implement cache into base64 decoding
DuckySoLucky Sep 24, 2025
6f9542f
feat: bump sh-nw
DuckySoLucky Sep 24, 2025
f1fca96
fix: bump sh-nw again cuz I forgot to push-
DuckySoLucky Sep 24, 2025
e195c62
fix: garden images, and some other fixes
DuckySoLucky Sep 24, 2025
81730c1
fix: fix discord embed, equipment and nw errors
DuckySoLucky Sep 24, 2025
7b243f4
refactor: enable embed
DuckySoLucky Sep 24, 2025
b7dc721
feat: improve embed endpoint
DuckySoLucky Sep 24, 2025
79fcb41
feat: add the most scuffed players stats implementation, cba to do it…
DuckySoLucky Sep 25, 2025
aaf4989
fix: we need only these two
DuckySoLucky Sep 25, 2025
a75edb0
fix: remove /api/items/ endpoint and add logs for /api/item
DuckySoLucky Sep 25, 2025
e4a5a40
feat: deez nuts
DuckySoLucky Sep 25, 2025
22caa5b
perf: instead of fetching on server, redirect user
DuckySoLucky Sep 25, 2025
eadc917
feat: bump sh-nw
DuckySoLucky Sep 25, 2025
66650cb
feat: add swagger/scalar docs support, bump sh-nw
DuckySoLucky Sep 26, 2025
8e986a8
fix: errors, fairy souls count on ironman
DuckySoLucky Sep 30, 2025
96d0aaf
fix: potion textures
DuckySoLucky Sep 30, 2025
4810ae4
fix: bug fixes
DuckySoLucky Sep 30, 2025
692377f
fix: enable back cache
DuckySoLucky Sep 30, 2025
04aed3a
fix: remove print msg
DuckySoLucky Sep 30, 2025
a086a2e
fix: minor bugs
DuckySoLucky Oct 1, 2025
dd39c5f
feat: bump sh-nw
DuckySoLucky Oct 4, 2025
fdb8d6e
fix: undefined playerData, perf: fetch prices & items on startup
DuckySoLucky Oct 5, 2025
0e47271
feat: add item value, add prices to misssing accessories and few fixes
DuckySoLucky Oct 8, 2025
66ee0fe
fix: remove unused
DuckySoLucky Oct 8, 2025
10c4e2e
perf: bump sh-nw
DuckySoLucky Oct 9, 2025
11d1e2d
fix: skill issue
DuckySoLucky Oct 10, 2025
db5ff25
feat: bump openapi
DuckySoLucky Oct 11, 2025
fb495cc
fix: invalid pet data in profiel
DuckySoLucky Oct 12, 2025
6d829b0
feat: add option to disable furfsky pack, query param for now
DuckySoLucky Oct 13, 2025
a341fce
feat: add check for cookies
DuckySoLucky Oct 13, 2025
7d9e5e3
feat: add cookie support, use queries in dev
DuckySoLucky Oct 13, 2025
dc4dab0
feat: add docs to dockerfile
DuckySoLucky Oct 13, 2025
1d22d00
feat: add HYPIXEL_PLUS resource pack, multi pack support, few fixes
DuckySoLucky Oct 16, 2025
4f8f304
feat: add resourcepacks to openapi
DuckySoLucky Oct 16, 2025
a017795
feat: yes
DuckySoLucky Oct 18, 2025
121aa9d
fix: remove debug
DuckySoLucky Oct 18, 2025
242b7f0
Add CodeQL to pipeline
MartinNemi03 Oct 18, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
3 changes: 2 additions & 1 deletion .env.example
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
HYPIXEL_API_KEY=""
DISCORD_WEBHOOK=""
DEV="true"
DEV="true"
ENABLE_ARMOR_HEX="false"
102 changes: 102 additions & 0 deletions .github/workflows/website.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,102 @@
name: Website

on:
push:
paths: ["src/**", "Dockerfile", ".github/workflows/website.yml"]
workflow_dispatch:

env:
CONTAINER_REGISTRY: ghcr.io
IMAGE_NAME: ${{ github.repository }}

jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
if: |
(github.ref == 'refs/heads/prod' || github.ref == 'refs/heads/dev')
&& github.repository_owner == 'SkyCryptWebsite'
&& github.event_name != 'pull_request'

permissions:
security-events: write

steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Initialize CodeQL
uses: github/codeql-action/init@v3
with:
languages: go

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3

build:
name: Go Build
runs-on: ubuntu-latest
if: |
(github.ref == 'refs/heads/prod' || github.ref == 'refs/heads/dev')
&& github.repository_owner == 'SkyCryptWebsite'
&& github.event_name != 'pull_request'

steps:
- name: Git checkout
uses: actions/checkout@v4

- name: Clone NotEnoughUpdates-REPO
uses: actions/checkout@v4
with:
repository: NotEnoughUpdates/NotEnoughUpdates-REPO
path: NotEnoughUpdates-REPO/
token: ${{ secrets.GITHUB_TOKEN }}

- name: Go Setup
uses: actions/setup-go@v6
with:
go-version: '1.25'

- name: Install packages
run: go mod download

- name: Build
run: go build -v ./...

package:
name: Package into Container
runs-on: ubuntu-latest
needs: [analyze, build]
if: |
(github.ref == 'refs/heads/prod' || github.ref == 'refs/heads/dev')
&& github.repository_owner == 'SkyCryptWebsite'
&& github.event_name != 'pull_request'

permissions:
packages: write
contents: read

steps:
- name: Git checkout
uses: actions/checkout@v4

- name: Registry login
uses: docker/login-action@v3
with:
registry: ${{ env.CONTAINER_REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Extract metadata
id: meta
uses: docker/metadata-action@v5
with:
images: ${{ env.CONTAINER_REGISTRY }}/${{ env.IMAGE_NAME }}

- name: Build and Push
uses: docker/build-push-action@v6
with:
context: .
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
7 changes: 6 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,12 +1,16 @@
# Build stage
FROM golang:1.24-alpine AS builder
FROM golang:1.25-alpine AS builder

# Install git for dependency management and ca-certificates for HTTPS requests
RUN apk add --no-cache git ca-certificates

# Set working directory
WORKDIR /app

# Copy local dependencies first
# COPY SkyCrypt-Types/ ../SkyCrypt-Types/
# COPY SkyHelper-Networth-Go/ ../SkyHelper-Networth-Go/

# Copy go mod files
COPY go.mod go.sum ./

Expand Down Expand Up @@ -34,6 +38,7 @@ COPY --from=builder /app/main .
# Copy assets and other necessary files
COPY --from=builder /app/assets ./assets
COPY --from=builder /app/NotEnoughUpdates-REPO ./NotEnoughUpdates-REPO
COPY --from=builder /app/docs ./docs

# Expose port
EXPOSE 8080
Expand Down
2 changes: 1 addition & 1 deletion NotEnoughUpdates-REPO
7 changes: 7 additions & 0 deletions assets/resourcepacks/FurfSky/config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"id": "FURFSKY_REBORN",
"name": "FurfSky Reborn",
"version": "v1.9.0",
"author": "The Reborn Team",
"url": "https://furfsky.net/"
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"animation":{"frames":[0,1,2,1],"frametime":20,"interpolate":true}}
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"animation":{"frametime":30,"interpolate":true}}
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"animation":{"frametime":20,"interpolate":true}}
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"animation":{"frametime":30,"interpolate":true}}
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"animation":{"frametime":30,"interpolate":true}}
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"animation":{"frametime":30,"interpolate":true}}
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"animation":{"frames":[0,1],"frametime":45,"interpolate":true}}
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"animation":{"frames":[0,1],"frametime":45,"interpolate":true}}
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"animation":{"frames":[0,1],"frametime":45,"interpolate":true}}
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"animation":{"frames":[0,1],"frametime":45,"interpolate":true}}
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"animation":{"frames":[0,1],"frametime":45,"interpolate":true}}
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"animation":{"frames":[0,1],"frametime":45,"interpolate":true}}
Loading
Loading