mirror of
https://github.com/kyledickey/portfolio.git
synced 2026-10-31 09:05:31 +00:00
My portfolio v11 (and counting)
https://kyle.so
- TypeScript 80.6%
- CSS 9.7%
- Go 8.8%
- HTML 0.4%
- Dockerfile 0.2%
- Other 0.2%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
|
|
||
| .github/workflows | ||
| .vscode | ||
| cmd | ||
| internal | ||
| public | ||
| scripts | ||
| src | ||
| .cta.json | ||
| .dockerignore | ||
| .env.example | ||
| .gitignore | ||
| biome.json | ||
| bun.lock | ||
| Dockerfile | ||
| go.mod | ||
| go.sum | ||
| index.html | ||
| Makefile | ||
| package.json | ||
| railway.json | ||
| README.md | ||
| tsconfig.json | ||
| vite.config.ts | ||
Portfolio v11
kyle.so, a React site served by a Go (gin) server.
bun install
cp .env.example .env
make dev
make dev runs Vite on port 3000 with hot reload, and proxies /cover and
/api to the Go server on PORT. make serve builds everything and runs the
production binary, which serves the site itself. Run make test before
committing.
The build prerenders each page to HTML (scripts/prerender.ts), so the Go
server only serves files: index.html at /, 404.html for unknown paths.
cmd/main.gowires the server together from.envconfig.internal/holds the server packages:config,logging,middleware,server,site(the built frontend),cover(album art proxy), andapi(JSON endpoints under/api).src/pagesholds page composition,src/componentsinteractive UI, andsrc/libproject/film data, pixel drawing, and print patterns.
Dockerfile builds the image Railway deploys.