A lightweight and modern paste bin and url shortener.
😋 Next.js 14 with App Directory support
RSC(React Server Component) for global state hold and data fetchingReact Server Actionsfor forms mutation- A React style full stack solution, a alternative to
tRPC
- A React style full stack solution, a alternative to
🌐 I18n with next-intl 3
🔐 Auth with next-auth 5, including full OAuth support and basic credentials.
next-authwithprismaadapter, so that it is not support Edge environment in api route.- Credentials password hashed with
argon2
😏 Auto Imports with unplugin-auto-import and unplugin-icons
- Necessary
Next.jscomponents, utils, hooks, and icons are auto imported, so that you don't need to import them manually.
🛡️ Validation with zod
💎 Database ORM with prisma
- Upcoming multi-drivers support, including
PostgreSQL,MySQL,SQLite,SQL Server, andMongoDB
⚛️ UI with Chakra UI
⚙️ CSS utils library , use UnoCSSTailwind CSS instead.
UnoCSSis a better choice forTailwind CSS, but there are issues blocked the use inwebpackorpostcss, waiting for the fix.
🪛 Hooks library, provided by react-use and ahooks
📦 Package management with bun
⚡ Syntax highlight with shikiji
🧿 Environment variables providing and validating with @t3-oss/env
🌈 TypeScript native support
👮♂️ Lints and CI process with husky and lint-staged, checking via eslint, tsc, prettier, and stylelint
You should define database related environment variables in .env.local file before running the app.
It is required by prisma to generate database schema and types.
bun i # Install dependencies and generate database schema and typesbun devbun run buildbun start