AltSky is a SkyBlock profile viewer with a Django/DRF backend, a Go stats calculator, and a SvelteKit frontend.
- Backend: Django + DRF + Celery
- Stats calculator: Go service in
backend/statscalc - Frontend: SvelteKit (Vite)
- Infra: Docker Compose (Postgres, Nginx, Cloudflared)
- Copy
.env.exampleto.envand setHYPIXEL_API_KEY. - Run
setup.ps1(installs deps, migrates DB, collects static assets). - Run
run_server.ps1.
The default local endpoints are:
- Backend:
http://localhost:8000 - Frontend preview:
http://localhost:4173
Manual run (no PowerShell scripts):
cd backend
pip install -r requirements.txt
python manage.py migrate
python manage.py runserver 0.0.0.0:8000
cd ../frontend
npm install
npm run devOptional stats calculator:
cd backend/statscalc
go run ./cmd/statscalc -data ./data -addr :8082Copy-Item .env.docker backend/.env
docker-compose up -d
docker-compose exec backend python manage.py migrateOptional Cloudflare Tunnel:
$env:CLOUDFLARED_TOKEN="your-cloudflare-tunnel-token"
docker-compose --profile tunnel up -d cloudflaredService endpoints:
- Nginx:
http://localhost:8080 - API:
http://localhost:8000/api/ - Admin:
http://localhost:8000/admin/
Main env vars (see .env.example and .env.docker):
DJANGO_SECRETHYPIXEL_API_KEYDB_PASSWORD(Docker)VITE_API_BASE(frontend API base URL)
Docker Compose optional:
CLOUDFLARED_TOKEN(only if you enable thetunnelprofile)
DOCKER_GUIDE_KO.mdDEPLOYMENT_GUIDE_KO.mdSTATS_EXPANSION_SUMMARY.mdops/cloudflare/README.md(Cloudflare Tunnel for external testing)
MIT