A full-stack replica of HN using Next.js and AI generated content.
--turbo
Rust compileriad1
/ us-east-1
)iad1
/ us-east-1
)pg_trgm
(iad1
/ us-east-1
)mixtral-8x7b-32kseqlen
as the LLM for generated contentpnpm drizzle-kit push:pg
metadataBase
in app/layout.tsx
to match your target domainvc env pull
to get a .env.local
file with your db credentials.pnpm dev
to start developingdrizzle-kit
:
?sslmode=required
is added to the POSTGRES_URL
env for devpnpm drizzle-kit generate:pg
to generate migrationspnpm drizzle-kit push:pg
to apply themPageSpeed report for Emulated Moto G Power with Lighthouse 11.0.0, Slow 4G Throttling:
💩 The SEO 98
score cannot be 100
without sacrificing stylistic fidelity to the original HN navigation
app/auth.tsx
, Drizzle in app/db.tsx
../components
(exposed as @/components
)components/time-ago.tsx
)
now
prop with a timestamp)CREATE EXTENSION IF NOT EXISTS pg_trgm;
as part of #13USING GIN (title gin_trgm_ops);
as part of #13This project is unique in that it's a full-stack replica of HN, with quite a few features. It'd be great for the community to fill in some important gaps, however:
useOptimistic
/next
implementation after loginMIT