Skip to content

Commit 56365f0

Browse files
sysoclaude
andcommitted
feat: v2 admin UI overhaul, API tokens, branding, Swagger docs
Major changes: - Fix all frontend-backend API contract mismatches (URLs, field names, methods) - Add Bearer token auth (create/revoke tokens in admin, Authorization: Bearer ti_...) - Add full branding system (logo upload, site name, accent color picker, markdown landing page) - Add Swagger UI at /api/docs with complete OpenAPI 3.0 spec - Add AutoDJ edit button, Studio mount selector, Go Live audio permission flow - Add dashboard inbound+outbound bandwidth, GoLive headroom meters (dB) - Fix streams page to show configured-but-offline mounts - Remove CSRF requirement for JSON API requests - Add proper markdown parser (marked) for landing page content - Add go:generate for automatic frontend builds - Add Makefile (make build, make quick, make dev) - Update README with all new features, API examples, Bearer auth docs Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 675f594 commit 56365f0

69 files changed

Lines changed: 4315 additions & 752 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

Makefile

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
.PHONY: build generate dev clean
2+
3+
# Full build: rebuild frontend + compile Go binary
4+
build: generate
5+
go build -o tinyice .
6+
7+
# Rebuild frontend assets via go generate
8+
generate:
9+
go generate ./server/...
10+
11+
# Quick build: Go only (skip frontend rebuild)
12+
quick:
13+
go build -o tinyice .
14+
15+
# Dev: run frontend dev server
16+
dev:
17+
cd server/frontend && npm run dev
18+
19+
clean:
20+
rm -f tinyice
21+
rm -rf server/frontend/dist

README.md

Lines changed: 179 additions & 234 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)