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 Actions
for forms mutation
tRPC
🌐 I18n with next-intl
3
🔐 Auth with next-auth
5, including full OAuth support and basic credentials.
next-auth
with prisma
adapter, so that it is not support Edge environment in api route.argon2
😏 Auto Imports with unplugin-auto-import
and unplugin-icons
Next.js
components, utils, hooks, and icons are auto imported, so that you don't need to import them manually.🛡️ Validation with zod
💎 Database ORM with prisma
PostgreSQL
, MySQL
, SQLite
, SQL Server
, and MongoDB
⚛️ UI with Chakra UI
⚙️ CSS utils library , use UnoCSS
Tailwind CSS
instead.
UnoCSS
is a better choice for Tailwind CSS
, but there are issues blocked the use in webpack
or postcss
, 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 types
bun dev
bun run build
bun start