Initial lookbook implementation
Pinterest-style visual bookmarking app with: - URL metadata extraction (OG/Twitter meta, oEmbed fallback) - Image caching in Postgres with 480px thumbnails - Multi-tag filtering with Ctrl/Cmd for OR mode - Fuzzy tag suggestions and inline tag editing - Browser console auth() with first-use password setup - Brutalist UI with Commit Mono font and Pico CSS - Light/dark mode via browser preference
This commit is contained in:
commit
fc625fb9cf
486 changed files with 195373 additions and 0 deletions
26
Makefile
Normal file
26
Makefile
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
APP := ./cmd/server
|
||||
VERSION := $(shell git rev-parse --short HEAD 2>/dev/null || echo "dev")
|
||||
LDFLAGS := -X git.soup.land/soup/lookbook/internal/static.Version=$(VERSION)
|
||||
|
||||
.PHONY: dev run migrate rollback fmt test build
|
||||
|
||||
dev:
|
||||
hivemind
|
||||
|
||||
run:
|
||||
go run $(APP) web
|
||||
|
||||
migrate:
|
||||
go run $(APP) -migrate
|
||||
|
||||
rollback:
|
||||
go run $(APP) -rollback
|
||||
|
||||
fmt:
|
||||
go fmt ./...
|
||||
|
||||
test:
|
||||
go test -v ./...
|
||||
|
||||
build:
|
||||
CGO_ENABLED=0 go build -ldflags "$(LDFLAGS)" -o bin/lookbook $(APP)
|
||||
Loading…
Add table
Add a link
Reference in a new issue