Switch from PostgreSQL to SQLite (modernc.org/sqlite, pure Go) for simpler deployment on the MCP platform. Fix URL normalization to preserve query parameters so sites like YouTube deduplicate correctly. Add Dockerfile, Makefile, and MCP service definition. Add pg2sqlite migration tool. Support $PORT env var for MCP port assignment. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
14 lines
220 B
Makefile
14 lines
220 B
Makefile
all: vet build
|
|
|
|
build:
|
|
go build ./...
|
|
|
|
vet:
|
|
go vet ./...
|
|
|
|
MCR = mcr.svc.mcp.metacircular.net:8443
|
|
VERSION = $(shell git describe --tags --always --dirty)
|
|
|
|
docker:
|
|
docker build -t $(MCR)/kls:$(VERSION) -f Dockerfile .
|