mirror of
https://github.com/vee1e/subidx.git
synced 2026-09-02 02:07:13 +00:00
- Embedded Svelte dashboard: search, virtualized results, filter, sort, dates, export, rate budget meter, streaming NDJSON search - Live feed: SSE /v1/feed, delta polling /v1/watch, x-max-seq cursor, ingest hook and subscriber hub, store mutex fix so reads never starve behind ingest backlog - gzip middleware, /v1/stats with cache and bounded top-k - CORS allow-list flag for split frontend deployments - Dockerfile + render.yaml + vercel.json, serve gains -no-drain
21 lines
429 B
Makefile
21 lines
429 B
Makefile
.PHONY: all ui build test vet serve dev clean
|
|
|
|
all: build
|
|
|
|
# Rebuild the dashboard UI (output is committed at internal/web/dist).
|
|
ui:
|
|
cd internal/web && npm ci && npm run build
|
|
|
|
build: go build -o subidx .
|
|
|
|
test: go test -race -count=1 ./...
|
|
|
|
vet: go vet ./...
|
|
|
|
serve: go run . serve -store ./data -addr 127.0.0.1:8099
|
|
|
|
dev:
|
|
cd internal/web && SUBIDX_API=$${SUBIDX_API:-http://127.0.0.1:8080} npm run dev
|
|
|
|
clean:
|
|
rm -f subidx
|