tsu-stack
tsu-stack copied to clipboard
Vite+ (vp) TanStack Start monorepo with shadcn/ui, Paraglide.js (i18n), Hono, oRPC, drizzle-orm, better-auth, Feature-Sliced Design (FSD), and more. Dockerized and opinionated.
# Problem The template is meant to be the starting point of real applications, and a few defaults that every production app ends up needing are missing. None of these...
## Problem The Docker and Coolify build paths currently pass `DATABASE_URL` and `BETTER_AUTH_SECRET` as build arguments, and the web builder promotes them to environment variables. Even though the final runtime...
## Problem The stack applies baseline security headers but intentionally does not enforce Content Security Policy yet. A useful strict CSP requires request-scoped nonces for the inline theme bootstrap and...
# Bug Description Four related problems in `apps/server/src/index.ts`, found while running the real Hono app against a local Postgres: 1. **`ENABLE_OPEN_API_DOCS=false` (the default) does not disable the API reference.** `GET...
# Bug Description The Docker Compose files expose the database and let a deployment start with credentials that everybody knows: - `docker-compose.yaml` and `packages/db/docker-compose.dev.yaml` publish Postgres as `"${POSTGRES_PORT:-5432}:5432"` (resp. `"5432:5432"`),...
# Bug Description `POST /_logs/ingest` (`honoLogIngestionMiddleware` in `@tsu-stack/logger`) receives the browser logs. It is unauthenticated by design, which makes its limits the only protection, and they are weaker than they...
# Bug Description On `variant/merged-cloudflare` and `variant/merged-cloudflare-d1` (I verified both) a deployed Worker has no `NODE_ENV`: Workers do not define it at runtime, `wrangler.jsonc` declares no `vars`, and `secrets.required` only...
# Problem Four places where code that nobody reviewed can run with access to secrets or to the release pipeline, plus some repository settings. None of them is exploited today...
# Bug Description Three small robustness problems in `tools/create-tsu-stack`: 1. **The display name is not escaped for the file it is written into.** `--display-name` (free text) is substituted into JSON...
# Bug Description `.agents/logging.md` says request logs must not contain "Query strings, because they can contain tokens or emails" and "arbitrary query params". The TanStack Start request middleware in `@tsu-stack/logger`...