
I built an open-source encyclopedia of psychoactive substances with Next.js 16
Substance information is fragmented. You need PsychonautWiki for pharmacology, TripSit for interaction charts, Erowid for experience reports, Reddit for community knowledge. I got tired of having 15 tabs open, so I built SubstanceWiki — a single, interconnected reference where everything links to everything. Live site: substancewiki.org Source: github.com/yagcioglutoprak/substance_wiki The numbers 381 substance profiles with dosage guides and duration timelines 14,967 drug interaction safety ratings 240+ catalogued subjective effects 2,745 experience reports 11,698 effect-substance combination pages ~15,000 total pages generated Tech stack Next.js 16 with App Router and Turbopack PostgreSQL via Prisma (11 models) Tailwind CSS + shadcn/ui Vercel for hosting @vercel/og for dynamic OG images Architectural decisions worth sharing 1. Pre-computed interactions, not runtime calculation The interaction checker covers 14,967 substance combinations. Each pair has a safety rating (Safe, Low Risk,
Continue reading on Dev.to Webdev
Opens in a new tab



