A customizable, open-source alternative to Linktree, allowing users to create a personalized page with multiple links and content blocks.
- Core: Next.js, TypeScript, Prisma, PostgreSQL, NextAuth.js
- UI: Tailwind CSS, shadcn/ui, Lucide React
- Node.js (v18.x or later)
- npm, yarn, or pnpm
- PostgreSQL (or other Prisma-compatible database)
-
clone & install:
git clone <your-repository-url> cd <repository-directory> npm install
-
env variables: Copy
.env.exampleto.envand update it with your database URL, NextAuth secret, etc.cp .env.example .env
Key variables:
DATABASE_URL: PostgreSQL connection string.NEXTAUTH_URL: Base URL (e.g.,http://localhost:3000).NEXTAUTH_SECRET: Generate withopenssl rand -base64 32.
-
db migration:
npx prisma migrate dev
npm run devAccess at http://localhost:3000.