- Next.js
- Tailwind CSS
- Shadcn UI
- Lucide Icons
- Drizzle ORM
- Turso
- SQLite
- BetterAuth
- Create short links (KURZ)
- Share links with your friends
- Expire links after a certain time
- Create texts and share them with your friends
- Syntax highlighting
- Node.js 22+
- A Turso account
- Clone the repository
git clone https://github.com/derlesh/kurz.git
- Install dependencies
npm install
- Create a
.env
file and set the environment variables
BETTER_AUTH_SECRET= # Can be generated with `npx better-auth@latest secret`
BETTER_AUTH_URL=
TURSO_DATABASE_URL=
TURSO_AUTH_TOKEN=
GH_CLIENT_ID=
GH_CLIENT_SECRET=
NEXT_PUBLIC_APP_URL=
- Generate the database schema
npm run db:push
- Run the development server
npm run dev
I've planned to do something like this for a while now. I've wanted a better way to share texts with friends. After I've found slug I had the motivation to start this project. The project now has an URL shortening feature which I didn't have in mind when I started.
So thank you slug for the inspiration!